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
f4d160e0
Commit
f4d160e0
authored
Apr 20, 2007
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
d81a843e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
Query.php
lib/Doctrine/Query.php
+2
-0
Table.php
lib/Doctrine/Table.php
+7
-7
No files found.
lib/Doctrine/Query.php
View file @
f4d160e0
...
...
@@ -543,6 +543,8 @@ class Doctrine_Query extends Doctrine_Hydrate implements Countable {
}
else
{
$this
->
params
[]
=
$params
;
}
return
$this
;
}
/**
* addSelect
...
...
lib/Doctrine/Table.php
View file @
f4d160e0
...
...
@@ -616,14 +616,14 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
/**
* @return mixed
*/
final
public
function
getIdentifier
()
public
function
getIdentifier
()
{
return
$this
->
identifier
;
}
/**
* @return integer
*/
final
public
function
getIdentifierType
()
public
function
getIdentifierType
()
{
return
$this
->
identifierType
;
}
...
...
@@ -631,7 +631,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
* hasColumn
* @return boolean
*/
final
public
function
hasColumn
(
$name
)
public
function
hasColumn
(
$name
)
{
return
isset
(
$this
->
columns
[
$name
]);
}
...
...
@@ -639,7 +639,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
* @param mixed $key
* @return void
*/
final
public
function
setPrimaryKey
(
$key
)
public
function
setPrimaryKey
(
$key
)
{
switch
(
gettype
(
$key
))
{
case
"array"
:
...
...
@@ -654,14 +654,14 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
* returns all primary keys
* @return array
*/
final
public
function
getPrimaryKeys
()
public
function
getPrimaryKeys
()
{
return
$this
->
primaryKeys
;
}
/**
* @return boolean
*/
final
public
function
hasPrimaryKey
(
$key
)
public
function
hasPrimaryKey
(
$key
)
{
return
in_array
(
$key
,
$this
->
primaryKeys
);
}
...
...
@@ -818,7 +818,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
* hasRelatedComponent
* @return boolean
*/
final
public
function
hasRelatedComponent
(
$name
,
$component
)
public
function
hasRelatedComponent
(
$name
,
$component
)
{
return
(
strpos
(
$this
->
bound
[
$name
][
'field'
],
$component
.
'.'
)
!==
false
);
}
...
...
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