function __construct($Parent = null, $Label = null, $Method = jForm::Method_POST) { parent::__construct($Parent); $this->Label = $Label; $this->Method = $Method; $this->CSRFGuard(); }
/** * 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; }