Свойство | Тип | Описание | |
---|---|---|---|
$path | string | The current path to view file | |
$vars | array | Array of view variables |
Метод | Описание | |
---|---|---|
__callStatic ( $method, $arguments ) : object | Create a instance of a View class for chaining using a method for the file name | |
__construct ( $path, $vars = [] ) | Create a instance or the View class | |
create ( $path, $vars = [] ) : object | Create a instance or the View class for chaining | |
partial ( $name, $path, $vars = [] ) : string | Render a partial view | |
render ( ) : string | Render the view |
public static __callStatic ( $method, $arguments ) : object | ||
Результат | object |
public __construct ( $path, $vars = [] ) |