UserDisableForm::__construct PHP Méthode

__construct() public méthode

Constructor.
public __construct ( $userId, $enable = false )
    function __construct($userId, $enable = false)
    {
        parent::__construct('controllers/grid/settings/user/form/userDisableForm.tpl');
        $this->_userId = (int) $userId;
        $this->_enable = (bool) $enable;
        $this->addCheck(new FormValidatorPost($this));
        $this->addCheck(new FormValidatorCSRF($this));
    }