Bitrix API

IblockValues extends BaseValues

Table of Contents

Methods

__construct()  : mixed
clearValues()  : void
Clears iblock values DB cache
createTemplateEntity()  : Base
Creates an entity which will be used to process the templates.
deleteValues()  : void
Must be called on template delete.
getIblockId()  : int
Returns the identifier of the iblock of the entity.
getId()  : int
Returns unique identifier of the iblock.
getParent()  : BaseValues|null
Returns it's first parent if exists one.
getParents()  : mixed
Returns all the parents of the iblock which is empty array.
getType()  : string
Returns type of the entity which will be stored into DB.
getValue()  : string
Returns value of the inherited property.
getValues()  : mixed
Returns all calculated values of inherited properties for this entity.
getValueTableName()  : string
Returns the table name where values will be stored.
hasTemplates()  : bool
Checks if there are some templates exists for this set of values.
queryValues()  : mixed
Returns all calculated values of inherited properties for iblock.
queue()  : void
Puts a mark for and element or section to be queried from the database.

Methods

__construct()

public __construct(int $iblockId) : mixed
Parameters
$iblockId : int

Iblock identifier.

clearValues()

Clears iblock values DB cache

public clearValues() : void

createTemplateEntity()

Creates an entity which will be used to process the templates.

public createTemplateEntity() : Base
Return values
Base

deleteValues()

Must be called on template delete.

public deleteValues(int $ipropertyId) : void
Parameters
$ipropertyId : int

Identifier of the inherited property.

getIblockId()

Returns the identifier of the iblock of the entity.

public getIblockId() : int
Return values
int

getId()

Returns unique identifier of the iblock.

public getId() : int
Return values
int

getParents()

Returns all the parents of the iblock which is empty array.

public getParents() : mixed
Tags
@return

array[]\Bitrix\Iblock\InheritedProperty\BaseValues

getType()

Returns type of the entity which will be stored into DB.

public getType() : string
Return values
string

getValue()

Returns value of the inherited property.

public getValue(string $propertyCode) : string

The result is html encoded string.

Parameters
$propertyCode : string

Mnemonic code.

Return values
string

getValues()

Returns all calculated values of inherited properties for this entity.

public getValues() : mixed
Tags
@return

array[string]string

getValueTableName()

Returns the table name where values will be stored.

public getValueTableName() : string
Return values
string

hasTemplates()

Checks if there are some templates exists for this set of values.

public hasTemplates() : bool
Return values
bool

queryValues()

Returns all calculated values of inherited properties for iblock.

public queryValues() : mixed
Tags
@return

array[string]string

queue()

Puts a mark for and element or section to be queried from the database.

public static queue(int $iblockId, int $id) : void
Parameters
$iblockId : int

IBlock identifier.

$id : int

Element or section identifier.


        
On this page

Search results