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.
```.

Parameters

$fieldName
mixed $siteID
mixed $includeCurrent
mixed $includeAll

Return Value

string