Phergie_Plugin_Handler::getAutoload PHP Method

getAutoload() public method

Returns the value of a flag used to determine whether plugins should be loaded automatically if they have not been explicitly loaded.
public getAutoload ( ) : boolean
return boolean TRUE if autoloading is enabled, FALSE otherwise
    public function getAutoload()
    {
        return $this->autoload;
    }

Usage Example

示例#1
0
 /**
  * Tests setAutoload().
  *
  * @depends testGetAutoloadDefaultsToNotAutoload
  * @return void
  */
 public function testSetAutoload()
 {
     $this->assertSame($this->handler->setAutoload(true), $this->handler, 'setAutoload() does not provide a fluent interface');
     $this->assertTrue($this->handler->getAutoload(), 'setAutoload() had no effect on getAutoload()');
 }
All Usage Examples Of Phergie_Plugin_Handler::getAutoload