From 4634b7c194f79c17c231ae103688ebb65353fac0 Mon Sep 17 00:00:00 2001 From: zYne Date: Fri, 5 Oct 2007 20:28:08 +0000 Subject: [PATCH] --- lib/Doctrine/Record/Abstract.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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 +}