src/Service/Config/Security.php
protected function evalInt($value, $name, $group)
    {
        $result = ((int) $value) > 0;
        if ($result === false) {
            $this->pool->messages->addMessage(static::KEY_CONFIG_ERROR_INT, array($group, $name));
        }

        return $result;
    }
protected function evalInt($value, $name, $group)
    {
        $result = ((int) $value) > 0;
        if ($result === false) {
            $this->pool->messages->addMessage(static::KEY_CONFIG_ERROR_INT, array($group, $name));
        }

        return $result;
    }
protected function evalInt ( $ value , $ name , $ group ) { $ result = ( ( int ) $ value ) > 0 ; if ( $ result === false ) { $ this -> pool -> messages -> addMessage ( static :: KEY_CONFIG_ERROR_INT , array ( $ group , $ name ) ) ; } return $ result ; }
Evaluates a string of integer.

It must be greater than 0 and smaller than 101.

@param string $value
The string we want to evaluate.
@param string $name
The name of the value we are checking, needed for the feedback text.
@param string $group
The name of the group that we are evaluating, needed for the feedback
text.

@return bool
Whether it does evaluate or not.
Evaluates a string of integer .