/**
  * Get a list of URLs to cache related to this page
  */
 function subPagesToCache()
 {
     $urls = parent::subPagesToCache();
     $numPages = 16;
     // To do: get this line working
     //$numPages = $this->getFlickrPage(1)->numPages();
     for ($i = 1; $i <= $numPages; $i++) {
         $urls[] = $this->Link() . 'page/' . $i;
     }
     return $urls;
 }
Example #2
0
 function subPagesToCache()
 {
     $urls = parent::subPagesToCache();
     $urls[] = $this->URLSegment . '/';
     return $urls;
 }