1 <?php
2
3 4 5 6 7 8
9 class CartTableListField extends TableListField {
10
11 protected $template = "CartTableListField";
12
13 public $itemClass = 'CartTableListField_Item';
14 }
15
16 class CartTableListField_Item extends TableListField_Item {
17
18 function ExportLink() {
19 $parent = $this->parent->form->controller;
20 return Controller::join_links($parent->Link(), $this->ID, "export");
21 }
22
23 function EditLink() {
24 $parent = $this->parent->form->controller;
25 return Controller::join_links($parent->Link(), $this->ID, "edit");
26 }
27 }
28
[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the
Silverstripe Forums to ask development related questions.
-