diff --git a/lib/Doctrine/Record/Abstract.php b/lib/Doctrine/Record/Abstract.php index a2250f10b..5cfffe61a 100644 --- a/lib/Doctrine/Record/Abstract.php +++ b/lib/Doctrine/Record/Abstract.php @@ -248,6 +248,19 @@ abstract class Doctrine_Record_Abstract extends Doctrine_Access { $this->actAs($template, $options); } + /** + * 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->_table->bindQueryParts(array $queryParts); + + return $this; + } /** * actAs * loads a given plugin @@ -305,4 +318,4 @@ abstract class Doctrine_Record_Abstract extends Doctrine_Access } return $this; } -} \ No newline at end of file +}