added isIdentifier()
This commit is contained in:
parent
a01ed0641f
commit
a4ae926a85
@ -334,6 +334,12 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function isIdentifier($identifier)
|
||||||
|
{
|
||||||
|
return ($identifier === $this->_identifier ||
|
||||||
|
in_array($identifier, (array) $this->_identifier));
|
||||||
|
}
|
||||||
|
|
||||||
public function getMethodOwner($method)
|
public function getMethodOwner($method)
|
||||||
{
|
{
|
||||||
return (isset($this->_invokedMethods[$method])) ?
|
return (isset($this->_invokedMethods[$method])) ?
|
||||||
|
Loading…
Reference in New Issue
Block a user