PHP Class Elcodi\Plugin\CustomShippingBundle\Controller\Component\ShippingRangeComponentController

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

Public Methods

Method Description
editComponentAction ( Symfony\Component\Form\FormView $formView, Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface $carrier, Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\ShippingRangeInterface $shippingRange ) : array New element component action
listComponentAction ( Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface $carrier ) : array Component for entity list.

Method Details

editComponentAction() public method

As a component, this action should not return all the html macro, but only the specific component
public editComponentAction ( Symfony\Component\Form\FormView $formView, Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface $carrier, Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\ShippingRangeInterface $shippingRange ) : array
$formView Symfony\Component\Form\FormView Form view
$carrier Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface Carrier
$shippingRange Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\ShippingRangeInterface Shipping range
return array Result

listComponentAction() public method

As a component, this action should not return all the html macro, but only the specific component
public listComponentAction ( Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface $carrier ) : array
$carrier Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface Carrier
return array Result