class HtmlPresenter implements Presentable

HtmlPresenter

Properties

static protected string $commonHtmlWrapper 일반 출력할 때 사용할 wrapper
static protected string $popupHtmlWrapper 팝업 형식으로 출력할 때 사용할 wrapper
protected Presenter $presenter
protected SeoHandler $seo
protected WidgetParser $parser
protected string $skinName skin class name
protected string $id skin output id
protected array $data The array of view data.
protected string $type

Methods

__construct(Presenter $presenter, SeoHandler $seo, WidgetParser $parser)

Create a new Renderer instance.

static void
setCommonHtmlWrapper(string $viewName)

set common html wrapper

static void
setPopupHtmlWrapper(string $viewName)

set popup html wrapper

static string
format()

format

getPresenter()

get presenter

$this
setData()

set presenter data to html renderer

View
render()

Get the evaluated contents of the object.

View
renderSkin()

render skin

View
renderTheme(View $skinView)

render theme

array
toArray()

Get the instance as an array.

Details

at line 99
__construct(Presenter $presenter, SeoHandler $seo, WidgetParser $parser)

Create a new Renderer instance.

Parameters

Presenter $presenter presenter
SeoHandler $seo seo handler
WidgetParser $parser widget parser

at line 112
static void setCommonHtmlWrapper(string $viewName)

set common html wrapper

Parameters

string $viewName view name

Return Value

void

at line 123
static void setPopupHtmlWrapper(string $viewName)

set popup html wrapper

Parameters

string $viewName view name

Return Value

void

at line 133
static string format()

format

Return Value

string

at line 143
Presenter getPresenter()

get presenter

Return Value

Presenter

at line 153
$this setData()

set presenter data to html renderer

Return Value

$this

at line 164
View render()

Get the evaluated contents of the object.

Return Value

View

at line 196
View renderSkin()

render skin

Return Value

View

at line 238
View renderTheme(View $skinView)

render theme

Parameters

View $skinView skin view

Return Value

View

at line 268
array toArray()

Get the instance as an array.

Return Value

array