Open Power Template 2.0
| Copyright © Invenzzia Group 2008-2009 |
| Available under the terms of license: GNU Free Documentation License 1.2 |
| Generated: 06.07.2010 |
Table of Contents
- 1. Preface
- 2. Installation
- 3. Template syntax
- 3.1. Compiler modes
- 3.2. CDATA sections
- 3.3. XML Prolog and DTD
- 3.4. Entities
- 3.5. Expressions
- 3.6. Function reference
- 3.6.1. absolute()
- 3.6.2. autoLink()
- 3.6.3. average()
- 3.6.4. capitalize()
- 3.6.5. contains()
- 3.6.6. containsKey()
- 3.6.7. count()
- 3.6.8. countChars()
- 3.6.9. countSubstring()
- 3.6.10. countWords()
- 3.6.11. cycle()
- 3.6.12. date()
- 3.6.13. entity()
- 3.6.14. firstof()
- 3.6.15. indent()
- 3.6.16. isImage()
- 3.6.17. isUrl()
- 3.6.18. lower()
- 3.6.19. money()
- 3.6.20. nl2br()
- 3.6.21. number()
- 3.6.22. pad()
- 3.6.23. pluralize()
- 3.6.24. position()
- 3.6.25. range()
- 3.6.26. regexReplace()
- 3.6.27. replace()
- 3.6.28. scalar()
- 3.6.29. spacify()
- 3.6.30. stddev()
- 3.6.31. strip()
- 3.6.32. stripTags()
- 3.6.33. sum()
- 3.6.34. truncate()
- 3.6.35. upper()
- 3.6.36. wordWrap()
- 3.7. Instructions
- 3.7.1. opt:attribute
- 3.7.2. opt:block
- 3.7.3. opt:capture
- 3.7.4. opt:component
- 3.7.5. opt:dtd
- 3.7.6. opt:dynamic
- 3.7.7. opt:extend
- 3.7.8. opt:for
- 3.7.9. opt:foreach
- 3.7.10. opt:grid
- 3.7.11. opt:if
- 3.7.12. opt:include
- 3.7.13. opt:insert
- 3.7.14. opt:literal
- 3.7.15. opt:prolog
- 3.7.16. opt:put
- 3.7.17. opt:repeat
- 3.7.18. opt:root
- 3.7.19. opt:section
- 3.7.20. opt:selector
- 3.7.21. opt:separator
- 3.7.22. opt:show
- 3.7.23. opt:snippet
- 3.7.24. opt:tag
- 3.7.25. opt:tree
- 3.8. OPT attributes
- 3.9. Topics
- 4. Programmer's Guide
- 5. Extending OPT
- 6. Migration
- 7. API Reference
- 7.1. Opt_Class class
- 7.2. Opt_View class
- 7.2.1. __construct()
- 7.2.2. __get()
- 7.2.3. __isset()
- 7.2.4. __set()
- 7.2.5. __unset()
- 7.2.6. assign()
- 7.2.7. assignGlobal()
- 7.2.8. assignGroup()
- 7.2.9. assignGroupGlobal()
- 7.2.10. assignRef()
- 7.2.11. assignRefGlobal()
- 7.2.12. clear()
- 7.2.13. defined()
- 7.2.14. definedGlobal()
- 7.2.15. get()
- 7.2.16. getBranch()
- 7.2.17. getCache()
- 7.2.18. getGlobal()
- 7.2.19. getOutputBuffers()
- 7.2.20. getTemplate()
- 7.2.21. getTime()
- 7.2.22. hasDynamicContent()
- 7.2.23. inherit()
- 7.2.24. remove()
- 7.2.25. removeGlobal()
- 7.2.26. setBranch()
- 7.2.27. setCache()
- 7.2.28. setFormat()
- 7.2.29. setFormatGlobal()
- 7.2.30. setTemplate()
- 7.3. Opt_Output_Http class
- 7.4. Opt_Output_Return class
- 7.5. Opt_Compiler_Class class
- 7.5.1. __construct()
- 7.5.2. addDependantTemplate()
- 7.5.3. block()
- 7.5.4. cleanCompiler()
- 7.5.5. compile()
- 7.5.6. compileExpression()
- 7.5.7. component()
- 7.5.8. convert()
- 7.5.9. createFormat()
- 7.5.10. escape()
- 7.5.11. get()
- 7.5.12. getCurrentTemplate()
- 7.5.13. getFormat()
- 7.5.14. importDependencies()
- 7.5.15. inherits()
- 7.5.16. isBlock()
- 7.5.17. isClass()
- 7.5.18. isComponent()
- 7.5.19. isFunction()
- 7.5.20. isIdentifier()
- 7.5.21. isInstruction()
- 7.5.22. isNamespace()
- 7.5.23. isOptAttribute()
- 7.5.24. isProcessor()
- 7.5.25. parseEntities()
- 7.5.26. parseShortEntities()
- 7.5.27. processor()
- 7.5.28. set()
- 7.5.29. setConversion()
- 7.5.30. setFormatList()
- 7.5.31. setInheritance()
- 7.5.32. unsetConversion()
- 7.6. Opt_Compiler_Format class
- 7.7. Opt_Compiler_Processor class
- 7.7.1. __construct()
- 7.7.2. _addAttributes()
- 7.7.3. _addInstructions()
- 7.7.4. _enqueue()
- 7.7.5. _extractAttributes()
- 7.7.6. _process()
- 7.7.7. configure()
- 7.7.8. getName()
- 7.7.9. postprocessAttribute()
- 7.7.10. postprocessNode()
- 7.7.11. processAttribute()
- 7.7.12. processNode()
- 7.7.13. processSystemVar()
- 7.7.14. reset()
- 7.8. Opt_Xml_Attribute class
- 7.9. Opt_Xml_Buffer class
- 7.10. Opt_Xml_Cdata class
- 7.11. Opt_Xml_Comment class
- 7.12. Opt_Xml_Dtd class
- 7.13. Opt_Xml_Element class
- 7.14. Opt_Xml_Expression class
- 7.15. Opt_Xml_Node class
- 7.16. Opt_Xml_Prolog class
- 7.17. Opt_Xml_Root class
- 7.18. Opt_Xml_Scannable class
- 7.18.1. _testNode()
- 7.18.2. appendChild()
- 7.18.3. bringToEnd()
- 7.18.4. countChildren()
- 7.18.5. getChildren()
- 7.18.6. getElementsByTagName()
- 7.18.7. getElementsByTagNameNS()
- 7.18.8. getElementsExt()
- 7.18.9. getLastChild()
- 7.18.10. hasChildren()
- 7.18.11. insertBefore()
- 7.18.12. moveChildren()
- 7.18.13. removeChild()
- 7.18.14. removeChildren()
- 7.18.15. replaceChild()
- 7.18.16. sort()
- 7.19. Opt_Xml_Text class
- 7.20. Opt_Block_Interface
- 7.21. Opt_Caching_Interface
- 7.22. Opt_Component_Interface
- 7.23. Opt_Generator_Interface
- 7.24. Opt_Output_Interface class
- 8. Appendix