PHP Class Elcodi\Admin\CartBundle\Controller\CustomerOrderController

Inheritance: extends Elcodi\Admin\CoreBundle\Controller\Abstracts\AbstractAdminController
Afficher le fichier Open project: elcodi/bamboo

Méthodes publiques

Méthode 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 méthode

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
Résultat array Result