API - XOOPS 2.5.11 Beta 2
By monxoops.fr
XoopsFormRenderer Class Reference

Public Member Functions

 __clone ()
 
 __wakeup ()
 
 set (XoopsFormRendererInterface $renderer)
 
 get ()
 

Static Public Member Functions

static getInstance ()
 

Data Fields

const NOT_PERMITTED = 'Not supported for Singleton'
 

Protected Member Functions

 __construct ()
 

Protected Attributes

 $renderer
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( )
protected

Protected constructor to prevent creating a new instance of the Singleton via the new operator from outside of this class.

Member Function Documentation

◆ __clone()

__clone ( )

Private clone method to prevent cloning of the instance of the Singleton instance.

Returns
void
Exceptions

LogicException

◆ __wakeup()

__wakeup ( )

Private unserialize method to prevent unserializing of the Singleton instance.

Returns
void
Exceptions

LogicException

◆ get()

get ( )

get the renderer

Returns
XoopsFormRendererInterface
Here is the call graph for this function:

◆ getInstance()

static getInstance ( )
static

Returns the Singleton instance of this class.

Returns
XoopsFormRenderer the singleton instance.
Here is the caller graph for this function:

◆ set()

set ( XoopsFormRendererInterface  $renderer)

set the renderer

Parameters
XoopsFormRendererInterface$rendererinstance of renderer
Returns
void

Field Documentation

◆ $renderer

$renderer
protected

◆ NOT_PERMITTED

const NOT_PERMITTED = 'Not supported for Singleton'

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