Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  *
  * @param Column $column
  *
  * @return string
  */
 public function writeColumnName(Column $column)
 {
     if ($column->isAll()) {
         return '*';
     }
     return $this->wrapper(parent::writeColumnName($column));
 }
Exemplo n.º 2
0
 /**
  * @param Column $column
  *
  * @return string
  */
 public function writeColumn(Column $column)
 {
     $alias = $column->getTable()->getAlias();
     $table = $alias ? $this->writer->writeTableAlias($alias) : $this->writer->writeTable($column->getTable());
     $columnString = empty($table) ? '' : "{$table}.";
     $columnString .= $this->writer->writeColumnName($column);
     return $columnString;
 }
 /**
  * {@inheritdoc}
  *
  * @param Column $column
  *
  * @return string
  */
 public function writeColumnName(Column $column)
 {
     if ($column->isAll()) {
         return '*';
     }
     if (false !== strpos($column->getName(), "(")) {
         return parent::writeColumnName($column);
     }
     return $this->wrapper(parent::writeColumnName($column));
 }