1 | <?php |
||
10 | class GridFieldExpandableForm implements GridField_URLHandler, GridField_HTMLProvider |
||
11 | { |
||
12 | public $template = self::class; |
||
13 | |||
14 | public $formorfields; |
||
15 | |||
16 | public function __construct($formorfields = null) |
||
20 | |||
21 | public function getURLHandlers($gridField) |
||
27 | |||
28 | public function handleItem($gridField, $request) |
||
44 | |||
45 | public function getHTMLFragments($gridField) |
||
55 | } |
||
56 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@return
annotation as described here.