HtmlPresenter
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.
at line 112
static void
setCommonHtmlWrapper(string $viewName)
set common html wrapper
at line 123
static void
setPopupHtmlWrapper(string $viewName)
set popup html wrapper
at line 133
static string
format()
format
at line 143
Presenter
getPresenter()
get presenter
at line 153
$this
setData()
set presenter data to html renderer
at line 164
View
render()
Get the evaluated contents of the object.
at line 196
View
renderSkin()
render skin
at line 238
View
renderTheme(View $skinView)
render theme
at line 268
array
toArray()
Get the instance as an array.