Exemple #1
0
 /**
  * Representação textual da coluna.
  *
  * @return string
  * */
 public function render()
 {
     if ($this->_entity instanceof Entity) {
         $column = $this->_name;
         $columns = $this->_entity->columns();
         if (FALSE == isset($columns->{$column}->database)) {
             return FALSE;
         }
         $this->_name = $columns->{$column}->database;
     }
     if ($this->_functions) {
         return $this->_functions->render();
     }
     return parent::render();
 }