Ticket #545: dynTpl.class.php

File dynTpl.class.php, 339 bytes (added by Lipki, 7 months ago)
Line 
1 <?php
2
3 class dynTpl {
4     
5     /**
6      * function ressource () :string
7       */
8     function home () {
9
10         $dao = jDao::get('module~dao');
11         $cond = jDao::createConditions();
12         $cond->addCondition('name', '=', 'home');
13         $list = $dao->findBy($cond);
14         $one = $list->fetch();
15
16         if($one) return $one->content;
17
18         return ;
19
20     }
21
22 }
23
24 ?>
Download in other formats: Original Format