select() ->where('id = ?', $id); $result = $this->getAdapter()->fetchAll($sql); return $result; } public function getCommandesKbisBySiren($siren) { $sql = $this->select() ->where('siren = ?', $siren) ->order('dateCommande ASC'); $result = $this->getAdapter()->fetchAll($sql); return $result; } }