Ajout service export

This commit is contained in:
Michael RICOIS 2011-10-24 09:03:14 +00:00
parent ecebb1644d
commit 1dbd519a93
5 changed files with 57 additions and 1 deletions

View File

@ -0,0 +1,3 @@
[0.1]
actif = true;
defaut = true;

View File

View File

@ -0,0 +1,34 @@
<?php
require_once 'WsScore/WsScore.php';
require_once realpath(dirname(__FILE__)).'/Types.php';
class Export extends WsScore
{
protected $elements = array(
'naf' => array(
'entete' => array("codNaf", "libNaf"),
'sql' => "SELECT codNaf5 AS codNaf, libNaf5 AS libNaf FROM jo.tabNaf5 UNION SELECT codNaf700 AS codNaf, libNaf700 AS libNaf FROM jo.tabNaf4 ORDER BY codNaf",
),
);
/**
* Retourne la liste des élements disponible
* @return Elements[]
*/
public function getElements()
{
}
/**
* Enter description here ...
* @param string $key
* @return string
*/
public function getDataCSV($key)
{
}
}

View File

@ -0,0 +1,15 @@
<?php
class Elements
{
/**
* Enter description here ...
* @var string
*/
public $cle;
/**
* Enter description here ...
* @var string
*/
public $desc;
}

View File

@ -11,4 +11,8 @@ idClient = 1;
[extraction]
actif = true;
idClient = 1;
idClient = 1;
[export]
actif = true;
idClient = 1;