Contentserv PHP API

CSFlexTemplate
in package

A Template for a CSFlexTable that allows a CSFlexTemplatePlugin to predefine a table

Tags
since

CS15.0

access

public

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
throws
ErrorException

if no such plugin is found

access

protected

ignored
Return values
CSFlexTemplate

the Flex Template


        

Search results