private function __convertValue($sValue)
    {
        $cType = substr($sValue, 0, 1);
        $sValue = substr($sValue, 1);
        switch ($cType)
        {
            case 'S':
                $value = ($sValue === false ? '' : $sValue);
                break;
            case 'B':
                $value = $this->__convertStringToBool($sValue);
                break;
            case 'N':
                $value = ($sValue == floor($sValue) ? (int)$sValue : (float)$sValue);
                break;
            case '*':
            default:
                $value = null;
                break;
        }
        return $value;
    }
private function __convertValue($sValue)
    {
        $cType = substr($sValue, 0, 1);
        $sValue = substr($sValue, 1);
        switch ($cType)
        {
            case 'S':
                $value = ($sValue === false ? '' : $sValue);
                break;
            case 'B':
                $value = $this->__convertStringToBool($sValue);
                break;
            case 'N':
                $value = ($sValue == floor($sValue) ? (int)$sValue : (float)$sValue);
                break;
            case '*':
            default:
                $value = null;
                break;
        }
        return $value;
    }
private function __convertValue ( $ sValue ) { $ cType = substr ( $ sValue , 0 , 1 ) ; $ sValue = substr ( $ sValue , 1 ) ; switch ( $ cType ) { case 'S' : $ value = ( $ sValue === false ? '' : $ sValue ) ; break ; case 'B' : $ value = $ this -> __convertStringToBool ( $ sValue ) ; break ; case 'N' : $ value = ( $ sValue == floor ( $ sValue ) ? ( int ) $ sValue : ( float ) $ sValue ) ; break ; case '*' : default : $ value = null ; break ; } return $ value ; }
Convert an Jaxon request argument to its value

Depending of its first char, the Jaxon request argument is converted to a given type.

@param string        $sValue                The keys of the options in the file

@return mixed
Convert an Jaxon request argument to its value