Class PageSelector

Methods summary

public string
# selectPage( $fieldName, boolean|integer $cID = false )

Creates form fields and JavaScript page chooser for choosing a page. For use with inclusion in blocks.

$dh->selectPage('pageID', '1'); // prints out the home page and makes it selectable.
public
# quickSelect( $key, $cID = false, $args = array() )
public
# selectMultipleFromSitemap( $field, $pages = array(), $startingPoint = HOME_CID, $filters = array() )
public
# selectFromSitemap( $field, $page = null, $startingPoint = HOME_CID, $filters = array() )