Ejemplo n.º 1
0
 /**
  * Adds conditions to this statement
  *
  * @param array $conditions
  *
  * @return Select A self instance for method chain calls.
  */
 public function orWhere($conditions)
 {
     return parent::orWhere($conditions);
 }
Ejemplo n.º 2
0
 /**
  * Adds conditions to this statement
  *
  * @param array $conditions
  *
  * @return Delete A self instance for method chain calls.
  */
 public function where($conditions)
 {
     return parent::where($conditions);
 }
Ejemplo n.º 3
0
 /**
  * Creates a new SQL statement
  *
  * @param string         $tableName The database table for
  *  this statement
  * @param QueryInterface $query     The query object
  *  that gives this statement a context
  */
 public function __construct($tableName, QueryInterface $query)
 {
     parent::__construct($tableName, array('*'), $query);
 }