ElementV1 extends CommonElement
AbstractYes
Tags
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)
- sysSaveRelations() : mixed
- sysSetValue() : EntityObject
- 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
Return values
CommonElementsysAddToCollection()
Accepts PropertyValue and scalar, converts it to property reference
public
sysAddToCollection(mixed $fieldName, mixed $remoteObject) : bool|void
Parameters
- $fieldName : mixed
- $remoteObject : mixed
Tags
Return values
bool|voidsysRemoveFromCollection()
Accepts PropertyValue and scalar, converts it to property reference
public
sysRemoveFromCollection(mixed $fieldName, mixed $remoteObject) : bool|void
Parameters
- $fieldName : mixed
- $remoteObject : mixed
Tags
Return values
bool|voidsysSaveCurrentReferences()
No need to save current relations (they are all PropertyReferences and will be saved in other way)
public
sysSaveCurrentReferences() : mixed
sysSaveRelations()
public
sysSaveRelations(Result $result) : mixed
Parameters
- $result : Result
sysSetValue()
Accepts PropertyValue and scalar, converts it to property reference
public
sysSetValue(mixed $fieldName, mixed $value) : EntityObject
Parameters
- $fieldName : mixed
- $value : mixed