Word enclosed in {}

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
amir
Forum Contributor
Posts: 287
Joined: Sat Oct 07, 2006 4:28 pm

Word enclosed in {}

Post by amir »

I downloaded phpicalendar and I'm trying to follow the code. One template has several words enclosed in {}. For example,

Code: Select all

<td align="left" width="490" class="title"><h1>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
What are they?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Your system is using a template engine, it basically seperates the logic from the presentation.

Simply put, those values will be replaced after phpicalender has finished processing.
User avatar
MrPotatoes
Forum Regular
Posts: 617
Joined: Wed May 24, 2006 6:42 am

Post by MrPotatoes »

cool. i have a friend named amir.

sorry not to add to the convo. just thought that was cool
Post Reply