$arSelect = array("122", "URL", "URL");
$res = CIBlockElement::GetList(array(), array(), false, array(), $arSelect);
print_r($res);$IBLOCK_ID =9;
$res = CIBlock::GetProperties($IBLOCK_ID);
while($res_arr = $res->Fetch()){
echo "<pre>property: "; print_r($res_arr); echo "</pre>";
if($res_arr['CODE'] == "PAKET"){
$property_enums = CIBlockPropertyEnum::GetList(Array("DEF"=>"DESC", "SORT"=>"ASC"), Array("IBLOCK_ID"=>$IBLOCK_ID, "CODE"=>"PAKET"));
while($enum_fields = $property_enums->GetNext())
{
echo "<pre>field: "; print_r($enum_fields); echo "</pre>";
}
}
}
Array
(
[ID] => 125
[TIMESTAMP_X] => 2019-06-19 10:54:35
[IBLOCK_ID] => 9
[NAME] => URL
[ACTIVE] => Y
[SORT] => 500
[CODE] => URL
[DEFAULT_VALUE] =>
[PROPERTY_TYPE] => S
[ROW_COUNT] => 1
[COL_COUNT] => 30
[LIST_TYPE] => L
[MULTIPLE] => N
[XML_ID] =>
[FILE_TYPE] =>
[MULTIPLE_CNT] => 5
[TMP_ID] =>
[LINK_IBLOCK_ID] => 0
[WITH_DESCRIPTION] => Y
[SEARCHABLE] => Y
[FILTRABLE] => Y
[IS_REQUIRED] => Y
[VERSION] => 1
[USER_TYPE] =>
[USER_TYPE_SETTINGS] =>
[HINT] =>
)
CIBlockResult Object
(
[arIBlockMultProps] => Array
(
)
[arIBlockConvProps] => Array
(
)
[arIBlockAllProps] => Array
(
)
[arIBlockNumProps] => Array
(
)
[arIBlockLongProps] => Array
(
)
[nInitialSize] =>
[table_id] =>
[strDetailUrl] =>
[strSectionUrl] =>
[strListUrl] =>
[arSectionContext] =>
[bIBlockSection] =>
[nameTemplate] =>
[_LAST_IBLOCK_ID] =>
[_FILTER_IBLOCK_ID] => Array
(
)
[result] => mysqli_result Object
(
[current_field] => 0
[field_count] => 1
[lengths] =>
[num_rows] => 932
[type] => 0
)
[arResult] =>
[arReplacedAliases] =>
[arResultAdd] =>
[bNavStart] =>
[bShowAll] =>
[NavNum] =>
[NavPageCount] =>
[NavPageNomer] =>
[NavPageSize] =>
[NavShowAll] =>
[NavRecordCount] =>
[bFirstPrintNav] => 1
[PAGEN] =>
[SIZEN] =>
[SESS_SIZEN] =>
[SESS_ALL] =>
[SESS_PAGEN] =>
[add_anchor] =>
[bPostNavigation] =>
[bFromArray] =>
[bFromLimited] =>
[sSessInitAdd] =>
[nPageWindow] => 5
[nSelectedCount] =>
[arGetNextCache] =>
[bDescPageNumbering] =>
[arUserFields] =>
[usedUserFields] =>
[SqlTraceIndex] =>
[DB] => CDatabase Object
(
[db_Conn] => mysqli Object
(
[affected_rows] => 932
[client_info] => 5.7.25-28
[client_version] => 50725
[connect_errno] => 0
[connect_error] =>
[errno] => 0
[error] =>
[error_list] => Array
(
)
[field_count] => 1
[host_info] => Localhost via UNIX socket
[info] =>
[insert_id] => 0
[server_info] => 5.7.25-28-log
[server_version] => 50725
[stat] => Uptime: 2682 Threads: 21 Questions: 3683549 Slow queries: 10 Opens: 496215 Flush tables: 1 Open tables: 1984 Queries per second avg: 1373.433
[sqlstate] => 00000
[protocol_version] => 10
[thread_id] => 51255
[warning_count] => 0
)
[version] =>
[escL] => `
[escR] => `
[alias_length] => 256
[DBName] => host1675071
[DBHost] => localhost
[DBLogin] => host1675071
[DBPassword] => AheD5zo7
[bConnected] => 1
[debug] =>
[DebugToFile] =>
[ShowSqlStat] =>
[db_Error] =>
[db_ErrorSQL] =>
[result] =>
[type] => MYSQL
[column_cache] => Array
(
)
[bModuleConnection] =>
[bNodeConnection] =>
[node_id] =>
[obSlave] =>
[cntQuery] => 0
[timeQuery] => 0
[arQueryDebug] => Array
(
)
[sqlTracker] =>
)
[NavRecordCountChangeDisable] =>
[is_filtered] =>
[nStartPage] => 0
[nEndPage] => 0
[resultObject] =>
)
Array
(
[URL] =>
[QQQ] =>
)