XOOPS  2.6.0
userconfigs.php
Go to the documentation of this file.
1 <?php
2 /*
3  You may not change or alter any portion of this comment or credits
4  of supporting developers from this source code or any supporting source code
5  which is considered copyrighted (c) material of the original comment or credit authors.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10  */
11 
23 {
36  public function categories()
37  {
38  $categories['cat_options'] = array(
39  'name' => _MI_LOGGER_UCONF_CAT_OPT,
41  );
42  return $categories;
43  }
44 
59  public function configs()
60  {
61  $config[]=array(
62  'name' => 'logger_enable',
63  'title' => '_MI_LOGGER_UCONF_ENABLE_BAR',
64  'description' => '',
65  'formtype' => 'yesno',
66  'valuetype' => 'int',
67  'default' => 0,
68  'options' => array(),
69  'category' => 'cat_options'
70  );
71 
72  $config[] = array(
73  'name' => 'logger_popup',
74  'title' => '_MI_LOGGER_UCONF_POPUP',
75  'description' => '',
76  'formtype' => 'yesno',
77  'valuetype' => 'int',
78  'default' => 0,
79  'options' => array(),
80  'category' => 'cat_options'
81  );
82 
83  $config[]=array(
84  'name' => 'debug_smarty_enable',
85  'title' => '_MI_LOGGER_UCONF_ENABLE_SMARTY',
86  'description' => '',
87  'formtype' => 'yesno',
88  'valuetype' => 'int',
89  'default' => 0,
90  'options' => array(),
91  'category' => 'cat_options'
92  );
93 
94  return $config;
95  }
96 }
const _MI_LOGGER_UCONF_CAT_OPT
Definition: modinfo.php:26
return $config
const _MI_LOGGER_UCONF_CAT_OPT_DESC
Definition: modinfo.php:27