Define an interface for modules that provide filepicker functionality.
package |
CMS |
---|---|
license |
GPL |
author |
Robert Campbell calguy1000@cmsmadesimple.org |
since | 2.2 |
get_profile_or_default(string $profile_name, string $dir = null, integer $uid = null) : \CMSMS\FilePickerProfile
string
$profile_namethe desired profile name to load
string
$dirA suitable top location
integer
$uidAn optional admin user id.
get_default_profile(string $dir = null, integer $uid = null) : \CMSMS\FilePickerProfile
string
$dirA suitable top location
integer
$uidAn optional admin user id.
get_browser_url() : string
string
get_html(string $name, string $value, \CMSMS\FilePickerProfile $profile)
string
$nameThe name for the input field.
string
$valuethe current value for the input filed
\CMSMS\FilePickerProfile
$profileThe profile to use when building the filepicker interface.