From d7c59f4bd416a1c69e0b7194106ee4f45ac699b8 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 13 Jan 2006 02:07:20 +0000 Subject: [PATCH] Adding init_as_package() to the two modules that are superclassed --- db.php | 13 +++++++++++++ template.php | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/db.php b/db.php index 376df98..df1f839 100644 --- a/db.php +++ b/db.php @@ -147,6 +147,19 @@ class DB_Abstract $this->__construct($registry); } + // ################################################################### + /** + * Initializes the class and all subclasses under a common package name + * + * @access protected + * + * @return string The package name + */ + function init_as_package() + { + return 'db'; + } + // ################################################################### /** * Connect to a the specified database diff --git a/template.php b/template.php index c8e2024..2a4071c 100644 --- a/template.php +++ b/template.php @@ -161,6 +161,19 @@ class Template $this->__construct($registry); } + // ################################################################### + /** + * Initializes the class and all subclasses under a common package name + * + * @access protected + * + * @return string The package name + */ + function init_as_package() + { + return 'template'; + } + // ################################################################### /** * Sets an ISSO field -- 2.43.5