File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed
Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ## [ 0.28.0] - 2024-01-10
11+
12+ ### Added
13+ - Page::renderView() now accepts an array of options as second argument, behaving same as Page::render() when passed an array of options.
14+
1015## [ 0.27.1] - 2023-10-12
1116
1217### Changed
Original file line number Diff line number Diff line change 11{
22 "title" : " Wireframe" ,
33 "summary" : " Wireframe is an output framework for ProcessWire CMS/CMF." ,
4- "version" : " 0.27.1 " ,
4+ "version" : " 0.28.0 " ,
55 "author" : " Teppo Koivula" ,
66 "href" : " https://wireframe-framework.com" ,
77 "requires" : [
Original file line number Diff line number Diff line change 1414 * @method static string|Page|NullPage page($source, $args = []) Static getter (factory) method for Pages.
1515 * @method static string|null partial(string $partial_name, array $args = []) Static getter (factory) method for Partials.
1616 *
17- * @version 0.27.1
17+ * @version 0.28.0
1818 * @author Teppo Koivula <teppo@wireframe-framework.com>
1919 * @license Mozilla Public License v2.0 https://mozilla.org/MPL/2.0/
2020 */
Original file line number Diff line number Diff line change 1010 *
1111 * @internal This class is only intended for use within the Wireframe internals.
1212 *
13- * @version 0.3 .0
13+ * @version 0.4 .0
1414 * @author Teppo Koivula <teppo@wireframe-framework.com>
1515 * @license Mozilla Public License v2.0 https://mozilla.org/MPL/2.0/
1616 */
@@ -174,8 +174,8 @@ protected function pageRenderView(HookEvent $event) {
174174 $ original_view = $ event ->object ->_wireframe_view ;
175175 $ original_view_template = $ event ->object ->_wireframe_view_template ;
176176 $ event ->object ->_wireframe_layout = '' ;
177- $ event ->object ->setView ($ event ->arguments [ 0 ] );
178- $ event ->return = $ event ->object ->render ();
177+ $ event ->object ->setView ($ event ->arguments ( 0 ) );
178+ $ event ->return = $ event ->object ->render ($ event -> arguments ( 1 ) );
179179 $ event ->object ->_wireframe_layout = $ original_layout ;
180180 $ event ->object ->_wireframe_view = $ original_view ;
181181 $ event ->object ->_wireframe_view_template = $ original_view_template ;
You can’t perform that action at this time.
0 commit comments