XOOPS
2.6.0
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
configoption.php
Go to the documentation of this file.
1
<?php
20
use
Xoops\Core\Database\Connection
;
21
use
Xoops\Core\Kernel\XoopsObject
;
22
use
Xoops\Core\Kernel\XoopsPersistableObjectHandler
;
23
32
class
XoopsConfigOption
extends
XoopsObject
33
{
37
function
__construct
()
38
{
39
$this->
initVar
(
'confop_id'
,
XOBJ_DTYPE_INT
, null);
40
$this->
initVar
(
'confop_name'
,
XOBJ_DTYPE_TXTBOX
, null,
true
, 255);
41
$this->
initVar
(
'confop_value'
,
XOBJ_DTYPE_TXTBOX
, null,
true
, 255);
42
$this->
initVar
(
'conf_id'
,
XOBJ_DTYPE_INT
, 0);
43
}
44
49
public
function
id
($format =
'n'
)
50
{
51
return
$this->
getVar
(
'confop_id'
, $format);
52
}
53
58
public
function
confop_id
($format =
''
)
59
{
60
return
$this->
getVar
(
'confop_id'
, $format);
61
}
62
67
public
function
confop_name
($format =
''
)
68
{
69
return
$this->
getVar
(
'confop_name'
, $format);
70
}
71
76
public
function
confop_value
($format =
''
)
77
{
78
return
$this->
getVar
(
'confop_value'
, $format);
79
}
80
85
public
function
conf_id
($format =
''
)
86
{
87
return
$this->
getVar
(
'conf_id'
, $format);
88
}
89
90
}
91
100
class
XoopsConfigOptionHandler
extends
XoopsPersistableObjectHandler
101
{
107
public
function
__construct
(
Connection
$db = null)
108
{
109
parent::__construct($db,
'configoption'
,
'XoopsConfigOption'
,
'confop_id'
,
'confop_name'
);
110
}
111
}
XoopsConfigOptionHandler
Definition:
configoption.php:100
XoopsConfigOption\confop_id
confop_id($format= '')
Definition:
configoption.php:58
XoopsConfigOption\__construct
__construct()
Definition:
configoption.php:37
Xoops\Core\Kernel\XoopsPersistableObjectHandler
Definition:
XoopsPersistableObjectHandler.php:30
XoopsConfigOptionHandler\__construct
__construct(Connection $db=null)
Definition:
configoption.php:107
XoopsConfigOption\confop_value
confop_value($format= '')
Definition:
configoption.php:76
XoopsConfigOption\conf_id
conf_id($format= '')
Definition:
configoption.php:85
XoopsObject
Xoops\Core\Kernel\XOBJ_DTYPE_INT
const XOBJ_DTYPE_INT
Definition:
XoopsObject.php:22
XoopsConfigOption\id
id($format= 'n')
Definition:
configoption.php:49
Xoops\Core\Kernel\XoopsObject\getVar
getVar($key, $format= 's')
Definition:
XoopsObject.php:342
XoopsConfigOption\confop_name
confop_name($format= '')
Definition:
configoption.php:67
Connection
Xoops\Core\Kernel\XOBJ_DTYPE_TXTBOX
const XOBJ_DTYPE_TXTBOX
Definition:
XoopsObject.php:20
Connection
XoopsPersistableObjectHandler
XoopsConfigOption
Definition:
configoption.php:32
Xoops\Core\Kernel\XoopsObject
Definition:
XoopsObject.php:47
Xoops\Core\Kernel\XoopsObject\initVar
initVar($key, $data_type, $value=null, $required=false, $maxlength=null, $options= '')
Definition:
XoopsObject.php:172
usr64
htdocs
kernel
configoption.php
Generated on Fri May 22 2015 03:07:02 for XOOPS by
1.8.9.1