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

Public Member Functions

 setName ( $name)
 
 getName ()
 
 setTemplateName ( $name)
 
 getTemplateName ()
 
 setAttribute ( $key, $value)
 
 setAttributes ( $attr)
 
 getAttribute ( $key)
 
 getAttributes ()
 
 setType ( $type)
 
 getType ()
 
 setResult (&$result)
 
 getResult ()
 
 reset ()
 

Data Fields

 $mName
 
 $mRenderBuffer
 
 $mModuleName
 
 $mTemplateName
 
 $mAttributes = []
 
 $mType = XCUBE_RENDER_TARGET_TYPE_BUFFER
 
 $mCacheTime
 

Member Function Documentation

◆ getType()

getType ( )

Return render-target type.

Returns
int
Deprecated

◆ reset()

reset ( )

Reset a template name and attributes in own properties.

◆ setType()

setType ( $type)

Set render-target type.

Parameters
int$typeUse constants that are defined by us.
Deprecated

Field Documentation

◆ $mType

$mType = XCUBE_RENDER_TARGET_TYPE_BUFFER

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