public function executeIndex(sfWebRequest $request) { $documentation = new sfRestDoc(); $this->ressource = $documentation->getRessources($request->getParameter("section")); }