/** * Returns an instance of class. * * @return OCSGUESTS_BOL_GuestDao */ public static function getInstance() { if (self::$classInstance === null) { self::$classInstance = new self(); } return self::$classInstance; }
public function findValueExistOrNot($userId) { // echo "user->" . $userId; return $this->guestDao->findValueExistOrNotByUserIds($userId); }
public function setViewedStatusByGuestIds($userId, $guestIds, $viewed = true) { return $this->guestDao->setViewedStatusByGuestIds($userId, $guestIds, $viewed); }
public function findValueExistOrNot($userId) { return $this->guestDao->findValueExistOrNotByUserIds($userId); }
/** * @param $userId * @return bool */ public function deleteUserGuests($userId) { $this->guestDao->deleteUserGuests($userId); return true; }