Gumdrop\Application::setPageCollection PHP Method

setPageCollection() public method

public setPageCollection ( $PageCollection )
    public function setPageCollection($PageCollection)
    {
        $this->PageCollection = $PageCollection;
    }

Usage Example

Ejemplo n.º 1
0
 public function writeHtmlFiles()
 {
     $this->app->getFileHandler()->clearDestinationLocation();
     foreach ($this->PageCollection as $key => $Page) {
         $this->PageCollection[$key]->writeHtmlFile($this->app->getDestinationLocation());
     }
     $this->app->setPageCollection($this->PageCollection);
 }