Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Protected Member Functions | List of all members
ShoppingcartController Class Reference
Inheritance diagram for ShoppingcartController:
SCBaseController BaseController

Public Member Functions

 actions ()
 actionIndex ()
- Public Member Functions inherited from SCBaseController
 csrfProtect ()
 checkSumCmp ($model)
- Public Member Functions inherited from BaseController
 getClient ()
 getAssetsPath ()
 getViewFile ($viewName)
 getJs ($path)
 renderMail ($view, $title=null, $data, $return=true)
 redirect ($url, $terminate=true, $statusCode=302)
 createWidget ($className, $properties=array())

Protected Member Functions

 onOrdered ($order)
 performAjaxValidation ($model)

Additional Inherited Members

- Public Attributes inherited from SCBaseController
 $breadcrumbs = array()

Detailed Description

Gentics Portal.Node PHP Author & Copyright (c) by Gentics Software GmbH sales.nosp@m.@gen.nosp@m.tics..nosp@m.com http://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.

Shoppingcart controller class file.

Definition at line 12 of file ShoppingcartController.php.

Member Function Documentation

ShoppingcartController::actions ( )

Returns a list of external action classes.

Returns
array

Definition at line 21 of file ShoppingcartController.php.

{
return array(
'captcha'=>array(
'class'=>'CCaptchaAction',
'fixedVerifyCode' => YII_DEBUG ? 'polomo' : null
),
);
}
ShoppingcartController::performAjaxValidation (   $model)
protected

Performs the AJAX validation.

Parameters
CModelthe model to be validated

Definition at line 214 of file ShoppingcartController.php.

{
if(isset($_POST['ajax']))
{
echo CActiveForm::validate($model);
Yii::app()->end();
}
}

The documentation for this class was generated from the following file: