public static function getInstance()
    {
        static $_instance;

        if (!$_instance) {
            $_instance = new self(new AnConfig(array('service_container' => AnService::getInstance())));
            AnService::set('plg:contentfilter.chain', $_instance);
            AnService::get('com:plugins.helper')->import('contentfilter');
        }

        return $_instance;
    }
public static function getInstance()
    {
        static $_instance;

        if (!$_instance) {
            $_instance = new self(new AnConfig(array('service_container' => AnService::getInstance())));
            AnService::set('plg:contentfilter.chain', $_instance);
            AnService::get('com:plugins.helper')->import('contentfilter');
        }

        return $_instance;
    }
public static function getInstance ( ) { static $ _instance ; if ( ! $ _instance ) { $ _instance = new self ( new AnConfig ( array ( 'service_container' => AnService :: getInstance ( ) ) ) ) ; AnService :: set ( 'plg:contentfilter.chain' , $ _instance ) ; AnService :: get ( 'com:plugins.helper' ) -> import ( 'contentfilter' ) ; } return $ _instance ; }
Return the singleton instnace of PlgContentfilterChain. This method also imports all the
content filter plugins.

@return PlgContentfilterChain
Return the singleton instnace of PlgContentfilterChain . This method also imports all the content filter plugins .