SlaxWeb\View\Service\Provider::getViewClass |
( |
string |
$view | ) |
|
|
protected |
Get View Class
Constructs the full view class name with the fully qualified namespace name and returns it as a string.
- Parameters
-
string | $view | Namespaceless view class name |
- Returns
- string
SlaxWeb\View\Service\Provider::register |
( |
Container |
$container | ) |
|
Register provider
Register the PHP Template Loader as the tempalte loader to the DIC.
- Parameters
-
\Pimple\Container | $container | DIC |
- Returns
- void
Set Layout
Loads and sets the layout to the view object that it receives. The first parameter must hold the name of the layout to load, and the second parameter is the view object to which the layout will be set.
- Parameters
-
string | $name | Name of the layout |
\SlaxWeb\View\Base | $view | View to which the layout is to be set |
- Returns
- void
The documentation for this class was generated from the following file:
- /opt/slax0rDev/slaxweb/view/src/Service/Provider.php