Exemplo n.º 1
0
 /**
  *
  */
 public function __construct($args = array())
 {
     $args = PSU::params($args);
     $args['type'] = 'submit';
     // text by default
     $args['class'] = 'signoff';
     $args['maxlength'] = 75;
     parent::__construct($args);
 }
Exemplo n.º 2
0
 public function __construct($args = array())
 {
     $args = PSU::params($args);
     if (!isset($args['size'])) {
         $args['size'] = 20;
     }
     if (!isset($args['maxlength'])) {
         $args['maxlength'] = 90;
     }
     parent::__construct($args);
 }
Exemplo n.º 3
0
 function __construct($args = array())
 {
     $args = PSU::params($args);
     $this->formatting = array(__CLASS__, 'convert_datestring');
     if (!isset($args['size'])) {
         $args['size'] = 11;
     }
     parent::__construct($args);
     $this->addClass('datepicker');
     $this->adodb_type = 'D';
 }
Exemplo n.º 4
0
 public function __construct($args = array())
 {
     $args = PSU::params($args);
     $this->rows = new HTMLAttribute(10);
     $this->cols = new HTMLAttribute(40);
     parent::__construct($args);
     $this->adodb_type = "XL";
     unset($this->value);
     $this->value = '';
     unset($this->size);
     $this->tag_name = 'textarea';
 }