Symbiote\Prose\ProseController
Controller that handles requests for data to manage the tree
- Author: Marcus Nyeholt <marcus@silverstripe.com.au>
Synopsis
class ProseController
extends Controller
{
- // members
- private static array $allowed_actions = ;
- private static array $type_map = ;
- // methods
- protected void searchBaseType()
- protected void searchFilterTypes()
- public void search()
- protected void packageDataList()
- public JSONString childnodes()
- protected void generateThumbnails()
- protected void imgUrl()
- protected DataList childrenOfNode()
- public void uploadfile()
- public void pastefile()
- protected void sanitiseFilePath()
- protected void performSearch()
- public void rendershortcode()
- protected void shortcodeStr()
- protected string attrListToAttrString()
Hierarchy
Extends
- SilverStripe\Control\Controller
Members
private
- $allowed_actions
-
$type_map
The raw types to search and filter by. If this is an array, we should load objects of index 0, and filter for the classnames in index 1
Methods
protected
- attrListToAttrString() — Convert an array of key => values to shortcode parameters.
- 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
- imgUrl()
- packageDataList()
- 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
- sanitiseFilePath()
- searchBaseType()
- searchFilterTypes()
- shortcodeStr()
public
- childnodes() — Request nodes from the server
- pastefile()
- rendershortcode()
- search()
- uploadfile()