| 1 | <?php |
||
| 23 | class ManagementForm extends SummaryForm implements HeadscriptProviderInterface |
||
| 24 | { |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Base fieldset. |
||
| 28 | * |
||
| 29 | * @var string|Fieldset |
||
| 30 | */ |
||
| 31 | protected $baseFieldset = 'Core/Tree/ManagementFieldset'; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Headscripts. |
||
| 35 | * |
||
| 36 | * @var array |
||
| 37 | */ |
||
| 38 | protected $scripts = [ '/js/html.sortable.min.js', 'Core/js/forms.tree-management.js' ]; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Attributes. |
||
| 42 | * |
||
| 43 | * @var array |
||
| 44 | */ |
||
| 45 | protected $attributes = [ |
||
| 46 | 'method' => 'POST', /* keep default value from \Zend\Form\Form */ |
||
| 47 | 'class' => 'yk-tree-management-form', |
||
| 48 | ]; |
||
| 49 | |||
| 50 | public function setHeadscripts(array $scripts) |
||
| 56 | |||
| 57 | public function getHeadscripts() |
||
| 61 | } |