• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Do CI template parser support control statements?


I'm wondering if CI template parser support control statements (if, elseif, else). I can't find that in the user guide.


[eluser]Pascal Kriete[/eluser]
It does not. The template parser is very simple, but you could extend it to fit your needs.


So it's not the same template parser used here:


[eluser]Pascal Kriete[/eluser]
No, expressionengine is a standalone product, with it's own libraries. The ci parser doesn't even come close.

But what does this mean then "ExpressionEngine 2.0: fully CodeIgnited!"


[eluser]Pascal Kriete[/eluser]
That means that ExpressionEngine will be based on CodeIgniter - not CodeIgniter will be ExpressionEngine. Like any application it will have custom libraries and helpers. If you look at the code for the EE template parser (download the free version, it's in: system/core/core.template.php) you will see that it is very specific to the application.

OK, I got it. Thanks for the clarification Smile

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.