Documentation

GetPropertyArray

Description and parameters

CIBlockProperty::GetPropertyArray(
	ID,
	IBLOCK_ID, 
	bCached = true
);

Method returns description for property with ID. Used in API for generating filters by properties, for methods to create and modify items. Static method.

Call parameters

ParameterTypeDescription
IDint|string Identifier or symbolic code for required property.
IBLOCK_IDint|string|array Identifier or symbolic code for iblock, or an array with iblock IDs (or symbolic codes), with available property with the specified code.
bCachedbool When parameter is true, the data will be sourced from static cache (if available), or otherwise – from database.

In case query is executed to the database, starting from version 23.200.0 this query is cached additionally.

Parameter is optional, default value is true.

Returned value

Method returns false or an array with property description. Array consists of property and additional service fields, necessary for generating SQL filters by iblock properties.

See Also


© «Bitrix24», 2001-2024
Up