. */ Doctrine::autoload('Doctrine_Expression'); /** * Doctrine_Expression_Sqlite * * @package Doctrine ORM * @url www.phpdoctrine.com * @license LGPL */ class Doctrine_Expression_Oracle extends Doctrine_Expression { /** * Returns a series of strings concatinated * * concat() accepts an arbitrary number of parameters. Each parameter * must contain an expression * * @param string $arg1, $arg2 ... $argN strings that will be concatinated. * @return string */ public function concat($arg1, $arg2) { $args = func_get_args(); $cols = $this->getIdentifiers( $args ); return join( ' || ' , $cols ); } }