setViewDir() public method

public setViewDir ( string $view, string $location, string $viewtype = '' )
$view string Name of the view
$location string Full path to the view file
$viewtype string The viewtype to register this under
コード例 #1
0
 public function testCanSetViewsDirs()
 {
     $this->views->setViewDir('static.css', __DIR__ . '/../test_files/views2/');
     $this->assertEquals('body{}', $this->views->renderView('static.css'));
 }