コード例 #1
0
 /**
  * Constructor
  * 
  * @return  void
  */
 function FormCheckbox()
 {
     parent::FormElement();
     $this->setAttribute('separator', ' ');
     $this->setAttribute('class', 'checkbox');
     $this->return_type = strtolower($this->return_type);
     if (!($this->return_type == 'string' || $this->return_type == 'array')) {
         echo 'Checkbox return type (' . $this->return_type . ') is not supported';
         exit;
     }
 }
コード例 #2
0
 /**
  * Constructor
  * 
  * @return  void
  */
 function FormHidden()
 {
     parent::FormElement();
 }
コード例 #3
0
 /**
  * Constructor
  * 
  * @return  void
  */
 function FormFile()
 {
     parent::FormElement();
     $this->setAttribute('class', 'file');
 }
コード例 #4
0
 /**
  * Constructor
  * 
  * @return  void
  */
 function FormButton()
 {
     parent::FormElement();
     $this->setAttribute('class', 'button');
 }
コード例 #5
0
 /**
  * Constructor
  * 
  * @return  void
  */
 function FormText()
 {
     parent::FormElement();
 }
コード例 #6
0
 /**
  * Constructor
  * 
  * @return  void
  */
 function FormRadio()
 {
     parent::FormElement();
     $this->setAttribute('separator', " ");
     $this->setAttribute('class', 'radio');
 }
コード例 #7
0
 /**
  * Constructor
  * 
  * @return  void
  */
 function FormPassword()
 {
     parent::FormElement();
 }
コード例 #8
0
 /**
  * Constructor
  * 
  * @return  void
  */
 function FormSubmit()
 {
     parent::FormElement();
     $this->setAttribute('class', 'submit');
 }
コード例 #9
0
 /**
  * Constructor
  * 
  * @return  void
  */
 function FormSelect()
 {
     parent::FormElement();
 }
コード例 #10
0
 /**
  * Constructor
  * 
  * @return  void
  */
 function FormCheckbox()
 {
     parent::FormElement();
     $this->setAttribute('separator', ' ');
     $this->setAttribute('class', 'checkbox');
 }