seinheit.ch/library/Katharsis/Controller/Plugin/Abstract.php
2013-07-08 22:14:56 +02:00

36 lines
No EOL
723 B
PHP

<?php
/**
* Abstract Controller Plugin
* All controller plugins must extend this class.
*
* @author Karl Pannek <info@katharsis.in>
* @version 0.5.2
* @package Katharsis
*/
abstract class Katharsis_Controller_Plugin_Abstract
{
public function __construct()
{
$this->_con = Katharsis_DatabaseConnector::getConnection();
}
/**
* Overwrite this method, if you want something to be processed
* _before_ the controller is called
*
* @return void
*/
public function preController()
{
}
/**
* Overwrite this method, if you want something to be processed
* _after_ the controller was called
*
* @return void
*/
public function postController()
{
}
}