Example #1
0
 /**
  * Return a singleton instance of the PCMS_Client
  *
  * @return PCMS_Client Singleton instance of PCMS_Client
  */
 public static function getInstance()
 {
     /* Get the singleton instance for this class */
     if (is_null(PCMS_Client::$__instance)) {
         PCMS_Client::$__instance = new PCMS_Client();
     }
     return PCMS_Client::$__instance;
 }