From 0d126084ce7dedbea499cb9a5e52eff784d8853b Mon Sep 17 00:00:00 2001 From: shish Date: Tue, 4 Dec 2007 22:24:58 +0000 Subject: [PATCH] move subclass to below main class, for consistency with later work git-svn-id: file:///home/shish/svn/shimmie2/trunk@622 7f39781d-f577-437e-ae19-be835c7a54ca --- core/block.class.php | 9 +++++++++ core/navblock.class.php | 10 ---------- 2 files changed, 9 insertions(+), 10 deletions(-) delete mode 100644 core/navblock.class.php diff --git a/core/block.class.php b/core/block.class.php index 6a740e36..737841e5 100644 --- a/core/block.class.php +++ b/core/block.class.php @@ -12,4 +12,13 @@ class Block { $this->position = $position; } } + +class NavBlock extends Block { + public function NavBlock() { + $this->header = "Navigation"; + $this->body = "Index"; + $this->section = "left"; + $this->position = 0; + } +} ?> diff --git a/core/navblock.class.php b/core/navblock.class.php deleted file mode 100644 index e56cdae3..00000000 --- a/core/navblock.class.php +++ /dev/null @@ -1,10 +0,0 @@ -header = "Navigation"; - $this->body = "Index"; - $this->section = "left"; - $this->position = 0; - } -} -?>