PKPNotificationSettingsForm::__construct PHP Method

__construct() public method

Constructor.
public __construct ( )
    function __construct()
    {
        parent::__construct('user/notificationSettingsForm.tpl');
        // Validation checks for this form
        $this->addCheck(new FormValidatorPost($this));
        $this->addCheck(new FormValidatorCSRF($this));
    }

Usage Example

 /**
  * Constructor.
  */
 function __construct()
 {
     parent::__construct();
 }