. */ /** * Doctrine_Query_Part * * @package Doctrine * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @category Object Relational Mapping * @link www.phpdoctrine.com * @since 1.0 * @version $Revision$ * @author Konsta Vesterinen */ abstract class Doctrine_Query_Part { /** * @var Doctrine_Query $query the query object associated with this parser */ protected $query; /** * @param Doctrine_Query $query the query object associated with this parser */ public function __construct($query) { $this->query = $query; } /** * @return Doctrine_Query $query the query object associated with this parser */ public function getQuery() { return $this->query; } /** public function parse($dql, $append = false) { $e = explode(' ', __CLASS__); $name = end($e); $this->query->addDqlPart($name, $dql); $this->_parse($dql); } */ }