Menu

ClsLTemplate

Aruna Devi

ClassName:ClsLTemplate

Constructor:

     public function __construct($moduleName="",&$templateContent="")

Methods:

1).addVar

     public function &addVar($name,$text="")

2).addRepeat

     public function &addRepeat($name)

3).getTemplateLoaderVars

     private function getTemplateLoaderVars($template,$arrOtherTplVar)

4).setContentByName

     private function setContentByName($templateName)

5).render

     public function &render($arrOtherTplVar=array())

ClassName: ClsLTemplateVar

Constructor:

     function __construct($name,$text="")

Methods:

1).addAttribute

     function addAttribute($attrName,$attrValue)

2).render

     function render()

ClassName:ClsLTemplateRepeat

Methods:

1).addVar

     public function &addVar($name,$text="")

2).addRow

     public function addRow()

3).render

     function render()


Related

Wiki: File Structure

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.