\erdiko\coreResponse

Response Class

Summary

Methods
Properties
Constants
__construct()
setDataValue()
getDataValue()
setTheme()
getTheme()
setThemeName()
getThemeName()
setThemeTemplate()
getThemeTemplate()
setContent()
getContent()
appendContent()
render()
send()
No public properties found
No constants found
No protected methods found
$_theme
$_themeName
$_themeTemplate
$_content
$_data
N/A
No private methods found
No private properties found
N/A

Properties

$_theme

$_theme : 

Theme object

Type

$_themeName

$_themeName : 

Theme name

Type

$_themeTemplate

$_themeTemplate : 

Theme template

Type

$_content

$_content : 

Content

Type

$_data

$_data : 

Data

Type

Methods

__construct()

__construct(\erdiko\core\Theme $theme)

Constructor

Parameters

\erdiko\core\Theme $theme
  • Theme Object (Container)

setDataValue()

setDataValue(mixed $key, mixed $value)

Set data value

Parameters

mixed $key
mixed $value

getDataValue()

getDataValue(mixed $key) : mixed

Get data value

Parameters

mixed $key

Returns

mixed

setTheme()

setTheme( $theme)

Set theme

Parameters

$theme

setThemeName()

setThemeName(string $themeName)

Set Theme Name

Parameters

string $themeName

getThemeName()

getThemeName() : string

Get the theme name

Returns

string —

$name

setThemeTemplate()

setThemeTemplate( $template)

Set Theme Template

Parameters

$template

getThemeTemplate()

getThemeTemplate() : string

Get the theme template

Returns

string —

$_themeTemplate

setContent()

setContent(\erdiko\core\Container $content)

Set content

Parameters

\erdiko\core\Container $content
  • e.g. View or Layout Object

getContent()

getContent() : string

Get content

Returns

string

appendContent()

appendContent(string $content)

Append some html content to the existing content

Parameters

string $content

render()

render() : string

Render

Returns

string

send()

send()

Render and send data to browser then end request