getAutoload() public method

Get the state of view template auto load.
public getAutoload ( ) : boolean
return boolean
Example #1
0
 public function testSetGetAutload()
 {
     $view = new View();
     $this->assertTrue($view->getAutoload());
     $view->setAutoload(false);
     $this->assertFalse($view->getAutoload());
 }