Beispiel #1
0
 /**
  * Returns class instance
  *
  * @return YNCONTACTIMPORTER_BOL_InvitationDao
  */
 public static function getInstance()
 {
     if (self::$classInstance === null) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
Beispiel #2
0
 private function __construct()
 {
     $this->invitationDao = YNCONTACTIMPORTER_BOL_InvitationDao::getInstance();
     $this->statisticDao = YNCONTACTIMPORTER_BOL_StatisticDao::getInstance();
     $this->joinedDao = YNCONTACTIMPORTER_BOL_JoinedDao::getInstance();
 }