original_string: public function get($doctype)
      {
          if (isset($this->aliases[$doctype])) {
              $doctype = $this->aliases[$doctype];
          }
          if (!isset($this->doctypes[$doctype])) {
              trigger_error('Doctype ' . htmlspecialchars($doctype) . ' does not exist', E_USER_ERROR);
              $anon = new HTMLPurifier_Doctype($doctype);
              return $anon;
          }
          return $this->doctypes[$doctype];
      }
code: public function get($doctype)
      {
          if (isset($this->aliases[$doctype])) {
              $doctype = $this->aliases[$doctype];
          }
          if (!isset($this->doctypes[$doctype])) {
              trigger_error('Doctype ' . htmlspecialchars($doctype) . ' does not exist', E_USER_ERROR);
              $anon = new HTMLPurifier_Doctype($doctype);
              return $anon;
          }
          return $this->doctypes[$doctype];
      }
code_tokens: public function get ( $ doctype ) { if ( isset ( $ this -> aliases [ $ doctype ] ) ) { $ doctype = $ this -> aliases [ $ doctype ] ; } if ( ! isset ( $ this -> doctypes [ $ doctype ] ) ) { trigger_error ( 'Doctype ' . htmlspecialchars ( $ doctype ) . ' does not exist' , E_USER_ERROR ) ; $ anon = new HTMLPurifier_Doctype ( $ doctype ) ; return $ anon ; } return $ this -> doctypes [ $ doctype ] ; }
docstring: Retrieves reference to a doctype of a certain name
  @note This function resolves aliases
  @note When possible, use the more fully-featured make()
  @param string $doctype Name of doctype
  @return HTMLPurifier_Doctype Editable doctype object
docstring_tokens: Retrieves reference to a doctype of a certain name