CSGuiPresenterFactory
in package
This class is the PHP entry point for the new lightweight JavaScript presenter components communicating to the server using configuration files and REST services.
Tags
Table of Contents
- createAccordionPresenter() : CSGuiAccordionPresenter
- Creates a accordion component in one div with the given ID
- createListPresenter() : CSGuiListPresenter
- Creates a list component in one div with the given ID
- createTreePresenter() : CSGuiTreePresenter
- Creates a tree component in one div with the given ID
Methods
createAccordionPresenter()
Creates a accordion component in one div with the given ID
public
static createAccordionPresenter(string $sId) : CSGuiAccordionPresenter
Parameters
- $sId : string
-
The internal ID of this component.
Tags
Return values
CSGuiAccordionPresenter —createListPresenter()
Creates a list component in one div with the given ID
public
static createListPresenter(string $sDataSourceUrl, string $sId) : CSGuiListPresenter
Parameters
- $sDataSourceUrl : string
-
The data source REST service URL to pass the ID to, e.g. "admin/rest/itemdatasource/list/Pdmarticle".
- $sId : string
-
The internal ID of this component.
Tags
Return values
CSGuiListPresenter —createTreePresenter()
Creates a tree component in one div with the given ID
public
static createTreePresenter(string $sDataSourceUrl, string $sId) : CSGuiTreePresenter
Parameters
- $sDataSourceUrl : string
-
The name of the data source REST service to pass the ID to, e.g. "admin/rest/itemdatasource/treenodes/Pdmarticle".
- $sId : string
-
The internal ID of this component.
