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

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil  >  PHP Skeleton Framework  >  examples/cart/app/controllers/product/listing.php  >  Download  
File: examples/cart/app/controllers/product/listing.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: 5 years ago
Size: 391 bytes


Class file image Download

class product_listing extends A_Controller_Action

    public function
$request = $locator->get('Request');
$response = $locator->get('Response');
$product = $this->_load()->model('product');
$response->setPartial('content', 'product/listing', array('product'=>$product, 'category'=>$request->get('category', '/[^A-Za-z0-9]/')));

For more information send a message to info at phpclasses dot org.