ORMã®æ§æãå¿ ã使ãå¿ è¦ãªãã¦ãªãã®ã§ããã <?php // ãªãã§ãããã®ã§Connectionã¨ã£ã¦ãã $employeeTable = Doctrine_Core::getTable('Employee'); $con = $employeeTable->getConnection(); $sql = "SELECT * FROM employee where YEAR(employed_at) = :year"; $employees = $con->fetchAll($sql, array(':year' => 2009)); $sql = "SELECT * FROM employee ORDER BY employed_at DESC LIMIT 1"; $employee = $con->fetchRow($sql); $sql = "SELECT id FROM e
{{#tags}}- {{label}}
{{/tags}}