Public Member Functions | |
init () | |
run () | |
csrfProtect () | |
![]() | |
getViewFile ($viewName) |
Public Attributes | |
$items | |
$order | |
$user | |
$step | |
$class | |
$shipping_info | |
$payment_info | |
$layout = "ShoppingCartWidget" | |
$link_items_to_page = false | |
$thankyoupage |
Protected Member Functions | |
onOrdered ($order) | |
performAjaxValidation ($model) |
Gentics Portal.Node PHP Author & Copyright (c) by Gentics Software GmbH sales @gen tics. comhttp://www.gentics.com Licenses can be found in the LICENSE.txt file in the root-folder of this installation You must not use this software without a valid license agreement.
Widget for view shoppingcart steps
Definition at line 12 of file ShoppingCartWidget.php.
ShoppingCartWidget::csrfProtect | ( | ) |
Function checks matches the csrf tokens
Definition at line 316 of file ShoppingCartWidget.php.
Referenced by init().
ShoppingCartWidget::init | ( | ) |
The function initialises widget fields which belongs to current session
Definition at line 66 of file ShoppingCartWidget.php.
References csrfProtect(), EncryptHelper\decrypt(), EncryptHelper\encrypt(), Item\model(), and performAjaxValidation().
|
protected |
Performs the AJAX validation.
CModel | the model to be validated |
Definition at line 301 of file ShoppingCartWidget.php.
Referenced by init().
ShoppingCartWidget::run | ( | ) |
Render ShoppingCartWidget view. In this function can be assign some variables depends of step
Definition at line 223 of file ShoppingCartWidget.php.