registerViewtypeFallback() публичный Метод

public registerViewtypeFallback ( $viewtype )
Пример #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'));
 }