Component/Renderer/Abstract.php

Classes 
Classes
Kwf_Component_Renderer_Abstract

\Kwf_Component_Renderer_Abstract

Constants
PLUGIN_TYPE_AFTER
PLUGIN_TYPE_BEFORE
PLUGIN_TYPE_REPLACE
PLUGIN_TYPE_USECACHE
Properties
$_enableCache
$_includedComponents
$_minLifetime
Methods
__construct
_getGroupedViewPlugins
_getRendererName
_renderPass1
_renderPass2
getHelper
getTemplate
includedComponent
render
renderComponent
setEnableCache

Constants

PLUGIN_TYPE_AFTER

 PLUGIN_TYPE_AFTER = 'A'

Details

value
A

PLUGIN_TYPE_BEFORE

 PLUGIN_TYPE_BEFORE = 'B'

Details

value
B

PLUGIN_TYPE_USECACHE

 PLUGIN_TYPE_USECACHE = 'C'

Details

value
C

PLUGIN_TYPE_REPLACE

 PLUGIN_TYPE_REPLACE = 'R'

Details

value
R

Properties

$_enableCache

 $_enableCache = 'null'

Details

visibility
protected
default
null
final
false
static
false

$_includedComponents

 $_includedComponents = 'array'

Details

visibility
protected
default
array
final
false
static
false

$_minLifetime

 $_minLifetime = ''

Details

visibility
protected
default
final
false
static
false

Methods

__construct

__construct( ) :
Details
visibility
public
final
false
static
false

_getGroupedViewPlugins

_getGroupedViewPlugins(  $component ) :
Arguments
$component
Details
visibility
protected
final
false
static
true

_getRendererName

_getRendererName( ) :
Details
visibility
protected
final
false
static
false

_renderPass1

_renderPass1( string $ret, bool $pass1Cacheable = true ) :

Render components (ie. expand <kwc ...>)

Pass 1 for content that can be stored in fullPage cache, 2 for everything else. 2 includes 1, so calling just with 2 also works

Arguments
$ret
string
render content
$pass1Cacheable
bool
if returned contents is cacheable
Details
visibility
protected
final
false
static
false

_renderPass2

_renderPass2( string $ret,  $hasDynamicParts = false ) :

Render components (ie. expand <kwc ...>)

Pass 1 for content that can be stored in fullPage cache, 2 for everything else. 2 includes 1, so calling just with 2 also works

Arguments
$ret
string
render content
$hasDynamicParts
Details
visibility
protected
final
false
static
false

getHelper

getHelper(  $type ) :
Arguments
$type
Details
visibility
public
final
false
static
false

getTemplate

getTemplate(  $component,  $type ) :
Arguments
$component
$type
Details
visibility
public
final
false
static
false

includedComponent

includedComponent(  $targetComponentId,  $targetType ) :
Arguments
$targetComponentId
$targetType
Details
visibility
public
final
false
static
false

render

render(  $ret ) :
Arguments
$ret
Details
visibility
public
final
false
static
false

renderComponent

renderComponent(  $component,  $hasDynamicParts = false ) :

Renders a single component without master

Arguments
$component
$hasDynamicParts
Details
visibility
public
final
false
static
false

setEnableCache

setEnableCache(  $enableCache ) :
Arguments
$enableCache
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox 0.12.3.