Пример #1
0
 public function __construct($id = '', $text = '', $type = self::TYPE_BLOCK, $properties = null)
 {
     $this->enableLog();
     parent::__construct($id, '', $properties);
     $this->text = $text;
     $this->type = $type;
 }
Пример #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);
 }
Пример #3
0
 public function __construct($id = '', $name = '', $value = '', $properties = null)
 {
     //		$this->_traceEnabled = $traceEnabled;
     //		unset($this->value);
     //		$this->addProperty('value', '');
     $this->value = $value;
     parent::__construct($id, $name, $properties);
 }
Пример #4
0
 public function __construct($id = '', $text = 'Submit', $actionType = self::ACTION_TYPE_DEFAULT, $type = self::TYPE_DEFAULT, $size = self::SIZE_DEFAULT, $properties = array(), $traceEnabled = false)
 {
     $this->actionType = $actionType;
     $this->text = $text;
     $this->type = $type;
     $this->size = $size;
     if ($this->type == self::TYPE_DEFAULT) {
         $this->type = $this->_actionTypeDefault[$this->actionType];
     }
     parent::__construct($id, '', $properties, $traceEnabled);
 }
Пример #5
0
 public function __construct($id = '', $name = '', $value = '', $text = '', $checked = false, $properties = array(), $traceEnabled = false)
 {
     //		$this->_traceEnabled = $traceEnabled;
     unset($this->checked);
     unset($this->disabled);
     unset($this->text);
     unset($this->value);
     $this->addProperty('checked', false);
     $this->addProperty('disabled', false);
     $this->addProperty('text', '');
     $this->addProperty('value', '');
     $this->text = $text;
     $this->checked = $checked;
     $this->value = $value;
     parent::__construct($id, $name, $properties, $traceEnabled);
 }
Пример #6
0
 public function __construct($id = '', $name = 'unknown', $size = self::SIZE_MEDIUM, $value = '', $properties = null)
 {
     //		$this->_traceEnabled = $traceEnabled;
     $this->enableLog();
     //        unset($this->disabled);
     //        unset($this->wrapEnabled);
     //		$this->addProperty('maxFileSize', 102400);
     //		$this->addProperty('maxLength', '');
     //		$this->addProperty('size', '');
     //		$this->addProperty('type', self::TYPE_NORMAL);
     //		$this->addProperty('value', '');
     //        $this->addProperty('disabled', false);
     //        $this->addProperty('wrapEnabled', false);
     //        $this->addProperty('wrapClass', 'inputWrap');
     parent::__construct($id, $name, $properties);
     $this->size = $size;
     //        $this->type = $type;
     //		$this->maxLength = $maxLength;
     $this->value = $value;
     //        $this->_logdebug('|' . $value . '|', $this->name . '=');
 }
Пример #7
0
 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);
 }
Пример #8
0
 public function __construct($id = '', $name = 'checkbox', $text = '** Undefined CheckBox **', $checked = false, $properties = array())
 {
     $this->text = $text;
     $this->checked = $checked;
     parent::__construct($id, $name, $properties);
 }