- Timestamp:
- 08/27/10 23:01:58 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/staticpages/controller/staticpages.module.php
r4506 r4599 24 24 * 25 25 * @license GNU/GPL v2 or (at your option) any later version, see "/doc/LICENSE". 26 *27 26 * @author Jens-André Koch <vain@clansuite.com> 28 27 * @copyright Jens-André Koch (2005 - onwards) 29 *30 28 * @link http://www.clansuite.com 31 * @link http://gna.org/projects/clansuite32 33 29 * 34 30 * @version SVN: $Id: index.module.php 2625 2008-12-09 00:04:43Z vain $ … … 36 32 37 33 # Security Handler 38 if (defined('IN_CS') == false)34 if (defined('IN_CS') === false) 39 35 { 40 36 die('Clansuite not loaded. Direct Access forbidden.'); … … 45 41 * 46 42 */ 47 class Clansuite_Module_Staticpages extends Clansuite_Module_Controller implements Clansuite_Module_Interface43 class Clansuite_Module_Staticpages extends Clansuite_Module_Controller 48 44 { 49 45 /** 50 46 * Module_Staticpages -> Execute 51 47 */ 52 public function initializeModule( Clansuite_HttpRequest $request, Clansuite_HttpResponse $response)48 public function initializeModule() 53 49 { 54 50 # read module config … … 63 59 public function action_show() 64 60 { 65 $page = (string) $this->injector->instantiate('Clansuite_HttpRequest')->getParameter('page'); 61 $page = (string) $this->request->getParameterFromGet('page'); 62 63 var_dump($page); 66 64 67 65 // if no page is requested, show overview … … 75 73 76 74 // get inputfilter class 77 #$input = $this-> injector->instantiate('Clansuite_Inputfilter');75 #$input = $this->getInjector()->instantiate('Clansuite_Inputfilter'); 78 76 79 77 // check if page was set and is sanitized # and $input->check( $page, 'is_abc|is_int|is_custom', '_\s' )
Note: See TracChangeset
for help on using the changeset viewer.
