PHP Class Elcodi\Admin\CartBundle\Controller\CustomerOrderController

Inheritance: extends Elcodi\Admin\CoreBundle\Controller\Abstracts\AbstractAdminController
Show file Open project: elcodi/bamboo

Public Methods

Method Description
listAction ( Elcodi\Component\User\Entity\Interfaces\CustomerInterface $customer, integer $page, integer $limit, string $orderByField, string $orderByDirection ) : array List elements of orders for a customer

Method Details

listAction() public method

This action is just a wrapper, so should never get any data, as this is component responsibility
public listAction ( Elcodi\Component\User\Entity\Interfaces\CustomerInterface $customer, integer $page, integer $limit, string $orderByField, string $orderByDirection ) : array
$customer Elcodi\Component\User\Entity\Interfaces\CustomerInterface Customer
$page integer Page
$limit integer Limit of items per page
$orderByField string Field to order by
$orderByDirection string Direction to order by
return array Result