Ingo_Perms::__construct PHP Method

__construct() public method

Constructor.
public __construct ( )
    public function __construct()
    {
        $this->_perms = array('max_blacklist' => array('handle' => function ($allowed, $opts) {
            return max(array_map('intval', $allowed));
        }, 'title' => _("Maximum number of blacklist addresses."), 'type' => 'int'), 'max_forward' => array('handle' => function ($allowed, $opts) {
            return max(array_map('intval', $allowed));
        }, 'title' => _("Maximum number of forward addresses."), 'type' => 'int'), 'max_rules' => array('handle' => function ($allowed, $opts) {
            return max(array_map('intval', $allowed));
        }, 'title' => _("Maximum number of rules (0 to disable rules editing)."), 'type' => 'int'), 'max_whitelist' => array('handle' => function ($allowed, $opts) {
            return max(array_map('intval', $allowed));
        }, 'title' => _("Maximum number of whitelist addresses."), 'type' => 'int'));
    }