viewExists() 공개 메소드

public viewExists ( $view, $viewtype = '', $recurse = true )
예제 #1
0
 public function testViewsCanExistBasedOnViewtypeFallback()
 {
     $this->views->registerViewtypeFallback('mobile');
     $this->assertTrue($this->views->viewExists('js/interpreted.js', 'mobile'));
     $this->assertEquals('// PHP', $this->views->renderView('js/interpreted.js', array(), false, 'mobile'));
 }