<?php
load_class( 'Page/PageClasses/Page.php' );
load_class( 'Element/ElementForStub.php' );
load_class( 'Element/ElementFromFile.php' );
load_class( 'Element/ElementPageId.php' );
class PageBase extends Page{
function PageBase(){
$this->Page();
$this->elements[] = new ElementForStub(
array( 'params' => array( 'text' => "#common#\n#pages#\n#add_elements_here#\n" ) )
);
// #common#
$this->elements[] = new ElementFromFile(
array( 'name' => 'common', 'params' => array( 'fileName' => 'db-xml:common.xml' ) )
);
// #pages#
$this->elements[] = new ElementFromFile(
array( 'name' => 'pages', 'params' => array( 'fileName' => 'db-xml:pages.xml' ) )
);
}
} // end class
?>