TemplateSelect TemplateSelect(
)
|
|
void setPreSelected(
String
$template
)
|
|
Sets the Name of the Template that should be preselected.
If this Template is deactivated, it will be rendered nevertheless. This behaviour can be changed by calling setShowPreselectedIfDeactivated($show).
Parameters:
|
String |
$template: |
id the Template Name |
void setShowDeactivated(
boolean
$showDeactivated
)
|
|
Sets whether deactivated Templates are rendered or not.
Default is FALSE.
Parameters:
|
boolean |
$showDeactivated: |
showDeactivated whether deactivated Templates will be rendered |
void setShowIncludes(
boolean
$showIncludes
)
|
|
Sets whether Includes will be shown or not.
Default is FALSE.
Parameters:
|
boolean |
$showIncludes: |
showDeactivated whether Includes will be rendered |
void setShowPreselectedIfDeactivated(
boolean
$show
)
|
|
Sets whether the Preselected Template will be rendered if it is deactivated or not. Default is TRUE.
Set FALSE if you do not want to display the preselected and deactivated Template.
Parameters:
|
boolean |
$show: |
show whether deactivated and preselected Template will be rendered |
void setShowSystemTemplates(
boolean
$showSystem
)
|
|
Sets whether System Templates will be shown or not.
Default is FALSE.
Parameters:
|
boolean |
$showSystem: |
showSystem whether System Templates will be rendered |
void setSortAlphabetical(
boolean
$sortAlphabetical
)
|
|
Sets if the list will be sorted alphabetical.
Default id TRUE.
Parameters:
|
boolean |
$sortAlphabetical: |
sortAlphabetical if the list will be sorted or not |