Beispiel #1
0
 /**
  * Returns an instance of class (singleton pattern implementation).
  *
  * @return OASEO_BOL_SitemapItem
  */
 public static function getInstance()
 {
     if (self::$classInstance === null) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
Beispiel #2
0
 /**
  * @param string $type
  * @return array
  */
 public function findItems($type, $first, $count)
 {
     return $this->sitemapItemDao->findItemsByType($type, $first, $count);
 }