issue #0000930 : Liste des logs
This commit is contained in:
parent
a1fbf91740
commit
e9365a0d09
@ -9,6 +9,7 @@ Type[] = "Client"
|
||||
Type[] = "ListeDroitsReturn"
|
||||
Type[] = "ListCategoryReturn"
|
||||
Type[] = "ListePrefsReturn"
|
||||
Type[] = "ListeLogsReturn"
|
||||
Type[] = "ListeUtilisateursReturn"
|
||||
Type[] = "Utilisateur"
|
||||
Type[] = "LogsClientsReturn"
|
||||
|
@ -600,6 +600,22 @@ class Gestion extends WsScore
|
||||
}
|
||||
return $tabRet;
|
||||
}
|
||||
|
||||
/**
|
||||
* Retourne la liste des logs
|
||||
* @return ListeLogsReturn[]
|
||||
*/
|
||||
protected function getLogs()
|
||||
{
|
||||
$tabRet = array();
|
||||
foreach($this->logs as $code => $desc){
|
||||
$log = new ListeLogsReturn();
|
||||
$log->code = $code;
|
||||
$log->desc = $desc;
|
||||
$tabRet[] = $log;
|
||||
}
|
||||
return $tabRet;
|
||||
}
|
||||
|
||||
/**
|
||||
* Récupère les informations du profil connecté
|
||||
|
@ -270,6 +270,14 @@ class ListePrefsReturn
|
||||
public $desc;
|
||||
}
|
||||
|
||||
class ListeLogsReturn
|
||||
{
|
||||
/** @var string */
|
||||
public $code;
|
||||
/** @var string */
|
||||
public $desc;
|
||||
}
|
||||
|
||||
class ListeUtilisateursReturn
|
||||
{
|
||||
/** @var ErrorType */
|
||||
|
@ -224,13 +224,13 @@ class WsScore
|
||||
'label' => "Ratios",
|
||||
),
|
||||
'rapport1' => array(
|
||||
'label' => "",
|
||||
'label' => "Rapport complet 1",
|
||||
),
|
||||
'rapport2' => array(
|
||||
'label' => "",
|
||||
'label' => "Rapport complet 2",
|
||||
),
|
||||
'rapport3' => array(
|
||||
'label' => "",
|
||||
'label' => "Rapport complet 3",
|
||||
),
|
||||
'banque' => array(
|
||||
'label' => "Relations banquaires",
|
||||
|
Loading…
x
Reference in New Issue
Block a user