См. определение в файле builder.php строка 10
◆ __construct()
Builder constructor.
- Аргументы
-
| ResourceCollection | $resources | |
- Исключения
-
См. определение в файле builder.php строка 36
◆ attachToLanding()
| attachToLanding |
( |
int | $lid | ) |
|
Assets pack must be attached only to once landing. Set ID
- Аргументы
-
См. определение в файле builder.php строка 74
◆ createByType()
- Аргументы
-
| ResourceCollection | $resources | Resources object |
| string | $type | Builder type |
- Возвращает
- Builder
- Исключения
-
| ArgumentException | |
| ArgumentTypeException | |
См. определение в файле builder.php строка 55
◆ getOutput()
Get all assets as normalized array by types
- Возвращает
- array
См. определение в файле builder.php строка 89
◆ initResourcesAsJsExtension()
| initResourcesAsJsExtension |
( |
array | $resources, |
|
|
| $extName = null ) |
|
protected |
@noinspection PhpMethodOrClassCallIsNotCaseSensitiveInspection
См. определение в файле builder.php строка 98
◆ normalizeResources()
◆ setOutput()
Add assets to page
- Возвращает
- mixed
◆ setStrings()
Add assets strings to page
См. определение в файле builder.php строка 119
◆ $landingId
◆ $normalizedResources
| $normalizedResources = [] |
|
protected |
◆ $resources
◆ PACKAGE_NAME
| const PACKAGE_NAME = 'landing_assets' |
|
protected |
◆ TYPE_STANDART
| const TYPE_STANDART = 'STANDART' |
|
protected |
◆ TYPE_WEBPACK
| const TYPE_WEBPACK = 'WEBPACK' |
|
protected |
Объявления и описания членов класса находятся в файле: