UIContentBlock

Class UIContentBlock Base block containing sub-blocks


Output

No output provided yet


Twig Tag

Tag:UIContentBlock
Syntax:
{% UIContentBlock Type {Parameters} %}
    Content Goes Here
{% EndUIContentBlock %}
Type:
Standard No comment
ForCode Used to display a block of code like <pre> but allows line break.
ForPreformatted No comment

UIContentBlock Standard

syntax:
{% UIContentBlock Standard {sId:'value', aContainerClasses:{name:value, name:value}} %}
    Content Goes Here
{% EndUIContentBlock %}
parameters:
sId string optional NULL  
aContainerClasses array optional array ()  

UIContentBlock ForCode

syntax:
{% UIContentBlock ForCode {sCode:'value', sId:'value'} %}
    Content Goes Here
{% EndUIContentBlock %}
parameters:
sCode string mandatory    
sId string optional NULL  

UIContentBlock ForPreformatted

syntax:
{% UIContentBlock ForPreformatted {sCode:'value', sId:'value'} %}
    Content Goes Here
{% EndUIContentBlock %}
parameters:
sCode string mandatory    
sId string optional NULL  

UIContentBlock common parameters

AddCSSClass string CSS class to add to the generated html block
AddCSSClasses array like <code>[‘ibo-is-hidden’, ‘ibo-alert–body’]</code>
AddCssFileRelPath string  
AddDeferredBlock iUIBlock  
AddHtml string  
AddJsFileRelPath string  
AddMultipleCssFilesRelPaths array  
AddMultipleJsFilesRelPaths array  
AddSubBlock iUIBlock  
CSSClasses array like <code>[‘ibo-is-hidden’, ‘ibo-alert–body’]</code>
DataAttributes array Array of data attributes in the format [‘name’ => ‘value’]
DeferredBlocks array  
IsHidden bool Indicates if the block is hidden by default
SubBlocks array  

Examples

No examples provided yet