示例#1
0
 function __construct($Parent = null, $Label = null, $Method = jForm::Method_POST)
 {
     parent::__construct($Parent);
     $this->Label = $Label;
     $this->Method = $Method;
     $this->CSRFGuard();
 }
示例#2
0
 /**
  * Create a form widget
  * @param jWidget $Parent (usually the form)
  * @param string $Label text of the widget
  */
 function __construct(jWidget $Parent, $Label = null)
 {
     parent::__construct($Parent);
     $this->Label = $Label;
 }