Location: PHPKode > scripts > xmlSiteMaker > xmlsitemaker/include/Page/PageClasses/PageFP.php
<?php

load_class( 'Page/PageClasses/PageBase.php' );

class PageFP extends PageBase{

  function PageFP(){
    $this->PageBase();

    $this->pageId = 'index';

    $this->elements[] = new ElementForStub(
      array( 'params' => array( 'text' => "#page_content#\n#news#" ) )
    );

    // #page_content#
    $this->elements[] = new ElementFromFile(
      array( 'name' => 'page_content', 'params' => array( 'fileName' => 'pages:fp.xml' ) )
    );

    // #news#
    $this->elements[] = new ElementFromFile(
      array( 'name' => 'news', 'params' => array( 'fileName' => 'db-xml:news.xml' ) )
    );

    $this->xsltName = 'fp-page.xsl';
  }

} // end class

?>
Return current item: xmlSiteMaker