Beispiel #1
0
 public function createElement($type, $name, $options = null)
 {
     $columnElement = isset($this->columnElements[$name]) ? $this->columnElements[$name] : null;
     if ($columnElement === false) {
         return null;
     }
     if (is_string($columnElement)) {
         $type = $columnElement;
     } else {
         if (is_array($columnElement)) {
             list($type, $o) = $columnElement;
             $options = array_merge((array) $options, $o);
         }
     }
     return parent::createElement($type, $name, $options);
 }