Skip to content

[3.0] Adding generateJson to Html/Builder #29

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

Merged
merged 3 commits into from
Sep 14, 2017
Merged

[3.0] Adding generateJson to Html/Builder #29

merged 3 commits into from
Sep 14, 2017

Conversation

lk77
Copy link
Contributor

@lk77 lk77 commented Sep 13, 2017

Hello,

i'm adding generateJson method to Html/Builder and i'm changing generateScripts to use this new method.

it's allowing to recover the json config of the datatable and not the entire script, it's mainly usefull with detail table functionnality.

thanks.

@@ -105,14 +105,28 @@ public function scripts($script = null, array $attributes = ['type' => 'text/jav

return new HtmlString("<script{$attributes}>{$script}</script>\n");
}

Copy link
Owner

Choose a reason for hiding this comment

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

Please remove the extra space.

}

/**
* Get generated json configuration
Copy link
Owner

Choose a reason for hiding this comment

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

Missing period.

@yajra
Copy link
Owner

yajra commented Sep 14, 2017

Kindly fix the cs and I think this is good to merge. Thanks!

@yajra yajra changed the title Adding generateJson to Html/Builder [3.0] Adding generateJson to Html/Builder Sep 14, 2017
@yajra yajra merged commit 3267534 into yajra:3.0 Sep 14, 2017
@yajra
Copy link
Owner

yajra commented Sep 14, 2017

Released on v3.1.0, thanks!

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.

2 participants