コード例 #1
0
 /**
  * @return ICWP_WPSF_WpComments
  */
 public static function GetInstance()
 {
     if (is_null(self::$oInstance)) {
         self::$oInstance = new self();
     }
     return self::$oInstance;
 }
コード例 #2
0
 /**
  * @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;
 }