Exemplo n.º 1
0
 public function get_definition()
 {
     $this->param['field_type'] = $this->multi ? 'multiselect' : 'select';
     if ($this->crits_callback) {
         $this->param['crits'] = $this->crits_callback;
     }
     return parent::get_definition();
 }
Exemplo n.º 2
0
 public function __construct($display_name)
 {
     parent::__construct($display_name, self::type);
     $this->disable_magic_callbacks();
     $this->param = array();
 }
Exemplo n.º 3
0
 public function get_definition()
 {
     $this->param = self::format_param($this->prefix, $this->pad_length, $this->pad_mask);
     return parent::get_definition();
 }