CSFlexTemplate
in package
A Template for a CSFlexTable that allows a CSFlexTemplatePlugin to predefine a table
Tags
Table of Contents
- __construct() : CSFlexTemplate
- The constructor is normally not directly invoked. Instead use the method @link CSFlex::createTemplate
- addContent() : void
- Renders the Template
- getPlugin() : CSFlexTemplatePlugin
- Returns the CSFlexTemplatePlugin this template is based on
Methods
__construct()
The constructor is normally not directly invoked. Instead use the method @link CSFlex::createTemplate
public
__construct(string $pluginPrefix, CSFlexPreset $preset) : CSFlexTemplate
Parameters
- $pluginPrefix : string
-
the unique plugin prefix, for example foo when the plugin is fooFlexTemplate
- $preset : CSFlexPreset
-
an array with plugin specific parameters, where the key is the name of the parameter
Tags
Return values
CSFlexTemplate —the Flex Template
addContent()
Renders the Template
public
addContent(CSFlexTableContainer $container) : void
Parameters
- $container : CSFlexTableContainer
-
the container
Tags
Return values
void —getPlugin()
Returns the CSFlexTemplatePlugin this template is based on
public
getPlugin() : CSFlexTemplatePlugin
