|
Stud.IP
jlu_4.3 Revision 64286
|


Public Member Functions | |
| __construct (array $root_resources=[], $title='', $parameter_name=null) | |
Public Member Functions inherited from ResourceTreeWidget | |
| __construct (array $root_resources=[], $title='', $parameter_name='tree_selected_resource') | |
| render ($variables=[]) | |
| setCurrentResource (Resource $resource) | |
| setCurrentResourceId ($resource_id=null) | |
| setFoldable ($foldable=false) | |
| isFoldable () | |
Public Member Functions inherited from SidebarWidget | |
| __construct () | |
| setTitle ($title) | |
| getTitle () | |
| removeTitle () | |
| setExtra ($extra) | |
| getExtra () | |
| removeExtra () | |
| render ($variables=array()) | |
Public Member Functions inherited from Widget | |
| addElement (WidgetElement $element, $index=null) | |
| insertElement (WidgetElement $element, $before_index, $index=null) | |
| getElement ($index) | |
| getElements () | |
| removeElement ($index) | |
| hasElements () | |
| hasElement ($index) | |
| forceRendering ($state=true) | |
| addLayoutCSSClass ($css_class) | |
| removeLayoutCSSClass ($css_class) | |
| render ($variables=array()) | |
| __isset ($offset) | |
| __get ($offset) | |
| __set ($offset, $value) | |
| __unset ($offset) | |
Additional Inherited Members | |
Protected Member Functions inherited from Widget | |
| guessIndex (WidgetElement $element) | |
Protected Attributes inherited from ResourceTreeWidget | |
| $root_resources = [] | |
| $parameter_name = '' | |
| $foldable = false | |
| $current_resource_id = null | |
Protected Attributes inherited from Widget | |
| $elements = array() | |
| $template = 'widgets/widget' | |
| $template_variables = array() | |
| $layout = 'widgets/widget-layout' | |
| $forced_rendering = false | |
| $layout_css_classes = array() | |
This class provides a resource tree view for the room search sidebar.
| __construct | ( | array | $root_resources = [], |
$title = '', |
|||
$parameter_name = null |
|||
| ) |
This widget must be initialised by providing at least one Resource object in an array.
| array | $root_resources | The root resource objects which will be displayed by this tree view. |
| string | $title | The title of this widget. |
| string | null | $parameter_name | The name of the URL parameter which will be set when one of the resources in the tree is selected. If parameter_name is set to null the items in the resource tree widget will link to the resource's details page. |
Reimplemented from ResourceTreeWidget.
