\SimpleTreeController
Controller that handles requests for data to manage the tree
- Author: Marcus Nyeholt <marcus@silverstripe.com.au>
Synopsis
class SimpleTreeController
extends Controller
{
- // members
- private static array $allowed_actions = ;
- // methods
- public JSONString childnodes()
- protected void generateThumbnails()
- protected DataObjectSet childrenOfNode()
- protected void performSearch()
Hierarchy
Extends
- Controller
Members
private
- $allowed_actions
Methods
protected
- childrenOfNode() — Method to work around bug where Hierarchy.php directly refers to ShowInMenus, which is only available on SiteTree
- generateThumbnails() — Called to generate thumbnails before sending the image data back
- performSearch() — Search for a node based on the passed in criteria. The output is a list of nodes that should be opened from the top down
public
- childnodes() — Request nodes from the server