src/Codegen/CodegenBase.php
public static function prefixFromType($strType)
    {
        switch ($strType) {
            case Type::ARRAY_TYPE:
                return "obj";
            case Type::BOOLEAN:
                return "bln";
            case Type::DATE_TIME:
                return "dtt";
            case Type::FLOAT:
                return "flt";
            case Type::INTEGER:
                return "int";
            case Type::OBJECT:
                return "obj";
            case Type::STRING:
                return "str";
        }
        // Suppressing the IDE warning about no value being return
        return "";
    }
public static function prefixFromType($strType)
    {
        switch ($strType) {
            case Type::ARRAY_TYPE:
                return "obj";
            case Type::BOOLEAN:
                return "bln";
            case Type::DATE_TIME:
                return "dtt";
            case Type::FLOAT:
                return "flt";
            case Type::INTEGER:
                return "int";
            case Type::OBJECT:
                return "obj";
            case Type::STRING:
                return "str";
        }
        // Suppressing the IDE warning about no value being return
        return "";
    }
public static function prefixFromType ( $ strType ) { switch ( $ strType ) { case Type :: ARRAY_TYPE : return "obj" ; case Type :: BOOLEAN : return "bln" ; case Type :: DATE_TIME : return "dtt" ; case Type :: FLOAT : return "flt" ; case Type :: INTEGER : return "int" ; case Type :: OBJECT : return "obj" ; case Type :: STRING : return "str" ; } // Suppressing the IDE warning about no value being return return "" ; }
Returns prefix for variable according to variable type

@param string $strType The type of variable for which the prefix is needed

@return string The variable prefix

@was QString::PrefixFromType
Returns prefix for variable according to variable type