XCube
The foundational Core of XoopsCube Legacy
 
Loading...
Searching...
No Matches
XCube_RenderSystem Class Reference

Public Member Functions

 prepare (&$controller)
 
createRenderTarget ()
 
 render (&$target)
 

Data Fields

 $mController
 
 $mRenderMode = XCUBE_RENDER_MODE_NORMAL
 

Detailed Description

This system is responsible for rendering and managing the content cache. For cache management, this system must interoperate with a business logic before it can be executed. This class is poorly designed, so the template engine is heavily tied to cache management. We need to split this class into two parts: the renderer and the cache management.

Member Function Documentation

◆ createRenderTarget()

& createRenderTarget ( )

Create an object of the render-target, and return it.

Returns
XCube_RenderTarget

◆ prepare()

prepare ( & $controller)

Prepare.

Parameters
XCube_Controller$controller

◆ render()

render ( & $target)

Render to $target.

Parameters
XCube_RenderTarget$target

Field Documentation

◆ $mController

$mController

@access private


The documentation for this class was generated from the following file: