. */ /** * Executes the SQL statements for bulk DQL DELETE statements on classes in * Class Table Inheritance (JOINED). * * @author Roman Borschel * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link http://www.phpdoctrine.org * @since 2.0 * @version $Revision$ * @todo For a good implementation that uses temporary tables see the Hibernate sources: * (org.hibernate.hql.ast.exec.MultiTableDeleteExecutor). * @todo Rename to MultiTableDeleteExecutor */ class Doctrine_ORM_Query_SqlExecutor_MultiTableDelete extends Doctrine_ORM_Query_SqlExecutor_Abstract { /** * Enter description here... * * @param Doctrine_ORM_Query_AST $AST */ public function __construct(Doctrine_ORM_Query_AST $AST) { // TODO: Inspect the AST, create the necessary SQL queries and store them // in $this->_sqlStatements } /** * Executes all sql statements. * * @param Doctrine_Connection $conn The database connection that is used to execute the queries. * @param array $params The parameters. * @override */ public function execute(Doctrine_Connection $conn, array $params) { //... } }