modules/Studio/DropDowns/DropDownHelper.php
\DropDownHelper
Package:
Properties
Methods
filterDropDown(
string $name, array $dropdown
)
:
array
Allow for certain dropdowns to be filtered when edited by pre 5.0 studio (eg. Rename Tabs)
Parameters
Returns
Name | Type | Description |
---|---|---|
$name | string | name |
$dropdown | array | dropdown |
Type | Description |
---|---|
array | Filtered dropdown list |
saveDropDown(
\REQUEST $params
)
:
void
Takes in the request params from a save request and processes them for the save.
Parameters
Name | Type | Description |
---|---|---|
$params | \REQUEST | params $params |