Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 /**
  * 
  * @param array $entityTypes
  * @return int
  */
 public function findCountForEntityTypeList($entityTypes, $ownerId = null)
 {
     return $this->entityDao->findCountForEntityTypeList($entityTypes, $ownerId);
 }