diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/download.php | 2 | ||||
-rw-r--r-- | examples/extract.php | 6 | ||||
-rw-r--r-- | examples/filtering.php | 6 | ||||
-rw-r--r-- | examples/json.php | 2 | ||||
-rw-r--r-- | examples/merge.php | 10 | ||||
-rw-r--r-- | examples/switchmode.php | 6 | ||||
-rw-r--r-- | examples/table.php | 2 | ||||
-rw-r--r-- | examples/writing.php | 4 | ||||
-rw-r--r-- | examples/xml.php | 2 |
9 files changed, 20 insertions, 20 deletions
diff --git a/examples/download.php b/examples/download.php index 150827c..1578b51 100644 --- a/examples/download.php +++ b/examples/download.php @@ -1,6 +1,6 @@ <?php -use Bakame\Csv\Reader; +use League\Csv\Reader; require '../vendor/autoload.php'; diff --git a/examples/extract.php b/examples/extract.php index 9e884fa..9fbdb81 100644 --- a/examples/extract.php +++ b/examples/extract.php @@ -1,6 +1,6 @@ <?php -use Bakame\Csv\Reader; +use League\Csv\Reader; require '../vendor/autoload.php'; @@ -18,11 +18,11 @@ $res = $inputCsv->setOffset(800)->setLimit(25)->fetchAll(); <html lang="fr"> <head> <meta charset="<?=$inputCsv->getEncoding()?>"> - <title>\Bakame\Csv\Reader simple usage</title> + <title>\League\Csv\Reader simple usage</title> <link rel="stylesheet" href="example.css"> </head> <body> -<h1>\Bakame\Csv\Reader simple usage</h1> +<h1>\League\Csv\Reader simple usage</h1> <table class="table-csv-data"> <caption>Part of the CSV from the 801th row with at most 25 rows</caption> <thead> diff --git a/examples/filtering.php b/examples/filtering.php index 61fcb4d..d4789fb 100644 --- a/examples/filtering.php +++ b/examples/filtering.php @@ -1,6 +1,6 @@ <?php -use Bakame\Csv\Reader; +use League\Csv\Reader; require '../vendor/autoload.php'; @@ -36,11 +36,11 @@ $headers = $inputCsv->fetchOne(0); <html lang="fr"> <head> <meta charset="<?=$inputCsv->getEncoding()?>"> - <title>\Bakame\Csv\Reader filtering method</title> + <title>\League\Csv\Reader filtering method</title> <link rel="stylesheet" href="example.css"> </head> <body> -<h1>Using the Bakame\Csv\Reader class filtering capabilities</h1> +<h1>Using the League\Csv\Reader class filtering capabilities</h1> <table class="table-csv-data"> <caption>Statistics for the 20 least used female name in the year 2010</caption> <thead> diff --git a/examples/json.php b/examples/json.php index a679fec..2dcc544 100644 --- a/examples/json.php +++ b/examples/json.php @@ -1,6 +1,6 @@ <?php -use Bakame\Csv\Reader; +use League\Csv\Reader; require '../vendor/autoload.php'; diff --git a/examples/merge.php b/examples/merge.php index cdb9624..848bcc2 100644 --- a/examples/merge.php +++ b/examples/merge.php @@ -1,7 +1,7 @@ <?php -use Bakame\Csv\Writer; -use Bakame\Csv\Reader; +use League\Csv\Writer; +use League\Csv\Reader; require '../vendor/autoload.php'; @@ -42,7 +42,7 @@ $csv2merge->setDelimiter(','); /* When merging multiples CSV documents don't forget to set the main CSV object - as a `Bakame\Csv\Writer` object with the $open_mode = 'a+' to preserve its content. + as a `League\Csv\Writer` object with the $open_mode = 'a+' to preserve its content. This setting is of course not required when your main CSV object is created from String */ @@ -55,7 +55,7 @@ $csv2merge->setDelimiter(','); <link rel="stylesheet" href="example.css"> </head> <body> -<h1>Using the Bakame\Csv\Writer class to merge two CSV documents</h1> +<h1>Using the League\Csv\Writer class to merge two CSV documents</h1> <h3>The main Raw CSV</h3> <p><em>The delimiter is a ";"</em></p> <pre> @@ -74,7 +74,7 @@ $csv2merge->setDelimiter(','); </pre> <h3>Tips</h3> <p> When merging multiples CSV documents don't forget to set the main CSV object - as a <code>Bakame\Csv\Writer</code> object with the <code>$open_mode = 'a+'</code> + as a <code>League\Csv\Writer</code> object with the <code>$open_mode = 'a+'</code> to preserve its content. This setting is of course not required when your main CSV object is created from String</p> </body> diff --git a/examples/switchmode.php b/examples/switchmode.php index df480eb..97f2391 100644 --- a/examples/switchmode.php +++ b/examples/switchmode.php @@ -1,6 +1,6 @@ <?php -use Bakame\Csv\Writer; +use League\Csv\Writer; require '../vendor/autoload.php'; @@ -56,11 +56,11 @@ $names = $reader <html lang="fr"> <head> <meta charset="utf-8"> - <title>Bakame\Csv\Writer and Bakame\Csv\Reader switching mode</title> + <title>League\Csv\Writer and League\Csv\Reader switching mode</title> <link rel="stylesheet" href="example.css"> </head> <body> -<h1>Using createFromString method and converting the Bakame\Csv\Writer into a Bakame\Csv\Reader</h1> +<h1>Using createFromString method and converting the League\Csv\Writer into a League\Csv\Reader</h1> <h3>The table representation of the csv to be save</h3> <?=$writer->toHTML();?> <h3>The Raw CSV as it will be saved</h3> diff --git a/examples/table.php b/examples/table.php index 5c26ddb..b81633d 100644 --- a/examples/table.php +++ b/examples/table.php @@ -1,6 +1,6 @@ <?php -use Bakame\Csv\Reader; +use League\Csv\Reader; require '../vendor/autoload.php'; diff --git a/examples/writing.php b/examples/writing.php index 948008a..811b8f7 100644 --- a/examples/writing.php +++ b/examples/writing.php @@ -1,6 +1,6 @@ <?php -use Bakame\Csv\Writer; +use League\Csv\Writer; require '../vendor/autoload.php'; @@ -27,7 +27,7 @@ $writer->insertAll($teams); <html lang="fr"> <head> <meta charset="<?=$writer->getEncoding()?>"> - <title>Using the \Bakame\Writer object</title> + <title>Using the \League\Writer object</title> <link rel="stylesheet" href="example.css"> </head> <body> diff --git a/examples/xml.php b/examples/xml.php index 82052cb..157081e 100644 --- a/examples/xml.php +++ b/examples/xml.php @@ -3,7 +3,7 @@ error_reporting(-1); ini_set('display_errors', 1); -use Bakame\Csv\Reader; +use League\Csv\Reader; require '../vendor/autoload.php'; |