/** * Returns an instance of class (singleton pattern implementation). * * @return EQUESTIONS_BOL_NotificationDao */ public static function getInstance() { if (self::$classInstance === null) { self::$classInstance = new self(); } return self::$classInstance; }
public function findNotificationListByQuestionId($questionId) { return $this->notificationDao->findListByQuestionId($questionId); }