/** * Wrapper to the main action: update the first time property and redirect * @return void */ public function index() { //redirect to the usual tao/Main/index if ($this->hasRequestParameter('ext') || $this->hasRequestParameter('structure')) { //but before update the first time property $user = $this->userService->getCurrentUser(); if ($this->hasRequestParameter('nosplash')) { TaoCe::becomeVeteran(); } //@todo use forward on cross-extension forward is supported $this->redirect(_url('index', 'Main', 'tao', array('ext' => $this->getRequestParameter('ext'), 'structure' => $this->getRequestParameter('structure')))); } else { //render the index but with the taoCe URL used by client side routes parent::index(); } }
public function getSectionTrees() { parent::getSectionTrees(); }
public function __construct() { parent::__construct(); }