original_string: public function registerPlugin($type, $tag, $callback, $cacheable = true, $cache_attr = null)
      {
          $this->smarty->registerPlugin($type, $tag, $callback, $cacheable, $cache_attr);
      }
code: public function registerPlugin($type, $tag, $callback, $cacheable = true, $cache_attr = null)
      {
          $this->smarty->registerPlugin($type, $tag, $callback, $cacheable, $cache_attr);
      }
code_tokens: public function registerPlugin ( $ type , $ tag , $ callback , $ cacheable = true , $ cache_attr = null ) { $ this -> smarty -> registerPlugin ( $ type , $ tag , $ callback , $ cacheable , $ cache_attr ) ; }
docstring: Proxy method to register a plugin to Smarty
  
  @param  string $type plugin type
  @param  string $tag name of template tag
  @param  callable $callback PHP callback to register
  @param  boolean $cacheable if true (default) this function is cachable
  @param  array $cache_attr caching attributes if any
  
  @return self
  
  @throws SmartyException when the plugin tag is invalid
docstring_tokens: Proxy method to register a plugin to Smarty