_forward('entreprise', 'recherche'); } public function portefeuillecsvAction() { $this->_helper->layout()->disableLayout(); $this->_helper->viewRenderer->setNoRender(true); require_once 'Scores/WsScores.php'; require_once 'Scores/Utilisateur.php'; $user = new Utilisateur(); $login = $user->getLogin(); $idClient = $user->getIdClient(); $ws = new WsScores(); $reponse = $ws->getPortefeuilleCsv($login, $idClient); if ($reponse === false){ echo "Erreur"; } elseif (!empty($reponse->result->Url)) { echo $reponse->result->Url; } } }