Welcome Guest, Not a member yet? Register   Sign In
In views use <?php echo $title; ?> or <?=$title?> ?
#14

[eluser]EugeneS[/eluser]
[quote author="Georgi Budinov" date="1284397246"]
By complex logic I meant more complex [/quote]

for more complex logic you have Controller Smile

but in the view should be simple logic of data representation ...
simple flags, simple loops, simple functions like date(), include() etc. easy understanding things ... designer shouldnt know anything about OOP etc.

try to make your views as close to smarty attitude as possible. all designers can use and understand If-s and loops in smarty Smile

try alternative syntax, welcome to the club Wink


Messages In This Thread
In views use <?php echo $title; ?> or <?=$title?> ? - by El Forum - 09-13-2010, 06:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB