. */ Doctrine::autoload('Doctrine_Expression'); /** * Doctrine_Expression_Firebird * * @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 * @author Lorenzo Alberton (PEAR MDB2 Interbase driver) * @author Lukas Smith (PEAR MDB2 library) */ class Doctrine_Expression_Firebird extends Doctrine_Expression { /** * return string for internal table used when calling only a function * * @return string for internal table used when calling only a function * @access public */ public function functionTable() { return ' FROM RDB$DATABASE'; } /** * build string to define escape pattern string * * @return string define escape pattern */ public function patternEscapeString() { return " ESCAPE '". $db->escape_pattern ."'"; } }