Cheetah
modules
cheetah
files
classes
ChFilesPrivacy.php
Go to the documentation of this file.
1
<?
php
2
8
ch_import
(
'ChWsbPrivacy'
);
9
10
class
ChFilesPrivacy
extends
ChWsbPrivacy
11
{
15
function
__construct
($sTable =
'ch_files_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
ChFilesPrivacy\getFieldAction
getFieldAction($sAction)
Definition:
ChFilesPrivacy.php:20
ChFilesPrivacy\__construct
__construct($sTable='ch_files_main', $sId='ID', $sOwner='Owner')
Definition:
ChFilesPrivacy.php:15
$sId
$sId
Definition:
actions.inc.php:8
ChWsbPrivacy
Definition:
ChWsbPrivacy.php:60
$sAction
$sAction
Definition:
categories.php:274
ChFilesPrivacy
Definition:
ChFilesPrivacy.php:11
Generated by
1.8.20