$structure
$structure :
Handles the view for dropdowns and custom UI's for folders.
__construct(\MatthiasWeb\RealMediaLibrary\attachment\Structure $structure)
C'tor.
\MatthiasWeb\RealMediaLibrary\attachment\Structure | $structure |
namesSlugArray(array<mixed,object> $tree = null,string $spaces = '--',boolean $forceReload = false): mixed
Get array for the javascript backbone view.
The private namesSlugArray is for caching purposes and can be reset with the given function.
array<mixed,object> | $tree | |
string | $spaces | |
boolean | $forceReload |
getStructure(): \MatthiasWeb\RealMediaLibrary\attachment\Structure
Getter.
optionsHTML(integer $selected = -1,array<mixed,object> $tree = null,string $slashed = '',string $spaces = ' ',boolean $useAll = true,boolean $disabled = null)
Gets a HTML formatted string for <option>.
integer | $selected | |
array<mixed,object> | $tree | |
string | $slashed | |
string | $spaces | |
boolean | $useAll | |
boolean | $disabled |