/** * Initialise the controller */ public function init() { parent::init(); }
/** * We register the search form on the page controller here. * * @param string $widget Not documented in parent class unfortunately * * @author Sascha Koehler <*****@*****.**> * @since 04.01.2013 */ public function __construct($widget = null) { parent::__construct($widget); // Initialize or increment the Counter for the form class if (!isset(self::$classInstanceCounter[$this->class])) { self::$classInstanceCounter[$this->class] = 0; } else { self::$classInstanceCounter[$this->class]++; } $this->classInstanceIdx = self::$classInstanceCounter[$this->class]; }