docs/api/Opencart.System.Engine.Loader.html
Class Loader
Located at system\engine\loader.php
| Methods |
|---|
| ` |
public
` | `__construct(Registry $registry)`
Constructor
Constructor
| # | | `
public
` | `__get(string $key): object`
__get https://www.php.net/manual/en/language.oop5.overloading.php#object.get
__get https://www.php.net/manual/en/language.oop5.overloading.php#object.get
| # | | `
public
` | `__set(string $key, object $value): void`
__set https://www.php.net/manual/en/language.oop5.overloading.php#object.set
__set https://www.php.net/manual/en/language.oop5.overloading.php#object.set
| # | | `
public
` | `controller(string $route, mixed ...$args): mixed`
Controller https://wiki.php.net/rfc/variadics
Controller https://wiki.php.net/rfc/variadics
| # | | `
public
` | `model(string $route): void`
Model
Model
| # | | `
public
` | `view(string $route, array<string, mixed> $data = [], string $code = ''): string`
View Loads the template file and generates the html code.
View Loads the template file and generates the html code.
| # | | `
public
` | `language(string $route, string $prefix = '', string $code = ''): array<string, string>`
Language
Language
| # | | `
public
` | `library(string $route, array<mixed> &...$args): object`
Library
Library
| # | | `
public
` | `config(string $route): array<string, string>`
Config
Config
| # | | `
public
` | `helper(string $route): void`
Helper
Helper
| # |
| Properties |
|---|
| ` |
protected
` | `Registry` | `$registry`
| # |
OpenCart API API documentation generated by ApiGen dev-master