/** * @return ICWP_WPSF_WpComments */ public static function GetInstance() { if (is_null(self::$oInstance)) { self::$oInstance = new self(); } return self::$oInstance; }
/** * @return ICWP_WPSF_WpComments */ public static function loadWpCommentsProcessor() { if (!isset(self::$oWpComments)) { require_once dirname(__FILE__) . ICWP_DS . 'wp-comments.php'; self::$oWpComments = ICWP_WPSF_WpComments::GetInstance(); } return self::$oWpComments; }