Example #1
0
 /**
  * Returns an instance of class.
  *
  * @return USERCREDITS_BOL_PackDao
  */
 public static function getInstance()
 {
     if (self::$classInstance === null) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
Example #2
0
 /**
  * Checks if packs added
  *
  * @return bool
  */
 public function packSetup()
 {
     return (bool) $this->packDao->countAll();
 }