-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7126 from addngr/feat-renderSection-saveData-4.4
feat: `renderSection` option to retained data
- Loading branch information
Showing
7 changed files
with
128 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?= $this->extend('layout_welcome') ?> | ||
|
||
<?= $this->section('page_title') ?> | ||
<?= $pageTitle ?> | ||
<?= $this->endSection() ?> | ||
|
||
<?= $this->section('content') ?> | ||
<?= $testString ?> | ||
<?= $this->endSection() ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<title><?= $this->renderSection('page_title', true) ?></title> | ||
<h1><?= $this->renderSection('page_title') ?></h1> | ||
<p><?= $this->renderSection('content') ?></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ See all the changes. | |
.. toctree:: | ||
:titlesonly: | ||
|
||
v4.4.0 | ||
v4.3.2 | ||
v4.3.1 | ||
v4.3.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
Version 4.4.0 | ||
############# | ||
|
||
Release Date: Unreleased | ||
|
||
**4.4.0 release of CodeIgniter4** | ||
|
||
.. contents:: | ||
:local: | ||
:depth: 3 | ||
|
||
Highlights | ||
********** | ||
|
||
- TBD | ||
|
||
BREAKING | ||
******** | ||
|
||
Behavior Changes | ||
================ | ||
|
||
Interface Changes | ||
================= | ||
|
||
Method Signature Changes | ||
======================== | ||
|
||
Enhancements | ||
************ | ||
|
||
Commands | ||
======== | ||
|
||
Testing | ||
======= | ||
|
||
Database | ||
======== | ||
|
||
Query Builder | ||
------------- | ||
|
||
Forge | ||
----- | ||
|
||
Others | ||
------ | ||
|
||
Model | ||
===== | ||
|
||
Libraries | ||
========= | ||
|
||
Helpers and Functions | ||
===================== | ||
|
||
Others | ||
====== | ||
- **View:** Added optional 2nd parameter ``$saveData`` on ``renderSection()`` to prevent from auto cleans the data after displaying. See :ref:`View Layouts <creating-a-layout>` for details. | ||
|
||
|
||
Message Changes | ||
*************** | ||
|
||
Changes | ||
******* | ||
|
||
Deprecations | ||
************ | ||
|
||
Bugs Fixed | ||
********** | ||
|
||
See the repo's | ||
`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md>`_ | ||
for a complete list of bugs fixed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters