Exemplo n.º 1
0
 /**
  * Return the query column name for the given alias or null in case the alias does not exist
  *
  * @param   array|string    $table
  * @param   string          $alias
  *
  * @return  string|null
  */
 public function resolveQueryColumnAlias($table, $alias)
 {
     return parent::resolveQueryColumnAlias($this->removeTablePrefix($this->clearTableAlias($table)), $alias);
 }
 /**
  * {@inheritdoc}
  */
 public function resolveQueryColumnAlias($table, $alias)
 {
     // TODO: Fixed in the current master. Remove this once a new release of Web 2 is out.
     if (is_int($alias)) {
         $queryColumns = $this->getQueryColumns();
         return $queryColumns[$table][$alias];
     }
     return parent::resolveQueryColumnAlias($table, $alias);
 }