protected function _phpTypeToAS($typename)
    {
        if (class_exists($typename)) {
            $vars = get_class_vars($typename);

            if (isset($vars['_explicitType'])) {
                return $vars['_explicitType'];
            }
        }

        if (false !== ($asname = Zend_Amf_Parse_TypeLoader::getMappedClassName($typename))) {
            return $asname;
        }

        return $typename;
    }
protected function _phpTypeToAS($typename)
    {
        if (class_exists($typename)) {
            $vars = get_class_vars($typename);

            if (isset($vars['_explicitType'])) {
                return $vars['_explicitType'];
            }
        }

        if (false !== ($asname = Zend_Amf_Parse_TypeLoader::getMappedClassName($typename))) {
            return $asname;
        }

        return $typename;
    }
protected function _phpTypeToAS ( $ typename ) { if ( class_exists ( $ typename ) ) { $ vars = get_class_vars ( $ typename ) ; if ( isset ( $ vars [ '_explicitType' ] ) ) { return $ vars [ '_explicitType' ] ; } } if ( false !== ( $ asname = Zend_Amf_Parse_TypeLoader :: getMappedClassName ( $ typename ) ) ) { return $ asname ; } return $ typename ; }
Map from PHP type name to AS type name

@param  string $typename PHP type name
@return string AS type name
Map from PHP type name to AS type name