PageSelector
class PageSelector (View source)
Methods
                    string
                
                
                    selectPage($fieldName, bool|int $cID = false)
        
                                            
                
            Creates form fields and JavaScript page chooser for choosing a page. For use with inclusion in blocks.
                    quickSelect($key, $cID = false, $args = array())
        
                                            
                
            No description
                    selectMultipleFromSitemap($field, $pages = array(), $startingPoint = 'HOME_CID', $filters = array())
        
                                            
                
            No description
                    selectFromSitemap($field, $page = null, $startingPoint = 'HOME_CID', SiteTree $siteTree = null, $filters = array())
        
                                            
                
            No description
Details
        
                            string
    selectPage($fieldName, bool|int $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.
```.        
        
        
                            
    quickSelect($key, $cID = false, $args = array())
        
    
    No description
        
                            
    selectMultipleFromSitemap($field, $pages = array(), $startingPoint = 'HOME_CID', $filters = array())
        
    
    No description
        
                            
    selectFromSitemap($field, $page = null, $startingPoint = 'HOME_CID', SiteTree $siteTree = null, $filters = array())
        
    
    No description