예제 #1
0
 /**
  * Returns an instance of class (singleton pattern implementation).
  *
  * @return MODERATION_BOL_EntityDao
  */
 public static function getInstance()
 {
     if (self::$classInstance === null) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
예제 #2
0
 /**
  * 
  * @param array $entityTypes
  * @return int
  */
 public function findCountForEntityTypeList($entityTypes, $ownerId = null)
 {
     return $this->entityDao->findCountForEntityTypeList($entityTypes, $ownerId);
 }