Ajout méthode getPortefeuilleCsv, issue #0000379
This commit is contained in:
parent
deb666c66d
commit
47a705ef00
@ -2350,9 +2350,12 @@ class WsInterne
|
||||
return $output;
|
||||
}
|
||||
|
||||
/** Enter description here...
|
||||
** @nodoc
|
||||
**/
|
||||
/**
|
||||
* Enter description here...
|
||||
* @param string $siren
|
||||
* @param int $idDepot
|
||||
* @return
|
||||
*/
|
||||
protected function getMarques($siren, $idDepot=0) {
|
||||
debugLog('I',"Liste des marques déposées pour le siren $siren",__LINE__,__FILE__, __FUNCTION__, __CLASS__);
|
||||
|
||||
@ -3071,12 +3074,12 @@ class WsInterne
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Enter description here ...
|
||||
* @param unknown_type $login
|
||||
* @param unknown_type $idClient
|
||||
* getPortefeuilleCsv
|
||||
* @param string $login
|
||||
* @param int $idClient
|
||||
* @return ListeSurveillancesCsvReturn
|
||||
*/
|
||||
protected function getPortefeuilleCsv($login='', $idClient=0)
|
||||
public function getPortefeuilleCsv($login='', $idClient=0)
|
||||
{
|
||||
return $this->getListeSurveillancesCsv('portefeuille', $login, $idClient);
|
||||
}
|
||||
@ -3676,14 +3679,23 @@ class WsInterne
|
||||
}
|
||||
|
||||
/**
|
||||
* @nodoc
|
||||
*
|
||||
* @param unknown_type $login
|
||||
* @param unknown_type $ref
|
||||
* @param unknown_type $nomFic
|
||||
* @return unknown
|
||||
* getListeFichierSurv
|
||||
* @param string $login
|
||||
* @param string $ref
|
||||
* @param string $nomFic
|
||||
* @return ListeFichierSurvReturn
|
||||
*/
|
||||
protected function getListeFichierSurv($login, $ref='*', $nomFic='') {
|
||||
protected function getListeFichierSurv($login, $ref='*', $nomFic='')
|
||||
{
|
||||
//Authentification
|
||||
if (!$this->checkAuth($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW'], $_SERVER['REMOTE_ADDR']))
|
||||
{
|
||||
throw new SoapFault('900','Identifiant ou mot de passe incorrect !');
|
||||
exit;
|
||||
}
|
||||
|
||||
//Initialisation
|
||||
$error = new ErrorType();
|
||||
|
||||
//@sendMail('production@scores-decisions.com', 'ylenaour@scores-decisions.com', "getListeFichierSurv pour $login, $ref, $nomFic", 'vide');
|
||||
debugLog('I',"getListeFichierSurv pour $login, $ref, $nomFic",__LINE__,__FILE__, __FUNCTION__, __CLASS__);
|
||||
@ -3698,7 +3710,7 @@ class WsInterne
|
||||
$repClient='cnasea';
|
||||
$ficClient='surveillanceBodacc_SURBODTSTFTSCNASEA';
|
||||
}
|
||||
$dh = opendir("/home/data/clients/$repClient/");
|
||||
$dh = opendir("/home/data/clients/$repClient/");
|
||||
|
||||
while (false !== ($filename = readdir($dh))) {
|
||||
if ($filename<>'.' && $filename<>'..' && substr($filename, -4)=='.csv' && substr($filename,0,42)==$ficClient.$numAbo) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user