Home
Accueil
Downloads
Téléchargements
Forums
Forums
Your Account
Votre compte
Menu
· Accueil ·

· Communication ·
  · Forums
  · Messages privés
  · Contactez nous
  · Recommendez nous
  · Sondages
  · Les projets

· Nouvelles ·Stats
  · Sujets
  · Ecrire un article
  · Articles archivés
  · Articles RSS
  · Lettre de sécurité
  · Archive de lettres

· Téléchargements ·
  · Accueil
  · Nouveautés
  · Mises à jour
  · Thêmes

· Outils ·
  · Outils divers
  · Convertisseur de temps
  · Table de caractères
  · Générateur de boutons
  · Compresseur Javascript

· Documentation ·
  · Wiki
  · Questions/Réponses
  · Documents
  · Manuel PHP-Nuke
  · Manuel PHP
  · Manuel PEAR
  · Encyclopédies

· Liens ·
  · Nos liens
  · Nos fluxs RSS
  · Partenaires
  · Votre publicité
  · Sitemap
  · Mes bannières

· Infos ·
  · Rechercher
  · Votre compte
  · Liste des membres
  · Carte des membres
  · Top

· Divers ·
  · Météo
  · Galeries
  · Statistiques Phpnuke
  · MS Analysis


HTML_Template_Sigma

HTML_Template_Sigma

Table des matières
Introduction - template syntax -- Creating and editing templates
Introduction - cache -- How Sigma caches the "prepared" templates
constructor HTML_Template_Sigma() -- constructor
addBlock() -- Adds a block to the template
addBlockfile() -- Adds a block contained in the file to the template
blockExists() -- Checks if the block exists in the template
clearVariables() -- Clears the variables
errorMessage() -- Returns a textual error message for an error code
get() -- Returns a block with all replacements done.
getBlockList() -- Returns a list of blocks within a template.
getCurrentBlock() -- Returns the current block name
getPlaceholderList() -- Returns a list of placeholders within a block.
hideBlock() -- Hides the block even if it is not "empty".
loadTemplateFile() -- Loads a template file.
parse() -- Parses the given block.
parseCurrentBlock() -- Parses the current block
placeholderExists() -- Checks whether the placeholder exists
replaceBlock() -- Replaces an existing block with new content.
replaceBlockfile() -- Replaces an existing block with new content from a file.
setCacheRoot() -- Sets the directory to cache "prepared" templates in.
setCallbackFunction() -- Sets a callback function.
setCurrentBlock() -- Sets the name of the current block.
setGlobalVariable() -- Sets a global variable value.
setOption() -- Sets the option for the template class
setRoot() -- Sets the file root for templates.
setTemplate() -- Sets the template.
setVariable() -- Sets a variable value.
show() -- Prints a block with all replacements done.
touchBlock() -- Preserves the block even if empty blocks should be removed.

HTML_Template_Sigma: implentation de l'API Integrated Templates avec la possibilité ajoutée de compiler ses templates.

Arbre des classes pour HTML_Template_Sigma()

  • PEAR

    • HTML_Template_Sigma


Manuel PEAR pour PHP-Nuke © www.stefvar.com
Syndiquez notre contenu RSS, Atom, etc..
PHP-Nuke © 2007Reproduction interdite sans autorisation de ma part www.stefvar.com Copyright © 2008Thème iCGstation
Site français de la communauté PragmaMx