Cheetah
Main Page
Related Pages
Namespaces
Namespace List
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
$
a
b
c
d
e
f
h
i
l
m
o
p
r
s
t
u
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
modules
cheetah
store
classes
ChStorePrivacyProduct.php
Go to the documentation of this file.
1
<?
php
2
8
ch_import
(
'ChWsbPrivacy'
);
9
10
class
ChStorePrivacyProduct
extends
ChWsbPrivacy
11
{
12
var
$oModule
;
13
17
function
__construct
(&
$oModule
)
18
{
19
$this->oModule =
$oModule
;
20
parent::__construct(
$oModule
->_oDb->getPrefix() .
'products'
,
'id'
,
'author_id'
);
21
}
22
31
function
isDynamicGroupMember
($mixedGroupId, $iObjectOwnerId, $iViewerId, $iObjectId)
32
{
33
if
(
'c'
== $mixedGroupId) {
// customers only
34
$aDataEntry = array (
'id'
=> $iObjectId,
'author_id'
=> $iObjectOwnerId);
35
return
$this->oModule->isCustomer ($aDataEntry);
36
}
37
return
false
;
38
}
39
}
ChStorePrivacyProduct\$oModule
$oModule
Definition:
ChStorePrivacyProduct.php:12
ch_import
ch_import($sClassName, $aModule=array())
Definition:
utils.inc.php:1218
php
ChStorePrivacyProduct\isDynamicGroupMember
isDynamicGroupMember($mixedGroupId, $iObjectOwnerId, $iViewerId, $iObjectId)
Definition:
ChStorePrivacyProduct.php:31
ChStorePrivacyProduct
Definition:
ChStorePrivacyProduct.php:11
ChStorePrivacyProduct\__construct
__construct(&$oModule)
Definition:
ChStorePrivacyProduct.php:17
ChWsbPrivacy
Definition:
ChWsbPrivacy.php:60
Generated by
1.8.20