original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Map from PHP type name to AS type name
  
  @param  string $typename PHP type name
  @return string AS type name
docstring_tokens: Map from PHP type name to AS type name