Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
6ea281f1
Commit
6ea281f1
authored
Jun 10, 2007
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed E_STRICT issues
parent
6d8003c3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
Mock.php
lib/Doctrine/Adapter/Mock.php
+2
-0
Oracle.php
lib/Doctrine/Export/Oracle.php
+1
-1
Mssql.php
lib/Doctrine/Expression/Mssql.php
+1
-1
Firebird.php
lib/Doctrine/Import/Firebird.php
+3
-3
No files found.
lib/Doctrine/Adapter/Mock.php
View file @
6ea281f1
...
@@ -157,4 +157,6 @@ class Doctrine_Adapter_Mock implements Doctrine_Adapter_Interface, Countable
...
@@ -157,4 +157,6 @@ class Doctrine_Adapter_Mock implements Doctrine_Adapter_Interface, Countable
{
{
}
}
public
function
sqliteCreateFunction
()
{
}
}
}
lib/Doctrine/Export/Oracle.php
View file @
6ea281f1
...
@@ -203,7 +203,7 @@ END;
...
@@ -203,7 +203,7 @@ END;
*
*
* @return void
* @return void
*/
*/
public
function
createTable
(
$name
,
$fields
,
$options
=
array
())
public
function
createTable
(
$name
,
array
$fields
,
array
$options
=
array
())
{
{
$this
->
conn
->
beginTransaction
();
$this
->
conn
->
beginTransaction
();
...
...
lib/Doctrine/Expression/Mssql.php
View file @
6ea281f1
...
@@ -72,7 +72,7 @@ class Doctrine_Expression_Mssql extends Doctrine_Expression
...
@@ -72,7 +72,7 @@ class Doctrine_Expression_Mssql extends Doctrine_Expression
* @param string $values...
* @param string $values...
* @return string to concatenate two strings
* @return string to concatenate two strings
*/
*/
public
function
concat
(
$arg1
,
$arg2
)
public
function
concat
()
{
{
$args
=
func_get_args
();
$args
=
func_get_args
();
return
'('
.
implode
(
' + '
,
$args
)
.
')'
;
return
'('
.
implode
(
' + '
,
$args
)
.
')'
;
...
...
lib/Doctrine/Import/Firebird.php
View file @
6ea281f1
...
@@ -37,7 +37,7 @@ class Doctrine_Import_Firebird extends Doctrine_Import
...
@@ -37,7 +37,7 @@ class Doctrine_Import_Firebird extends Doctrine_Import
*
*
* @return array data array
* @return array data array
*/
*/
public
function
listTables
()
public
function
listTables
(
$database
=
null
)
{
{
$query
=
'SELECT RDB$RELATION_NAME FROM RDB$RELATIONS WHERE RDB$SYSTEM_FLAG=0 AND RDB$VIEW_BLR IS NULL'
;
$query
=
'SELECT RDB$RELATION_NAME FROM RDB$RELATIONS WHERE RDB$SYSTEM_FLAG=0 AND RDB$VIEW_BLR IS NULL'
;
...
@@ -71,7 +71,7 @@ class Doctrine_Import_Firebird extends Doctrine_Import
...
@@ -71,7 +71,7 @@ class Doctrine_Import_Firebird extends Doctrine_Import
*
*
* @return array data array containing all database views
* @return array data array containing all database views
*/
*/
public
function
listViews
()
public
function
listViews
(
$database
=
null
)
{
{
return
$this
->
conn
->
fetchColumn
(
'SELECT DISTINCT RDB$VIEW_NAME FROM RDB$VIEW_RELATIONS'
);
return
$this
->
conn
->
fetchColumn
(
'SELECT DISTINCT RDB$VIEW_NAME FROM RDB$VIEW_RELATIONS'
);
}
}
...
@@ -108,7 +108,7 @@ class Doctrine_Import_Firebird extends Doctrine_Import
...
@@ -108,7 +108,7 @@ class Doctrine_Import_Firebird extends Doctrine_Import
* previous database to query against.
* previous database to query against.
* @return array data array containing all triggers for given table
* @return array data array containing all triggers for given table
*/
*/
public
function
listTableTriggers
(
$table
=
null
)
public
function
listTableTriggers
(
$table
)
{
{
$query
=
'SELECT RDB$TRIGGER_NAME FROM RDB$TRIGGERS WHERE RDB$SYSTEM_FLAG IS NULL OR RDB$SYSTEM_FLAG = 0'
;
$query
=
'SELECT RDB$TRIGGER_NAME FROM RDB$TRIGGERS WHERE RDB$SYSTEM_FLAG IS NULL OR RDB$SYSTEM_FLAG = 0'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment