Bitrix API

CommonElement extends EO_CommonElement

AbstractYes
Tags
subpackage

iblock

Table of Contents

Methods

setIblockSectionId()  : CommonElement
Handles relation with general section
sysAddToCollection()  : bool|void
Accepts PropertyValue and scalar, converts it to property reference
sysRemoveFromCollection()  : bool|void
Accepts PropertyValue and scalar, converts it to property reference
sysSaveCurrentReferences()  : mixed
No need to save current relations (they are all PropertyReferences and will be saved in other way)
sysSetValue()  : EntityObject|CommonElement
Accepts PropertyValue and scalar, converts it to property reference

Methods

setIblockSectionId()

Handles relation with general section

public setIblockSectionId(mixed $iblockSectionId) : CommonElement
Parameters
$iblockSectionId : mixed
Tags
throws
ArgumentException
throws
SystemException
Return values
CommonElement

sysAddToCollection()

Accepts PropertyValue and scalar, converts it to property reference

public sysAddToCollection(mixed $fieldName, mixed $remoteObject) : bool|void
Parameters
$fieldName : mixed
$remoteObject : mixed
Tags
throws
ArgumentException
throws
SystemException
Return values
bool|void

sysRemoveFromCollection()

Accepts PropertyValue and scalar, converts it to property reference

public sysRemoveFromCollection(mixed $fieldName, mixed $remoteObject) : bool|void
Parameters
$fieldName : mixed
$remoteObject : mixed
Tags
throws
ArgumentException
throws
SystemException
Return values
bool|void

sysSaveCurrentReferences()

No need to save current relations (they are all PropertyReferences and will be saved in other way)

public sysSaveCurrentReferences() : mixed

        
On this page

Search results