function Check($value)
    {
        $success = true;
        $strings = System\Str::SplitLines($value);
        foreach ($strings as $string)
        {
            $success = parent::Check($string);
            if (!$success)
                break;
        }
        
        //The value is temporarily set to the substrings
        //when calling the parent check function above,
        //so we have to store it here, not before the loop:
        $this->SetValue($value);
        return $success;
    }
function Check($value)
    {
        $success = true;
        $strings = System\Str::SplitLines($value);
        foreach ($strings as $string)
        {
            $success = parent::Check($string);
            if (!$success)
                break;
        }
        
        //The value is temporarily set to the substrings
        //when calling the parent check function above,
        //so we have to store it here, not before the loop:
        $this->SetValue($value);
        return $success;
    }
function Check ( $ value ) { $ success = true ; $ strings = System \ Str :: SplitLines ( $ value ) ; foreach ( $ strings as $ string ) { $ success = parent :: Check ( $ string ) ; if ( ! $ success ) break ; } //The value is temporarily set to the substrings //when calling the parent check function above, //so we have to store it here, not before the loop: $ this -> SetValue ( $ value ) ; return $ success ; }
Checks each line of the given value with the given validators
@param string $value
@return bool
Checks each line of the given value with the given validators