Sorry, but I can't find any documentation of Views in Documentation section.
I have some questions:
-
$view->layout()->scripts - i saw this in main layout. How and where scripts is assigned?
-
There is directory partial in View directory. How to import templates from this directory? I'd like to add some template in a view.
Sorry, but I can't find any documentation of
Viewsin Documentation section.I have some questions:
$view->layout()->scripts- i saw this in main layout. How and wherescriptsis assigned?There is directory
partialinViewdirectory. How to import templates from this directory? I'd like to add some template in a view.