From: cajus Date: Mon, 12 Nov 2007 13:36:52 +0000 (+0000) Subject: Defined interface X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=767bcf74138bd6128121571e44ee3bd658388ac1;p=gosa.git Defined interface git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-playground@7774 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_ObjectListViewport.inc b/include/class_ObjectListViewport.inc index f46744c73..08c5632bd 100644 --- a/include/class_ObjectListViewport.inc +++ b/include/class_ObjectListViewport.inc @@ -23,7 +23,7 @@ class ObjectListViewportException extends Exception { \sa ObjectList */ -class ObjectListViewport { +class ObjectListViewport implements GOsaGuiElement { /* Internal variable for color alternation */ protected $colorAlternator= 0; @@ -101,7 +101,7 @@ class ObjectListViewport { \return bool for if changes are present or not */ - private function process(){ + public function process(){ /* TODO: process input */ return FALSE; diff --git a/include/interface_GOsaGuiElement.inc b/include/interface_GOsaGuiElement.inc index 7957dbafe..136742b2e 100644 --- a/include/interface_GOsaGuiElement.inc +++ b/include/interface_GOsaGuiElement.inc @@ -5,11 +5,12 @@ \version 1.00 \date 2007/11/02 - This interface describes what we need to filter a string + This interface describes what we need to display an element in the GUI for use with list objects. */ interface GOsaGuiElement { - static public function filter($string); + public function process(); + public function render(); } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: