Component/Renderer/Abstract.php
- Classes
- Kwf_Component_Renderer_Abstract
\Kwf_Component_Renderer_Abstract
 Constants Constants
- PLUGIN_TYPE_AFTER
- PLUGIN_TYPE_BEFORE
- PLUGIN_TYPE_REPLACE
- PLUGIN_TYPE_USECACHE
 Properties Properties
- $_enableCache
- $_includedComponents
- $_minLifetime
 Methods Methods
- __construct
- _getGroupedViewPlugins
- _getRendererName
- _renderPass1
- _renderPass2
- getHelper
- getTemplate
- includedComponent
- render
- renderComponent
- setEnableCache
Constants
PLUGIN_TYPE_AFTER
 PLUGIN_TYPE_AFTER = 'A'
      
 Details
 Details
- value
- A
PLUGIN_TYPE_BEFORE
 PLUGIN_TYPE_BEFORE = 'B'
      
 Details
 Details
- value
- B
PLUGIN_TYPE_USECACHE
 PLUGIN_TYPE_USECACHE = 'C'
      
 Details
 Details
- value
- C
PLUGIN_TYPE_REPLACE
 PLUGIN_TYPE_REPLACE = 'R'
      
 Details
 Details
- value
- R
Properties
$_enableCache
 $_enableCache = 'null'
 Details
 Details
- visibility
- protected
- default
- null
- final
- false
- static
- false
$_includedComponents
 $_includedComponents = 'array'
 Details
 Details
- visibility
- protected
- default
- array
- final
- false
- static
- false
$_minLifetime
 $_minLifetime = ''
 Details
 Details
- visibility
- protected
- default
- final
- false
- static
- false
Methods
__construct
__construct(
          
          )
        
        :
        
 Details
 Details
- visibility
- public
- final
- false
- static
- false
_getGroupedViewPlugins
_getGroupedViewPlugins(
           $component
          )
        
        :
        Arguments
- $component
 Details
 Details
- visibility
- protected
- final
- false
- static
- true
_getRendererName
_getRendererName(
          
          )
        
        :
        
 Details
 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
 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
 Details
- visibility
- protected
- final
- false
- static
- false
getHelper
getHelper(
           $type
          )
        
        :
        Arguments
- $type
 Details
 Details
- visibility
- public
- final
- false
- static
- false
getTemplate
getTemplate(
           $component,  $type
          )
        
        :
        Arguments
- $component
- $type
 Details
 Details
- visibility
- public
- final
- false
- static
- false
includedComponent
includedComponent(
           $targetComponentId,  $targetType
          )
        
        :
        Arguments
- $targetComponentId
- $targetType
 Details
 Details
- visibility
- public
- final
- false
- static
- false
render
render(
           $ret
          )
        
        :
        Arguments
- $ret
 Details
 Details
- visibility
- public
- final
- false
- static
- false
renderComponent
renderComponent(
           $component,  $hasDynamicParts
              =
              false
          )
        
        :
        Renders a single component without master
Arguments
- $component
- $hasDynamicParts
 Details
 Details
- visibility
- public
- final
- false
- static
- false
setEnableCache
setEnableCache(
           $enableCache
          )
        
        :
        Arguments
- $enableCache
 Details
 Details
- visibility
- public
- final
- false
- static
- false