Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 9. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  Metafox  »  Dokumentácia  »  TXT  »  template-processing.txt

Metafox/txt/template-processing.txt

Metafox template processing
---------------------------

1. Load and init template engine
2. Fetch section or article from DB
2. Get template key and name
3. Create main template object 
4. Set section data
5. if isVar $section_items
	5a. Create section_item template object
	5b. Fetch section_items from DB
	5c. foreach section_items entry set section_item data
	5d. Join section_items data together
	5e. Set section_items
6. if isVar $article_items
	6a. Create article_item template object
	6b. Fetch article_items from DB
	6c. foreach article_items entry set article_item data
	6d. Join article_items data together
	6e. Set article_items
7. if article
	7a. Set article data
	7b. if isVar $message_items
		7ba. mesage process bla bla bla
		7bb. Set message_items
	7c. if isVar $message_items
		7ca. mesage process bla bla bla
		7cb. Set message_items
8. if message
	8a. Set message data
8. Set basic properties:
		ezin_name
		ezin_url
		ezin_encoding
		ezin_charset
		ezin_count
		ezin_theme_dir
		ezin_theme_url
		ezin_debug
		ezin_datetime
		ezin_date
		ezin_time
		ezin_software_name
		ezin_software_version
		ezin_software_signature
		ezin_software_url
		ezin_cgi_input
		ezin_cgi_output
		ezin_message_id
		ezin_article_id
		ezin_section_id
		ezin_lang
	

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov