SiteSelector
class SiteSelector (View source)
Methods
string
selectSite($fieldName, mixed $siteID = false, mixed $includeCurrent = false, mixed $includeAll = false)
Creates form fields and JavaScript page chooser for choosing a site.
Details
string
selectSite($fieldName, mixed $siteID = false, mixed $includeCurrent = false, mixed $includeAll = false)
Creates form fields and JavaScript page chooser for choosing a site.
$dh->selectSite('pageID', '1'); // Selects the default site.
```.