Exemplo n.º 1
0
 public function hasColumn($col)
 {
     if ($col == 'component_id') {
         return in_array($col, $this->getOwnColumns());
         // component_id must not be in siblings
     }
     if ($col == 'component') {
         return false;
     }
     return parent::hasColumn($col);
 }