메소드 | 설명 | |
---|---|---|
__construct ( string $path = null ) : void | Initialize factory by providing input file path | |
create ( ) | Depending on internal configuration and concrete type, create view | |
getInputFile ( ) : string | Get input file path | |
getInputRootDir ( ) : string | Get input root directory | |
setInputFile ( string $path ) : |
Set input file path | |
setInputRootDir ( string $path ) : |
Set input root dir |
메소드 | 설명 | |
---|---|---|
constructFile ( string $type ) : Phrozn\Site\View | Create and return view of a given type |
public __construct ( string $path = null ) : void | ||
$path | string | Path to page source file |
리턴 | void |
public setInputFile ( string $path ) : |
||
$path | string | Path to file |
리턴 |
public setInputRootDir ( string $path ) : |
||
$path | string | Input root directory |
리턴 |