From 6b250ef4be448d3c04d4a932befebb0b69b0c0b6 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 14 Jan 2008 15:04:19 -0500 Subject: [PATCH] Fixing some things in the Printer system * Printer.php: include PrinterNavigation.php * PrinterRootElementPage.php: (BSPrinterRootElementPage::get/setNavigator): Renamed from get/setNavigation() (BSPrinterRootElementPage::paint): Fix a parse error caused by a missing concat op --- Printer.php | 1 + PrinterRootElementPage.php | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Printer.php b/Printer.php index aaffea8..e40fc33 100644 --- a/Printer.php +++ b/Printer.php @@ -33,6 +33,7 @@ require_once(ISSO . '/PrinterRootElementPage.php'); require_once(ISSO . '/PrinterRootElementTable.php'); require_once(ISSO . '/PrinterRootElementForm.php'); require_once(ISSO . '/PrinterTableElement.php'); +require_once(ISSO . '/PrinterNavigation.php'); /** * Printer System diff --git a/PrinterRootElementPage.php b/PrinterRootElementPage.php index 14e622f..eb70ee0 100644 --- a/PrinterRootElementPage.php +++ b/PrinterRootElementPage.php @@ -80,7 +80,7 @@ class BSPrinterRootElementPage extends BSPrinterRootElement * * @param BSPrinterNavigation Navigator */ - public function setNavigation(BSPrinterNavigation $nav) + public function setNavigator(BSPrinterNavigation $nav) { $this->navigator = $nav; } @@ -90,7 +90,7 @@ class BSPrinterRootElementPage extends BSPrinterRootElement * * @return BSPrinterNavigation Navigation object */ - public function getNavigation() + public function getNavigatior() { return $this->navigatior; } @@ -286,7 +286,7 @@ class BSPrinterRootElementPage extends BSPrinterRootElement echo "\n"; echo "\n"; - echo "\n\t" . BSPrinter::get_realm() . " - " $this->title . ""; + echo "\n\t" . BSPrinter::get_realm() . " - " . $this->title . ""; echo "\n\t"; echo "\n\t"; echo "\n\n\n"; -- 2.43.5