Bitrix API

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

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
throws
Exception

createInstanceByName()

public static createInstanceByName(mixed $name[, string $namespace = 'bitrix' ]) : Component|null
Parameters
$name : mixed
$namespace : string = 'bitrix'
Tags
throws
Exception
Return values
Component|null

execute()

public execute([bool $resultOnly = false ]) : mixed
Parameters
$resultOnly : bool = false
Tags
throws
ArgumentException
throws
FileNotFoundException
throws
LoaderException

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>|null

getComponentListInfo()

public getComponentListInfo() : array<string|int, mixed>
Return values
array<string|int, mixed>

getContent()

public getContent() : string
Return values
string

getDependencies()

public getDependencies() : mixed

getDependencyList()

public getDependencyList() : mixed

getEnvContent()

public getEnvContent() : string
Return values
string

getExtensionsContent()

public getExtensionsContent([mixed $excludeResult = false ]) : string
Parameters
$excludeResult : mixed = false
Return values
string

getFullyQualifiedName()

public getFullyQualifiedName() : string
Return values
string

getInfo()

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
string

getPublicPath()

public getPublicPath() : string
Return values
string

getRelativePathToFile()

public getRelativePathToFile() : mixed

getResult()

public getResult() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

getVersion()

public getVersion() : string
Return values
string

resolveDependencies()

public resolveDependencies() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

setVersion()

public setVersion([string $version = "1" ]) : mixed
Parameters
$version : string = "1"

        
On this page

Search results