Cheetah
modules
cheetah
photos
classes
ChPhotosPrivacy.php
Go to the documentation of this file.
1
<?
php
2
8
ch_import
(
'ChWsbPrivacy'
);
9
10
class
ChPhotosPrivacy
extends
ChWsbPrivacy
11
{
15
function
__construct
($sTable =
'ch_photos_main'
,
$sId
=
'ID'
, $sOwner =
'Owner'
)
16
{
17
parent::__construct($sTable,
$sId
, $sOwner);
18
}
19
20
function
getFieldAction
(
$sAction
)
21
{
22
return
'Allow'
. str_replace(
' '
,
''
, ucwords(str_replace(
'_'
,
' '
,
$sAction
)));
23
}
24
}
ch_import
ch_import($sClassName, $aModule=array())
Definition:
utils.inc.php:1218
php
ChPhotosPrivacy\getFieldAction
getFieldAction($sAction)
Definition:
ChPhotosPrivacy.php:20
$sId
$sId
Definition:
actions.inc.php:8
ChPhotosPrivacy
Definition:
ChPhotosPrivacy.php:11
ChPhotosPrivacy\__construct
__construct($sTable='ch_photos_main', $sId='ID', $sOwner='Owner')
Definition:
ChPhotosPrivacy.php:15
ChWsbPrivacy
Definition:
ChWsbPrivacy.php:60
$sAction
$sAction
Definition:
categories.php:274
Generated by
1.8.20