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

Add formatoutput option to Xml::fromArray #1175

Merged
merged 1 commit into from Mar 13, 2013

Conversation

ceeram
Copy link
Contributor

@ceeram ceeram commented Mar 13, 2013

No description provided.

lorenzo added a commit that referenced this pull request Mar 13, 2013
Add formatoutput option to Xml::fromArray
@lorenzo lorenzo merged commit b5bac5b into cakephp:2.4 Mar 13, 2013
@@ -150,6 +150,7 @@ protected static function _loadXml($input, $options) {
* ### Options
*
* - `format` If create childs ('tags') or attributes ('attribute').
* - `formatOutput` Returns formatted Xml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about calling this option pretty? Its often called that in other tools. For example elasticsearch.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me, will change that

2013/3/13 Mark Story notifications@github.com

In lib/Cake/Utility/Xml.php:

@@ -150,6 +150,7 @@ protected static function _loadXml($input, $options) {

  • Options

  • - format If create childs ('tags') or attributes ('attribute').
    • * - formatOutput Returns formatted Xml

What about calling this option pretty? Its often called that in other
tools. For example elasticsearch.


Reply to this email directly or view it on GitHubhttps://github.com//pull/1175/files#r3353416
.

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.

None yet

3 participants