Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to update toXml() method. #1

Open
wants to merge 93 commits into
base: master
Choose a base branch
from

Conversation

tehzu9
Copy link

@tehzu9 tehzu9 commented Mar 4, 2020

Hello,
Requirement is to generate xml from array or json and toXml() method sets root element to be .

it should accept $structure = null, $basenode = 'xml', $encoding = 'utf-8', $formatted = false optionally.

AustinW and others added 30 commits December 10, 2012 01:17
Added JSON_NUMERIC_CHECK flag to json_encode() function.
…he to_csv()

Signed-off-by: Daniel Berry <daniel@danielberry.me>
Signed-off-by: Daniel Berry <daniel@danielberry.me>
…be passed.

Signed-off-by: Daniel Berry <daniel@danielberry.me>
The boolean logic in the delimiter was causing an error.  
In the original FuelPHP class, it's checking for a delimiter either 
passed into the method, or in the config.  Since the delimiter is 
now passed through the attributes array, the 'or' can't find 
a default '$delimiter' and throws a undefined variable error.  
The array get checks for the delimiter in both the attribute array
and the config array, so it's safe to remove.  
Remove delimiter boolean logic
Converts our booleans to integer values so that they are not converted
to blank values when processed.
Updated readme with installation instructions and fixed example typos
Make compatible with Laravel 4.1
added all the necessary test cases.
Jaspaul and others added 30 commits October 19, 2014 21:07
Conflicts:
	readme.md
	src/config/formatter.php
Laravel Formatter 2.0
Added the possibility to add the base node for xml export
- Update composer.json
- Upgrade to PSR-4
- add parameter newline, delimiter, enclosure, and escape to export csv
- When converting a XML to an array, convert @attributes to _attribute_
- add parameter encoding and formated to export xml
- JSON parse fix (Instead of only converting the first level to array,
use the associative array parameter with true, so all levels will be
decoded to array structure)
- Add support for laravel 5
- add package discovery for laravel 5
[Bugfix] Removes Duplicate and Unused Use Statements
The problem was that the version of the tag and the version in composer
json are not the same in tag 3.1 so it couldn't get found by composer.
Fixed problem for composer require
Update package to support Laravel 6, phpunit 8 and PHP 7.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.