public function plugin($sName)
    {
        $xPlugin = $this->getPluginManager()->getResponsePlugin($sName);
        if(!$xPlugin)
        {
            return null;
        }
        $xPlugin->setResponse($this);
        return $xPlugin;
    }
public function plugin($sName)
    {
        $xPlugin = $this->getPluginManager()->getResponsePlugin($sName);
        if(!$xPlugin)
        {
            return null;
        }
        $xPlugin->setResponse($this);
        return $xPlugin;
    }
public function plugin ( $ sName ) { $ xPlugin = $ this -> getPluginManager ( ) -> getResponsePlugin ( $ sName ) ; if ( ! $ xPlugin ) { return null ; } $ xPlugin -> setResponse ( $ this ) ; return $ xPlugin ; }
Provides access to registered response plugins

Pass the plugin name as the first argument and the plugin object will be returned.
You can then access the methods of the plugin directly.

@param string        $sName                The name of the plugin

@return null|\Jaxon\Plugin\Response
Provides access to registered response plugins