PHP Class Xpressengine\Presenter\Html\HtmlRenderer

* html 으로 출력될 경우 사용 * Skin, Theme 를 출력할 수 있도록 지원
Deprecation: As of 3.0.0-beta6 replaced by HtmlPresenter
Author: XE Developers ([email protected])
Inheritance: implements Xpressengine\Presenter\Presentable
Afficher le fichier Open project: xpressengine/xpressengine Class Usage Examples

Protected Properties

Свойство Type Description
$commonHtmlWrapper string 일반 출력할 때 사용할 wrapper
$data array The array of view data.
$id string skin output id
$parser Xpressengine\Widget\WidgetParser
$popupHtmlWrapper string 팝업 형식으로 출력할 때 사용할 wrapper
$presenter Xpressengine\Presenter\Presenter
$seo Xpressengine\Seo\SeoHandler
$skinName string skin class name
$type string

Méthodes publiques

Méthode Description
__construct ( Presenter $presenter, SeoHandler $seo, WidgetParser $parser ) Create a new Renderer instance.
format ( ) : string Illuminate\Http\Request::initializeFormats() 에서 정의된 formats 에서 하나의 format
getPresenter ( ) : Presenter get presenter
render ( ) : Illuminate\View\View Get the evaluated contents of the object.
renderSkin ( ) : Illuminate\View\View render skin
renderTheme ( Illuminate\View\View $skinView ) : Illuminate\View\View render theme
setCommonHtmlWrapper ( string $viewName ) : void set common html wrapper
setData ( ) set presenter data to html renderer
setPopupHtmlWrapper ( string $viewName ) : void set popup html wrapper
toArray ( ) : array Get the instance as an array.

Method Details

__construct() public méthode

Create a new Renderer instance.
public __construct ( Presenter $presenter, SeoHandler $seo, WidgetParser $parser )
$presenter Xpressengine\Presenter\Presenter presenter
$seo Xpressengine\Seo\SeoHandler seo handler
$parser Xpressengine\Widget\WidgetParser widget parser

format() public static méthode

Illuminate\Http\Request::initializeFormats() 에서 정의된 formats 에서 하나의 format
public static format ( ) : string
Résultat string

getPresenter() public méthode

get presenter
public getPresenter ( ) : Presenter
Résultat Xpressengine\Presenter\Presenter

render() public méthode

Get the evaluated contents of the object.
public render ( ) : Illuminate\View\View
Résultat Illuminate\View\View

renderSkin() public méthode

render skin
public renderSkin ( ) : Illuminate\View\View
Résultat Illuminate\View\View

renderTheme() public méthode

render theme
public renderTheme ( Illuminate\View\View $skinView ) : Illuminate\View\View
$skinView Illuminate\View\View skin view
Résultat Illuminate\View\View

setCommonHtmlWrapper() public static méthode

set common html wrapper
public static setCommonHtmlWrapper ( string $viewName ) : void
$viewName string view name
Résultat void

setData() public méthode

set presenter data to html renderer
public setData ( )

setPopupHtmlWrapper() public static méthode

set popup html wrapper
public static setPopupHtmlWrapper ( string $viewName ) : void
$viewName string view name
Résultat void

toArray() public méthode

Get the instance as an array.
public toArray ( ) : array
Résultat array

Property Details

$commonHtmlWrapper protected_oe static_oe property

일반 출력할 때 사용할 wrapper
protected static string $commonHtmlWrapper
Résultat string

$data protected_oe property

The array of view data.
protected array $data
Résultat array

$id protected_oe property

skin output id
protected string $id
Résultat string

$parser protected_oe property

protected WidgetParser,Xpressengine\Widget $parser
Résultat Xpressengine\Widget\WidgetParser

$popupHtmlWrapper protected_oe static_oe property

팝업 형식으로 출력할 때 사용할 wrapper
protected static string $popupHtmlWrapper
Résultat string

$presenter protected_oe property

protected Presenter,Xpressengine\Presenter $presenter
Résultat Xpressengine\Presenter\Presenter

$seo protected_oe property

protected SeoHandler,Xpressengine\Seo $seo
Résultat Xpressengine\Seo\SeoHandler

$skinName protected_oe property

skin class name
protected string $skinName
Résultat string

$type protected_oe property

protected string $type
Résultat string