Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Štvrtok, 28. marec 2024

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

Revízia 1.1, Sun Jun 5 12:13:49 2005 UTC (18 years, 9 months ago) by nepto

Metafox content management system (CMS) was finally imported
into the Platon Group CVS repository in version 0.8.10

phpMyEzin 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