/trunk/jrest/services/TestCreationDossier.php |
---|
New file |
0,0 → 1,20 |
<?php |
class TestCreationDossier { |
var $config; |
public function __construct($config) { |
$this->config = $config; |
} |
public function getRessource() { |
$id_nouvelle_image = 95001; |
$format = 'XL'; |
$manipulateurImage = new ImageRecreation($this->config); |
$fichier_stocke = $manipulateurImage->creerSiNecessaireEtRenvoyerCheminStockageFichierPourIdEtFormat($id_nouvelle_image, $format); |
echo $fichier_stocke; |
} |
} |
?> |