PATH:
home
/
letacommog
/
letaweb
/
protected
/
modules
/
profile
/
controllers
<?php class PurchaseController extends PController { public $layout = 'admin_column'; public function filters() { return array( 'accessControl', ); } public function actionIndex() { $model = new Subscription('search_owner'); $model->unsetAttributes(); // clear any default values if (isset($_GET['Purchase'])) { $model->attributes = $_GET['Subscription']; } $this->render('index', array( 'model' => $model, )); } public function actionView() { $id = $_REQUEST['id']; $model = Subscription::model()->findByPk($id); $this->render('view', array('model' => $model)); } }
[+]
..
[-] PurchaseController.php
[edit]
[-] AccountController.php
[edit]
[-] CheckoutController.php
[edit]
[-] PageController.php
[edit]