/** * 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; }
/** * @param string $type * @return array */ public function findItems($type, $first, $count) { return $this->sitemapItemDao->findItemsByType($type, $first, $count); }