Cheetah
modules
cheetah
payment
details.php
Go to the documentation of this file.
1
<?
php
2
8
ch_import
(
'Module'
,
$aModule
);
9
ch_import
(
'ChWsbPageView'
);
10
11
class
ChPmtDetailsPage
extends
ChWsbPageView
12
{
13
var
$_oPayments
;
14
15
function
__construct
(&
$oPayments
)
16
{
17
parent::__construct(
'ch_pmt_details'
);
18
19
$this->_oPayments = &
$oPayments
;
20
21
$GLOBALS
[
'oTopMenu'
]->setCurrentProfileID($this->_oPayments->_iUserId);
22
$GLOBALS
[
'oTopMenu'
]->setCustomVar(
'sys_payment_module_uri'
, $this->_oPayments->_oConfig->getUri());
23
}
24
function
getBlockCode_Details
()
25
{
26
return
$this->_oPayments->getDetailsForm();
27
}
28
}
29
30
global
$_page
;
31
global
$_page_cont
;
32
global
$logged
;
33
34
$iIndex
= 4;
35
$_page
[
'name_index'
] =
$iIndex
;
36
$_page
[
'css_name'
] = array();
37
38
check_logged
();
39
40
$oPayments
=
new
ChPmtModule
(
$aModule
);
41
$oDetailsPage
=
new
ChPmtDetailsPage
(
$oPayments
);
42
$_page_cont
[
$iIndex
][
'page_main_code'
] =
$oDetailsPage
->getCode();
43
44
$oPayments
->_oTemplate->setPageTitle(
_t
(
'_payment_pcpt_details'
));
45
PageCode
(
$oPayments
->_oTemplate);
ChPmtDetailsPage
Definition:
details.php:12
check_logged
check_logged()
Definition:
admin.inc.php:238
ChWsbPageView
Definition:
ChWsbPageView.php:99
$aModule
$aModule
Definition:
classifieds.php:21
$oDetailsPage
$oDetailsPage
Definition:
details.php:41
ChPmtDetailsPage\getBlockCode_Details
getBlockCode_Details()
Definition:
details.php:24
ch_import
ch_import($sClassName, $aModule=array())
Definition:
utils.inc.php:1218
php
ChPmtModule
Definition:
ChPmtModule.php:79
$logged
global $logged
Definition:
details.php:32
$oPayments
$oPayments
Definition:
details.php:40
global
if(!defined("GLOBAL_MODULE")) define("GLOBAL_MODULE" global
Definition:
header.inc.php:25
_t
_t($key, $arg0="", $arg1="", $arg2="")
Definition:
languages.inc.php:509
PageCode
PageCode($oTemplate=null)
Definition:
design.inc.php:91
$iIndex
$iIndex
Definition:
details.php:34
$_page
global $_page
Definition:
details.php:30
ChPmtDetailsPage\__construct
__construct(&$oPayments)
Definition:
details.php:15
$GLOBALS
$GLOBALS['iAdminPage']
Definition:
advanced_settings.php:10
$_page_cont
global $_page_cont
Definition:
details.php:31
ChPmtDetailsPage\$_oPayments
$_oPayments
Definition:
details.php:13
Generated by
1.8.20