Ejemplo n.º 1
0
 public function __construct($display_name)
 {
     parent::__construct($display_name, self::type);
     // because field type crm_company defines own QFfield and display
     // callbacks we have to forbid checking for magic callbacks
     $this->disable_magic_callbacks();
     $this->param = array();
 }
Ejemplo n.º 2
0
 public function __construct($display_name)
 {
     parent::__construct($display_name, self::type);
     $this->disable_magic_callbacks();
     $this->param = array();
 }
Ejemplo n.º 3
0
 public function __construct($display_name, $prefix = '#', $pad_length = 6, $pad_mask = '0')
 {
     parent::__construct($display_name, 'autonumber');
     $this->set_prefix($prefix);
     $this->set_pad_length($pad_length);
     $this->set_pad_mask($pad_mask);
 }