PHP 클래스 Bluz\View\View

저자: Anton Shevchuk, ErgallM
상속: implements Bluz\View\ViewInterface, implements JsonSerializable, use trait Bluz\Common\Container\Container, use trait Bluz\Common\Container\JsonSerialize, use trait Bluz\Common\Container\MagicAccess, use trait Bluz\Common\Options, use trait Bluz\Common\Helper
파일 보기 프로젝트 열기: bluzphp/framework 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$baseUrl base url
$partialPath paths to partial
$path path to template
$template template name

공개 메소드들

메소드 설명
__construct ( ) Create view instance, initial default helper path
__sleep ( ) : string[] List of packed properties
__toString ( ) : string Render like string
addPartialPath ( string $path ) : View Add partial path for use inside partial and partialLoop helpers
setPath ( string $path ) : void
setTemplate ( string $file ) : void

메소드 상세

__construct() 공개 메소드

Create view instance, initial default helper path
public __construct ( )

__sleep() 공개 메소드

List of packed properties
public __sleep ( ) : string[]
리턴 string[]

__toString() 공개 메소드

Render like string
public __toString ( ) : string
리턴 string

addPartialPath() 공개 메소드

Add partial path for use inside partial and partialLoop helpers
public addPartialPath ( string $path ) : View
$path string
리턴 View

setPath() 공개 메소드

public setPath ( string $path ) : void
$path string
리턴 void

setTemplate() 공개 메소드

public setTemplate ( string $file ) : void
$file string
리턴 void

프로퍼티 상세

$baseUrl 보호되어 있는 프로퍼티

base url
protected $baseUrl

$partialPath 보호되어 있는 프로퍼티

paths to partial
protected $partialPath

$path 보호되어 있는 프로퍼티

path to template
protected $path

$template 보호되어 있는 프로퍼티

template name
protected $template