class SiteSelector (View source)

Methods

string
selectSite($fieldName, $siteID = false, $includeCurrent = false, $includeAll = false)

Creates form fields and JavaScript page chooser for choosing a site.

Details

string selectSite($fieldName, $siteID = false, $includeCurrent = false, $includeAll = false)

Creates form fields and JavaScript page chooser for choosing a site.


    $dh->selectSite('pageID', '1'); // Selects the default site.
```.

Parameters

$fieldName
$siteID
$includeCurrent
$includeAll

Return Value

string