Component extends Base
Table of Contents
Constants
- VERSION = 2
Properties
- $isBundleEnabled : mixed
- $name : mixed
Methods
- __construct() : mixed
- Component constructor.
- createInstanceByName() : Component|null
- execute() : mixed
- getBundleFiles() : array<string|int, mixed>
- getComponentDependencies() : array<string|int, mixed>|null
- getComponentListInfo() : array<string|int, mixed>
- getContent() : string
- getDependencies() : mixed
- getDependencyList() : mixed
- getEnvContent() : string
- getExtensionsContent() : string
- getFullyQualifiedName() : string
- getInfo() : array<string|int, mixed>
- getLangDefinitionExpression() : mixed
- getLangMessages() : mixed
- getModificationMarker() : mixed
- getPath() : string
- getPublicPath() : string
- getRelativePathToFile() : mixed
- getResult() : array<string|int, mixed>|null
- getVersion() : string
- resolveDependencies() : array<string|int, mixed>|null
- setVersion() : mixed
Constants
VERSION
public
mixed
VERSION
= 2
Properties
$isBundleEnabled
public
mixed
$isBundleEnabled
= false
$name
public
mixed
$name
Methods
__construct()
Component constructor.
public
__construct([null $path = null ][, mixed $namespace = "bitrix" ]) : mixed
Parameters
- $path : null = null
- $namespace : mixed = "bitrix"
Tags
createInstanceByName()
public
static createInstanceByName(mixed $name[, string $namespace = 'bitrix' ]) : Component|null
Parameters
- $name : mixed
- $namespace : string = 'bitrix'
Tags
Return values
Component|nullexecute()
public
execute([bool $resultOnly = false ]) : mixed
Parameters
- $resultOnly : bool = false
Tags
getBundleFiles()
public
getBundleFiles() : array<string|int, mixed>
Return values
array<string|int, mixed>getComponentDependencies()
public
getComponentDependencies() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetComponentListInfo()
public
getComponentListInfo() : array<string|int, mixed>
Return values
array<string|int, mixed>getContent()
public
getContent() : string
Return values
stringgetDependencies()
public
getDependencies() : mixed
getDependencyList()
public
getDependencyList() : mixed
getEnvContent()
public
getEnvContent() : string
Return values
stringgetExtensionsContent()
public
getExtensionsContent([mixed $excludeResult = false ]) : string
Parameters
- $excludeResult : mixed = false
Return values
stringgetFullyQualifiedName()
public
getFullyQualifiedName() : string
Return values
stringgetInfo()
public
getInfo() : array<string|int, mixed>
Return values
array<string|int, mixed>getLangDefinitionExpression()
public
getLangDefinitionExpression() : mixed
getLangMessages()
public
getLangMessages() : mixed
getModificationMarker()
public
getModificationMarker() : mixed
getPath()
public
getPath() : string
Return values
stringgetPublicPath()
public
getPublicPath() : string
Return values
stringgetRelativePathToFile()
public
getRelativePathToFile() : mixed
getResult()
public
getResult() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetVersion()
public
getVersion() : string
Return values
stringresolveDependencies()
public
resolveDependencies() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullsetVersion()
public
setVersion([string $version = "1" ]) : mixed
Parameters
- $version : string = "1"