public function __construct($id = '', $text = '', $type = self::TYPE_BLOCK, $properties = null)
 {
     $this->enableLog();
     parent::__construct($id, '', $properties);
     $this->text = $text;
     $this->type = $type;
 }
Example #2
0
 public function __construct($id = '', $name = '', $size = self::SIZE_MEDIUM, $rows = 3, $value = '', $properties = array())
 {
     $this->rows = $rows;
     $this->size = $size;
     $this->value = $value;
     parent::__construct($id, $name, $properties);
 }
 public function __construct($id = '', $name = '', $size = self::SIZE_MEDIUM, $value = '', $properties = array())
 {
     //		$this->_traceEnabled = $traceEnabled;
     //        $this->enableLog();
     //		unset($this->dataValue);
     //		unset($this->dataName);
     //		unset($this->directory);
     //        unset($this->directoryRegEx);
     //		unset($this->postbackEnabled);
     //		unset($this->value);
     //        unset($this->wrapEnabled);
     //		$this->addProperty('dataValue', 'id');
     //		$this->addProperty('dataName', 'name');
     //		$this->addProperty('directory', null);
     //        $this->addProperty('directoryRegEx', null);
     //		$this->addProperty('postbackEnabled', false);
     //		$this->addProperty('recordset', null);
     //		$this->addProperty('value', '');
     //        $this->addProperty('wrapEnabled', false);
     //        $this->addProperty('wrapClass', 'selectWrap');
     $this->size = $size;
     $this->value = $value;
     parent::__construct($id, $name, $properties);
 }
Example #4
0
 public function renderPostClientScript()
 {
     $return = '';
     $return .= parent::renderPostClientScript();
     return $return;
 }
 public function __construct($id = '', $name = 'checkbox', $text = '** Undefined CheckBox **', $checked = false, $properties = array())
 {
     $this->text = $text;
     $this->checked = $checked;
     parent::__construct($id, $name, $properties);
 }