Esempio n. 1
0
 /**
  * Return whether the given column name or alias of the given table is a valid statement column
  *
  * @param   string  $table  The table where to look for the column or alias
  * @param   string  $name   The column name or alias to check
  *
  * @return  bool
  */
 public function hasStatementColumn($table, $name)
 {
     if ($this->resolveStatementColumnAlias($table, $name) === null && $this->reassembleStatementColumnAlias($table, $name) === null || !$this->validateStatementColumnAssociation($table, $name)) {
         return parent::hasStatementColumn($table, $name);
     }
     return true;
 }