Gentics Portal.Node PHP API
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
All
Classes
Namespaces
Functions
Variables
Pages
common
modules
shoppingcart
ShoppingCartModule.php
1
<?php
2
/**
3
* Gentics Portal.Node PHP
4
* Author & Copyright (c) by Gentics Software GmbH
5
* sales@gentics.com
6
* http://www.gentics.com
7
* Licenses can be found in the LICENSE.txt file in the root-folder of this installation
8
* You must not use this software without a valid license agreement.
9
*
10
* Shoppingcart module class file.
11
*/
12
class
ShoppingcartModule
extends
WebCustModule
13
{
14
/**
15
* @var string the name of email template to notify a user
16
*/
17
public
$usermail_template;
18
/**
19
* @var string the name of email template to notify responsible administrator
20
*/
21
public
$adminemail_template;
22
/**
23
* @var int the lifetime of order session which measured in minutes
24
*/
25
public
$max_lifetime;
26
/**
27
* @var string domain on which cookie is set
28
*/
29
public
$cookie_domain;
30
/**
31
* @var float the value of shipping costs which is added to total sum of order
32
*/
33
public
$shipping_costs;
34
/**
35
* @var float the currency name which user sees near a price
36
*/
37
public
$currency;
38
/**
39
* @var string From this email will be send notifications
40
*/
41
public
$notificationsEmail =
"shoppingcart@gentics.com"
;
42
/**
43
* @var boolean specify false if you want to disable captcha
44
*/
45
public
$captchaEnabled =
true
;
46
/**
47
* @var string Url of the page to which will be redirected user after checkout
48
*/
49
public
$thankyoupage = null;
50
/**
51
* Import dependent classes
52
*
53
* @return void
54
*/
55
public
function
init
()
56
{
57
parent::init
();
58
/*
59
Yii::app()->getClientScript()->registerCssFile($this->getAssetsUrl() . '/css/shoppingcart.css');
60
Yii::app()->clientScript->registerCoreScript('jquery');
61
Yii::app()->getClientScript()->registerScriptFile($this->getAssetsUrl() . '/js/quantityValidator.js', CClientScript::POS_READY);
62
**/
63
}
64
}
Generated on Thu Jun 20 2013 14:45:15 for Gentics Portal.Node PHP API by
1.8.1.2