Namespaces

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Diagnostics
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
      • Diagnostics
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • PhpGenerator
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
  • NetteModule
  • none

Classes

  • AutoLoader
  • NetteLoader
  • RobotLoader
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class NetteLoader

Nette auto loader is responsible for loading Nette classes and interfaces.

Nette\Object
Extended by Nette\Loaders\NetteLoader
Namespace: Nette\Loaders
Author: David Grudl
Located at Loaders/NetteLoader.php
Methods summary
public static Nette\Loaders\NetteLoader
# getInstance( )

Returns singleton instance with lazy instantiation.

Returns singleton instance with lazy instantiation.

Returns

Nette\Loaders\NetteLoader
public
# register( boolean $prepend = FALSE )

Register autoloader.

Register autoloader.

Parameters

$prepend
boolean
prepend autoloader?
public
# tryLoad( string $type )

Handles autoloading of classes or interfaces.

Handles autoloading of classes or interfaces.

Parameters

$type
string
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
public array $renamed array( 'Nette\Config\Configurator' => 'Nette\Configurator', 'Nette\Config\CompilerExtension' => 'Nette\DI\CompilerExtension', 'Nette\Http\User' => 'Nette\Security\User', 'Nette\Templating\DefaultHelpers' => 'Nette\Templating\Helpers', 'Nette\Latte\ParseException' => 'Nette\Latte\CompileException', 'Nette\Utils\PhpGenerator\ClassType' => 'Nette\PhpGenerator\ClassType', 'Nette\Utils\PhpGenerator\Helpers' => 'Nette\PhpGenerator\Helpers', 'Nette\Utils\PhpGenerator\Method' => 'Nette\PhpGenerator\Method', 'Nette\Utils\PhpGenerator\Parameter' => 'Nette\PhpGenerator\Parameter', 'Nette\Utils\PhpGenerator\PhpLiteral' => 'Nette\PhpGenerator\PhpLiteral', 'Nette\Utils\PhpGenerator\Property' => 'Nette\PhpGenerator\Property', )
#
public array $list array( 'NetteModule\ErrorPresenter' => 'Application/ErrorPresenter', 'NetteModule\MicroPresenter' => 'Application/MicroPresenter', 'Nette\Application\AbortException' => 'Application/exceptions', 'Nette\Application\ApplicationException' => 'Application/exceptions', 'Nette\Application\BadRequestException' => 'Application/exceptions', 'Nette\Application\ForbiddenRequestException' => 'Application/exceptions', 'Nette\Application\InvalidPresenterException' => 'Application/exceptions', 'Nette\ArgumentOutOfRangeException' => 'common/exceptions', 'Nette\ArrayHash' => 'common/ArrayHash', 'Nette\ArrayList' => 'common/ArrayList', 'Nette\Callback' => 'common/Callback', 'Nette\Configurator' => 'common/Configurator', 'Nette\DI\MissingServiceException' => 'DI/exceptions', 'Nette\DI\ServiceCreationException' => 'DI/exceptions', 'Nette\Database\Reflection\AmbiguousReferenceKeyException' => 'Database/Reflection/exceptions', 'Nette\Database\Reflection\MissingReferenceException' => 'Database/Reflection/exceptions', 'Nette\DateTime' => 'common/DateTime', 'Nette\DeprecatedException' => 'common/exceptions', 'Nette\DirectoryNotFoundException' => 'common/exceptions', 'Nette\Environment' => 'common/Environment', 'Nette\FatalErrorException' => 'common/exceptions', 'Nette\FileNotFoundException' => 'common/exceptions', 'Nette\Framework' => 'common/Framework', 'Nette\FreezableObject' => 'common/FreezableObject', 'Nette\IFreezable' => 'common/IFreezable', 'Nette\IOException' => 'common/exceptions', 'Nette\Image' => 'common/Image', 'Nette\InvalidArgumentException' => 'common/exceptions', 'Nette\InvalidStateException' => 'common/exceptions', 'Nette\Latte\CompileException' => 'Latte/exceptions', 'Nette\Mail\SmtpException' => 'Mail/SmtpMailer', 'Nette\MemberAccessException' => 'common/exceptions', 'Nette\NotImplementedException' => 'common/exceptions', 'Nette\NotSupportedException' => 'common/exceptions', 'Nette\Object' => 'common/Object', 'Nette\ObjectMixin' => 'common/ObjectMixin', 'Nette\OutOfRangeException' => 'common/exceptions', 'Nette\StaticClassException' => 'common/exceptions', 'Nette\UnexpectedValueException' => 'common/exceptions', 'Nette\UnknownImageFileException' => 'common/Image', 'Nette\Utils\AssertionException' => 'Utils/Validators', 'Nette\Utils\JsonException' => 'Utils/Json', 'Nette\Utils\NeonEntity' => 'Utils/Neon', 'Nette\Utils\NeonException' => 'Utils/Neon', 'Nette\Utils\RegexpException' => 'Utils/Strings', 'Nette\Utils\TokenizerException' => 'Utils/Tokenizer', )
#
Magic properties inherited from Nette\Object
$reflection
Nette 2.1 API documentation generated by ApiGen 2.8.0