XBRL for PHP - Manual

XBRL::perseCsv

(PHP 4, PHP 5)

- Analyzing CSV, and it is returned by the array, and outputs it

Description

public XBRL::perseCsv ( string $file [, int $print ] )

Parameters

$file
Each element of the specified CSV file is returned by the array.
$print
When '1' is specified, it displays information about each element of the CSV file in a way that's readable by humans.

Examples 1

$file = "test.xml";

require_once("/xbrlphp/xml/XBRL.php");
$xbrl = new XBRL();
$array = $xbrl->perseCsv($file);
var_dump($array);

Examples 2

$file = "test.xml";

require_once("/xbrlphp/xml/XBRL.php");
$xbrl = new XBRL();
$xbrl->perseCsv($file, 1);

XBRL for PHP - Manual

XBRL for PHP