Welcome Guest, Not a member yet? Register   Sign In
Poll: Improvement for Template Parser Class
You do not have permission to vote in this poll.
Yes!
68.75%
11 68.75%
No!
31.25%
5 31.25%
Total 16 vote(s) 100%
* You voted for this item. [Show Results]

Template Parser - class expansion
#1

Hello! As developers look at CodeIgniter is to expand in the future Template Parser Class and add new features?
Template Parser Class now allows you to use the following (Example):

Code:
{name}
- displays the name.

Code:
<ul>
{menu}
<li><a href="/{url}">{name}</a></li>
{/menu}
</ul>

- allow the use of cycle.

Very useful would be the use of conditions. Example:


Code:
{if is_target = 1} Hello world! {/if}

Code:
{if is_target = 1}
Hello world!
{else}
Goodbye world!
{/if}

and etc.

Will this functionality useful for you?
Reply


Messages In This Thread
Template Parser - class expansion - by condor - 02-14-2016, 01:55 PM
RE: Template Parser - class expansion - by condor - 02-15-2016, 01:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB