Changeset 4599 for trunk/modules/guestbook/controller/guestbook.module.php
- Timestamp:
- 08/27/10 23:01:58 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/guestbook/controller/guestbook.module.php
r4506 r4599 2 2 /** 3 3 * Clansuite - just an eSports CMS 4 * Jens-André Koch é 2005 - onwards4 * Jens-André Koch © 2005 - onwards 5 5 * http://www.clansuite.com/ 6 6 * … … 24 24 * 25 25 * @license GNU/GPL v2 or (at your option) any later version, see "/doc/LICENSE". 26 * 27 * @author Jens-André Koch <vain@clansuite.com> 28 * @author Florian Wolf <xsign.dll@clansuite.com> 29 * @copyright Jens-André Koch (2005 - onwards), Florian Wolf (2006-2007) 30 * 26 * @author Jens-André Koch <vain@clansuite.com> 27 * @copyright Jens-André Koch (2005 - onwards) 31 28 * @link http://www.clansuite.com 32 * @link http://gna.org/projects/clansuite33 34 29 * 35 30 * @version SVN: $Id$ … … 37 32 38 33 # Security Handler 39 if(defined('IN_CS') == false)34 if(defined('IN_CS') === false) 40 35 { 41 36 die('Clansuite not loaded. Direct Access forbidden.'); … … 45 40 * This is the Clansuite Module Class - Guestbook 46 41 * 47 * @author Jens-André Koch <vain@clansuite.com> 48 * @copyright Jens-André Koch (2005 - onwards) 49 42 * @author Jens-André Koch <vain@clansuite.com>, Florian Wolf <xsign.dll@clansuite.com> 43 * @copyright Jens-André Koch (2005 - onwards), Florian Wolf (2006-2007) 50 44 * 51 45 * @category Clansuite … … 53 47 * @subpackage Guestbook 54 48 */ 55 class Clansuite_Module_Guestbook extends Clansuite_Module_Controller implements Clansuite_Module_Interface49 class Clansuite_Module_Guestbook extends Clansuite_Module_Controller 56 50 { 57 51 /** 58 52 * Module_Guestbook -> Execute 59 53 */ 60 public function initializeModule( Clansuite_HttpRequest $request, Clansuite_HttpResponse $response)54 public function initializeModule() 61 55 { 62 56 parent::initModel('guestbook'); … … 70 64 # Defining initial variables 71 65 # Pager Chapter in Doctrine Manual -> http://www.phpdoctrine.org/documentation/manual/0_10?one-page#utilities 72 $currentPage = $this-> injector->instantiate('Clansuite_HttpRequest')->getParameter('page');66 $currentPage = $this->getHttpRequest()->getParameter('page'); 73 67 $resultsPerPage = 3; 74 68 … … 119 113 #$SmartyPaginate->assign($tpl); 120 114 121 $bbcode = new Clansuite_Bbcode($this-> injector);115 $bbcode = new Clansuite_Bbcode($this->getInjector()); 122 116 123 117 // Set 'not specified's
Note: See TracChangeset
for help on using the changeset viewer.
