/** * Constructor */ public function __construct() { parent::__construct(); if ($this->getAction() == "list") { $this->setAction("listNewsAndCategories"); } }