コード例 #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);
 }
コード例 #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);
 }
コード例 #3
0
 function __construct($args = array())
 {
     $args = PSU::params($args);
     $this->formatting = 'FormDate::convert_datestring';
     if (!isset($args['size'])) {
         $args['size'] = 11;
     }
     parent::__construct($args);
     $this->addClass('datepicker');
     $this->adodb_type = 'D';
 }
コード例 #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';
 }
コード例 #5
0
 public function __construct($args = array())
 {
     parent::__construct($args);
     $this->adodb_type = 'N';
 }