PHP Classes

File: examples/cart/app/controllers/product/category.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Skeleton Framework   examples/cart/app/controllers/product/category.php   Download  
File: examples/cart/app/controllers/product/category.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 8 years ago
Size: 336 bytes
 

Contents

Class file image Download
<?php

class product_category extends A_Controller_Action
{

    public function
index($locator)
    {
       
$request = $locator->get('Request');
       
$response = $locator->get('Response');
       
       
$product = $this->_load()->model('product');
       
       
$response->setPartial('content', 'product/category', array('product'=>$product));
       
    }
}