OXID eShop CE
4.8.11
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
{
11
protected
$_sClassName
=
'oxstatistic'
;
12
16
public
function
__construct
()
17
{
18
parent::__construct
();
19
$this->
init
(
'oxstatistics'
);
20
}
21
29
public
function
setReports
( $aVal )
30
{
31
$this->oxstatistics__oxvalue =
new
oxField
( serialize( $aVal ),
oxField::T_RAW
);
32
}
33
39
public
function
getReports
()
40
{
41
return
unserialize($this->oxstatistics__oxvalue->value);
42
}
43
53
protected
function
_setFieldData
( $sFieldName, $sValue, $iDataType =
oxField::T_TEXT
)
54
{
55
if
(
'oxvalue'
=== $sFieldName ) {
56
$iDataType =
oxField::T_RAW
;
57
}
58
return
parent::_setFieldData
($sFieldName, $sValue, $iDataType);
59
}
60
}
application
models
oxstatistic.php
Generated by
1.8.1.2