get('name'); } public function getFName() { return $this->get('fName'); } public function getSiren() { return $this->get('siren'); } public function getNameIdentifier() { return $this->get('nameIdentifier'); } public function getMatchCount() { return $this->get('matchCount'); } public function getNameType() { return $this->get('nameType'); } public function getIdClient() { return $this->get('idClient'); } public function getLogin() { return $this->get('login'); } public function setSession($param) { $session = new Zend_Session_Namespace($this->index); $session->name = $param->dirNom; $session->fName = $param->dirPrenom; $session->siren = $param->Siren; $session->nameIdentifier = $param->nameIdentifier; $session->matchCount = $param->matchCount; $session->nameType = $param->dirType; $session->idClient = $param->idClient; $session->login = $param->login; } protected function get($key) { $session = new Zend_Session_Namespace($this->index); return $session->$key; } }