예제 #1
0
 /**
  * Set defaults, etc.
  */
 public function __construct()
 {
     parent::__construct(func_get_args());
     $this->setBook();
     if (substr($this->bookInfo['options'], 0, 5) == '<?xml') {
         $args['stringXML'] = $this->bookInfo['options'];
         $this->xml = new GrlxXMLPublic($args);
         $this->xmlVersion = $this->xml->version;
         $this->routeVersion();
     }
     if (!$this->display) {
         $this->display = array('title', 'number');
     }
 }
 /**
  * Set defaults, etc.
  */
 public function __construct()
 {
     parent::__construct(func_get_args());
     $this->template = $this->templateFileList['comic'];
 }
 /**
  * Append some prep for static pages
  */
 public function buildPage()
 {
     parent::buildPage();
 }
 /**
  * Start generating output
  */
 public function buildPage()
 {
     $this->pageInfo['edit_this']['text'] = 'Edit archive page';
     $this->pageInfo['edit_this']['link'] = 'book.archive.php';
     if ($this->layout['behavior'] == 'multi' && $this->chapterNum) {
         $this->buildArchiveNavURLs();
         $this->showArchiveNav = true;
     }
     $this->buildHierarchy();
     $this->buildHeadline();
     $this->formatHierarchy();
     parent::buildPage();
 }