This commit is contained in:
parent
4634b7c194
commit
7c0aca3cd2
@ -257,7 +257,7 @@ abstract class Doctrine_Record_Abstract extends Doctrine_Access
|
||||
*/
|
||||
public function bindQueryParts(array $queryParts)
|
||||
{
|
||||
$this->_table->bindQueryParts(array $queryParts);
|
||||
$this->_table->bindQueryParts($queryParts);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
@ -160,6 +160,8 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
|
||||
*/
|
||||
protected $_filters = array();
|
||||
|
||||
protected $_queryParts = array();
|
||||
|
||||
|
||||
|
||||
/**
|
||||
@ -1292,6 +1294,19 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
|
||||
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* bindQueryParts
|
||||
* binds query parts to given component
|
||||
*
|
||||
* @param array $queryParts an array of pre-bound query parts
|
||||
* @return Doctrine_Record this object
|
||||
*/
|
||||
public function bindQueryParts(array $queryParts)
|
||||
{
|
||||
$this->_queryParts = $queryParts;
|
||||
|
||||
return $this;
|
||||
}
|
||||
public function unshiftFilter(Doctrine_Record_Filter $filter)
|
||||
{
|
||||
$filter->setTable($this);
|
||||
|
Loading…
Reference in New Issue
Block a user