// Little fix on CSV
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10979 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+2
-2
@@ -38,11 +38,11 @@ class CSVCore
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Loads objects, filename and optionnaly a delimiter.
|
* Loads objects, filename and optionnaly a delimiter.
|
||||||
* @param Collection|Array : colletion of objects / array (of non-objects)
|
* @param Collection $collection collection of objects / array (of non-objects)
|
||||||
* @param string $filename : used later to save the file
|
* @param string $filename : used later to save the file
|
||||||
* @param string $delimiter Optional : delimiter used
|
* @param string $delimiter Optional : delimiter used
|
||||||
*/
|
*/
|
||||||
public function __construct(&$collection, $filename, $delimiter = ';')
|
public function __construct($collection, $filename, $delimiter = ';')
|
||||||
{
|
{
|
||||||
$this->filename = $filename;
|
$this->filename = $filename;
|
||||||
$this->delimiter = $delimiter;
|
$this->delimiter = $delimiter;
|
||||||
|
|||||||
Reference in New Issue
Block a user