Commit f4d160e0 authored by zYne's avatar zYne

--no commit message

--no commit message
parent d81a843e
...@@ -543,6 +543,8 @@ class Doctrine_Query extends Doctrine_Hydrate implements Countable { ...@@ -543,6 +543,8 @@ class Doctrine_Query extends Doctrine_Hydrate implements Countable {
} else { } else {
$this->params[] = $params; $this->params[] = $params;
} }
return $this;
} }
/** /**
* addSelect * addSelect
......
...@@ -616,14 +616,14 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable ...@@ -616,14 +616,14 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
/** /**
* @return mixed * @return mixed
*/ */
final public function getIdentifier() public function getIdentifier()
{ {
return $this->identifier; return $this->identifier;
} }
/** /**
* @return integer * @return integer
*/ */
final public function getIdentifierType() public function getIdentifierType()
{ {
return $this->identifierType; return $this->identifierType;
} }
...@@ -631,7 +631,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable ...@@ -631,7 +631,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
* hasColumn * hasColumn
* @return boolean * @return boolean
*/ */
final public function hasColumn($name) public function hasColumn($name)
{ {
return isset($this->columns[$name]); return isset($this->columns[$name]);
} }
...@@ -639,7 +639,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable ...@@ -639,7 +639,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
* @param mixed $key * @param mixed $key
* @return void * @return void
*/ */
final public function setPrimaryKey($key) public function setPrimaryKey($key)
{ {
switch (gettype($key)) { switch (gettype($key)) {
case "array": case "array":
...@@ -654,14 +654,14 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable ...@@ -654,14 +654,14 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
* returns all primary keys * returns all primary keys
* @return array * @return array
*/ */
final public function getPrimaryKeys() public function getPrimaryKeys()
{ {
return $this->primaryKeys; return $this->primaryKeys;
} }
/** /**
* @return boolean * @return boolean
*/ */
final public function hasPrimaryKey($key) public function hasPrimaryKey($key)
{ {
return in_array($key,$this->primaryKeys); return in_array($key,$this->primaryKeys);
} }
...@@ -818,7 +818,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable ...@@ -818,7 +818,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
* hasRelatedComponent * hasRelatedComponent
* @return boolean * @return boolean
*/ */
final public function hasRelatedComponent($name, $component) public function hasRelatedComponent($name, $component)
{ {
return (strpos($this->bound[$name]['field'], $component . '.') !== false); return (strpos($this->bound[$name]['field'], $component . '.') !== false);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment