예제 #1
0
파일: like_dao.php 프로젝트: vazahat/dudex
 /**
  * Returns an instance of class (singleton pattern implementation).
  *
  * @return NEWSFEED_BOL_LikeDao
  */
 public static function getInstance()
 {
     if (self::$classInstance === null) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
예제 #2
0
 public function removeLikesByUserId($userId)
 {
     $this->likeDao->removeLikesByUserId($userId);
 }