| Total Complexity | 4 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class SubsitesTreeDropdownField extends TreeDropdownField |
||
| 18 | { |
||
| 19 | private static $allowed_actions = [ |
||
|
|
|||
| 20 | 'tree' |
||
| 21 | ]; |
||
| 22 | |||
| 23 | protected $subsiteID = 0; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Extra HTML classes |
||
| 27 | * |
||
| 28 | * @skipUpgrade |
||
| 29 | * @var string[] |
||
| 30 | */ |
||
| 31 | protected $extraClasses = ['SubsitesTreeDropdownField']; |
||
| 32 | |||
| 33 | public function Field($properties = []) |
||
| 40 | } |
||
| 41 | |||
| 42 | public function setSubsiteID($id) |
||
| 45 | } |
||
| 46 | |||
| 47 | public function getSubsiteID() |
||
| 48 | { |
||
| 49 | return $this->subsiteID; |
||
| 50 | } |
||
| 51 | |||
| 52 | public function tree(HTTPRequest $request) |
||
| 60 | } |
||
| 61 | } |
||
| 62 |