Ejemplo n.º 1
0
 /**
  * Initialise the controller
  */
 public function init()
 {
     parent::init();
 }
Ejemplo n.º 2
0
 /**
  * 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];
 }