OXID eShop CE
4.10.2
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
oxwservicemenu.php
Go to the documentation of this file.
1
<?php
2
7
class
oxwServiceMenu
extends
oxWidget
8
{
9
17
protected
$_aComponentNames
= array(
'oxcmp_user'
=> 1);
18
24
protected
$_sThisTemplate
=
'widget/header/servicemenu.tpl'
;
25
31
public
function
getCompareItemsCnt
()
32
{
33
$oCompare =
oxNew
(
"compare"
);
34
$iCompItemsCnt = $oCompare->getCompareItemsCnt();
35
36
return
$iCompItemsCnt;
37
}
38
46
public
function
getCompareItems
($blJson =
false
)
47
{
48
$oCompare =
oxNew
(
"compare"
);
49
$aCompareItems = $oCompare->getCompareItems();
50
51
if
($blJson) {
52
$aCompareItems = json_encode($aCompareItems);
53
}
54
55
return
$aCompareItems;
56
}
57
58
}
application
components
widgets
oxwservicemenu.php
Generated by
1.8.1.2