Exemplo n.º 1
0
 /**
  * Class constructor
  *
  * @param string $id
  * @param string $name
  * @param string $label
  * @param array $config
  */
 public function __construct($id = NULL, $name = '', $label = NULL, $config = array())
 {
     parent::__construct($id, $name, $label, $config);
     $this->_type = 'label';
     $this->_totf = 'label';
     $this->value = $config['value'];
 }
Exemplo n.º 2
0
 public function __construct()
 {
     parent::__construct('captcha');
     $this->_type = 'captcha';
     $this->_id = 'captcha';
     $this->_name = 'captcha';
     $this->_label = 'CAPTCHA';
 }
Exemplo n.º 3
0
 /**
  * Class constructor
  *
  * @param string $id
  * @param string $name
  * @param string $label
  * @param array $config
  * @param array $options
  */
 public function __construct($id = NULL, $name = '', $label = NULL, array $config = array(), array $options = array())
 {
     parent::__construct($id, $name, $label, $config);
     $this->_type = 'document2';
 }
Exemplo n.º 4
0
 /**
  * Class constructor
  *
  * @param string $id
  * @param string $name
  * @param string $label
  * @param array $config
  * @param array $options
  */
 public function __construct($id = NULL, $name = '', $label = NULL, array $config = array(), array $options = array())
 {
     parent::__construct($id, $name, $label, $config);
     $this->_type = 'list';
     $this->setOptions($options);
 }
Exemplo n.º 5
0
 /**
  * Class constructor
  *
  * @param string $id
  * @param string $name
  * @param string $label
  * @param array $config
  */
 public function __construct($id = NULL, $name = '', $label = NULL, $config = array())
 {
     parent::__construct($id, $name, $label, $config);
     $this->_type = 'inline';
 }
Exemplo n.º 6
0
 public function __construct($id = NULL, $name = '', $label = NULL, array $config = array())
 {
     parent::__construct($id, $name, NULL, $label, $config);
     $this->_type = 'fileupload';
     $this->_totf = 'file';
 }
Exemplo n.º 7
0
 /**
  * Class constructor
  *
  * @param string $id
  * @param string $name
  * @param string $label
  * @param array $config
  */
 public function __construct($id = NULL, $name = '', $label = NULL, array $config = array())
 {
     parent::__construct($id, $name, $label, $config);
     $this->_type = 'defaultactions';
     $this->_totf = 'defaultactions';
 }