Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 30. november 2021

Súbor: [Platon] / Metafox / doc / template-processing.txt (stiahnutie)

Revízia 1.2, Sat Aug 13 23:06:35 2005 UTC (16 years, 3 months ago) by nepto


Zmeny od 1.1: +2 -2 [lines]

Changed some string occurences of phpMyEzin to Metafox.

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
    

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok