예제 #1
0
 /**
  * Returns an instance of class.
  *
  * @return OCSGUESTS_BOL_GuestDao
  */
 public static function getInstance()
 {
     if (self::$classInstance === null) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
예제 #2
0
 public function findValueExistOrNot($userId)
 {
     // echo "user->" . $userId;
     return $this->guestDao->findValueExistOrNotByUserIds($userId);
 }
예제 #3
0
 public function setViewedStatusByGuestIds($userId, $guestIds, $viewed = true)
 {
     return $this->guestDao->setViewedStatusByGuestIds($userId, $guestIds, $viewed);
 }
예제 #4
0
 public function findValueExistOrNot($userId)
 {
     return $this->guestDao->findValueExistOrNotByUserIds($userId);
 }
예제 #5
0
파일: service.php 프로젝트: vazahat/dudex
 /**
  * @param $userId
  * @return bool
  */
 public function deleteUserGuests($userId)
 {
     $this->guestDao->deleteUserGuests($userId);
     return true;
 }