コード例 #1
0
ファイル: note.php プロジェクト: anatoliychakkaev/webdesk
 function __init()
 {
     parent::__init();
     $this->tpl->add_secondary('tags', db_fetch_array('SELECT name FROM tag ORDER BY name'));
 }
コード例 #2
0
ファイル: outlay.php プロジェクト: anatoliychakkaev/webdesk
 function edit()
 {
     $this->tpl->add('outlay', db_fetch_one('SELECT * FROM outlay WHERE id = ' . $this->entity_id));
     parent::edit();
 }