class GiftVoucherViewAll extends AbstractExtension

Twig extension to display all the GiftVoucherAvailable as a list (object, description, offer button) using gv_view_all([$number, $orderField])

Properties

private EntityManagerInterface $em Stores EntityManager

Methods

__construct(EntityManagerInterface $em)

No description

getFunctions()

No description

string
viewAll(Environment $environment, $number = null, $order = 'object')

Returns the xhtml code to view all the GiftVoucherAvailable

Details

at line 30
__construct(EntityManagerInterface $em)

Parameters

EntityManagerInterface $em

at line 35
getFunctions()

at line 53
string viewAll(Environment $environment, $number = null, $order = 'object')

Returns the xhtml code to view all the GiftVoucherAvailable

Parameters

Environment $environment
$number
$order

Return Value

string