Diff
333
345
345
recently_visited.php
  |
24 | 24 | | function initialize() { |
| |
25 | 25 | | $this->_content = 'dummy text'; |
| |
26 | 26 | | } |
  |
27 | | - | |
| |
28 | | - | function install() { |
| |
29 | | - | global $osC_Database; |
| |
30 | | - | |
| |
31 | | - | $Qinstall = $osC_Database->query('insert into :table_templates_boxes (title, code, author_name, author_www, modules_group) values (:title, :code, :author_name, :author_www, :modules_group)'); |
| |
32 | | - | $Qinstall->bindTable(':table_templates_boxes', TABLE_TEMPLATES_BOXES); |
| |
33 | | - | $Qinstall->bindValue(':title', $this->_title); |
| |
34 | | - | $Qinstall->bindValue(':code', $this->_code); |
| |
35 | | - | $Qinstall->bindValue(':author_name', $this->_author_name); |
| |
36 | | - | $Qinstall->bindValue(':author_www', $this->_author_www); |
| |
37 | | - | $Qinstall->bindValue(':modules_group', $this->_group); |
| |
38 | | - | $Qinstall->execute(); |
| |
39 | | - | } |
  |
40 | 27 | | } |
| |
41 | 28 | | ?> |
|