OXID eShop CE
4.9.9
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Pages
oxstatistic.php
Go to the documentation of this file.
1
<?php
2
6
class
oxStatistic
extends
oxBase
7
{
8
12
protected
$_sClassName
=
'oxstatistic'
;
13
17
public
function
__construct
()
18
{
19
parent::__construct
();
20
$this->
init
(
'oxstatistics'
);
21
}
22
28
public
function
setReports
($aVal)
29
{
30
$this->oxstatistics__oxvalue =
new
oxField
(serialize($aVal),
oxField::T_RAW
);
31
}
32
38
public
function
getReports
()
39
{
40
return
unserialize($this->oxstatistics__oxvalue->value);
41
}
42
52
protected
function
_setFieldData
($sFieldName, $sValue, $iDataType =
oxField::T_TEXT
)
53
{
54
if
(
'oxvalue'
=== $sFieldName) {
55
$iDataType =
oxField::T_RAW
;
56
}
57
58
return
parent::_setFieldData
($sFieldName, $sValue, $iDataType);
59
}
60
}
application
models
oxstatistic.php
Generated by
1.8.1.2