CodeIgniter 4 Pre-Alpha 1: $viewPath - make it multiple |
CodeIgniter 4 Pre-Alpha 1
class CodeIgniter\View\View The constructor contains the parameter string $viewPath=null. This means that only one path to be scanned for a searched view is allowed. I think that more flexibility will be achieved if the class is capable to scan several directories until it finds a matching view. So the parameter $viewPath could be an array. Also, additional methods addPath() and prependPath() could be added. |
Messages In This Thread |
CodeIgniter 4 Pre-Alpha 1: $viewPath - make it multiple - by ivantcholakov - 06-26-2016, 06:35 AM
RE: CodeIgniter 4 Pre-Alpha 1: $viewPath - make it multiple - by kilishan - 06-26-2016, 12:15 PM
|