Example #1
0
 public function __construct($args = array())
 {
     $args = PSU::params($args);
     $this->fileid = 0;
     $this->adodb_type = 'N';
     $this->filemanager = null;
     parent::__construct($args);
     $this->type->value = 'file';
 }
Example #2
0
 public function __construct($args = array())
 {
     $args = PSU::params($args, array('type' => 'text'));
     $this->adodb_type = "C";
     $this->maxlength = new HTMLAttribute();
     $this->size = new HTMLAttribute(20);
     $this->value = new HTMLAttribute();
     $this->placeholder = new HTMLAttribute();
     $this->autofocus = new HTMLProperty();
     parent::__construct($args);
 }