как получить символьный код секции битрикс (как получить section_code по id)

нужно получить сначало id секции, потом можно будет вытянуть его символьный код

<?
CModule::IncludeModule(‘iblock’);
$arSelect = Array(«NAME», «ID», «IBLOCK_SECTION_ID», «SECTION_CODE»);
$arFilter = Array(«IBLOCK_ID»=>7, «ACTIVE»=>»Y», «ID» => $arParams[«ID»]);
$res = CIBlockElement::GetList(Array(), $arFilter, false, Array(«nPageSize»=>50), $arSelect);
while($ob = $res->GetNextElement())
{
$arFields = $ob->GetFields();
$arPropMarket = $ob->GetProperties();

$sect_id = $arFields[«IBLOCK_SECTION_ID»];
$res = CIBlockSection::GetByID($sect_id);
if($ar_res = $res->GetNext())

$sect_code = $ar_res[‘CODE’];?>

<? } ?>

как получить символьный код секции битрикс (как получить section_code по id)

34 мыслей о “как получить символьный код секции битрикс (как получить section_code по id)

  • 17.12.2023 в 03:35
    Permalink

    I’ll right away grab your rss as I can not find your e-mail subscription link or e-newsletter service. Do you have any? Please let me know so that I could subscribe. Thanks.

  • 01.04.2024 в 15:47
    Permalink

    Way cool, some valid points! I appreciate you making this article available, the rest of the site is also high quality. Have a fun.

  • 02.04.2024 в 04:56
    Permalink

    Thanks for sharing superb informations. Your website is so cool. I am impressed by the details that you have on this blog. It reveals how nicely you understand this subject. Bookmarked this website page, will come back for extra articles. You, my friend, ROCK! I found simply the info I already searched all over the place and just could not come across. What a perfect web-site.

  • 02.04.2024 в 11:26
    Permalink

    I simply could not depart your site before suggesting that I really enjoyed the standard info an individual supply in your visitors? Is going to be again incessantly in order to inspect new posts.

  • 09.04.2024 в 21:57
    Permalink

    What is a Sugar Defender? Sugar Shield could be an affront affectability enhancement product that effectively supports stable blood sugar levels.

  • 16.04.2024 в 07:15
    Permalink

    Hi, Neat post. There’s a problem along with your website in internet explorer, may test this… IE still is the market chief and a large section of people will pass over your excellent writing because of this problem.

  • 16.04.2024 в 22:06
    Permalink

    I reckon something genuinely special in this site.

  • 20.04.2024 в 15:54
    Permalink

    The next time I read a blog, I hope that it doesnt disappoint me as much as this one. I mean, I know it was my choice to read, but I actually thought youd have something interesting to say. All I hear is a bunch of whining about something that you could fix if you werent too busy looking for attention.

  • 22.04.2024 в 19:18
    Permalink

    An impressive share, I just given this onto a colleague who was doing a little analysis on this. And he in fact bought me breakfast because I found it for him.. smile. So let me reword that: Thnx for the treat! But yeah Thnkx for spending the time to discuss this, I feel strongly about it and love reading more on this topic. If possible, as you become expertise, would you mind updating your blog with more details? It is highly helpful for me. Big thumb up for this blog post!

  • 25.04.2024 в 08:11
    Permalink

    What i don’t realize is in fact how you are now not really a lot more neatly-liked than you might be now. You are very intelligent. You recognize therefore significantly in terms of this topic, made me in my view imagine it from a lot of varied angles. Its like women and men don’t seem to be interested until it’s something to accomplish with Girl gaga! Your own stuffs nice. All the time care for it up!

  • 30.04.2024 в 13:07
    Permalink

    This is a very good tips especially to those new to blogosphere, brief and accurate information… Thanks for sharing this one. A must read article.

  • 07.05.2024 в 10:06
    Permalink

    FitSpresso is a weight loss supplement developed using clinically proven ingredients extracted from natural sources.

  • 08.05.2024 в 05:54
    Permalink

    I used to be very pleased to seek out this net-site.I needed to thanks in your time for this glorious learn!! I definitely enjoying each little bit of it and I have you bookmarked to check out new stuff you blog post.

  • 09.05.2024 в 23:01
    Permalink

    Yeah bookmaking this wasn’t a bad decision outstanding post! .

  • 10.05.2024 в 12:47
    Permalink

    I love the efforts you have put in this, thank you for all the great content.

  • 11.05.2024 в 14:32
    Permalink

    Balmorex Pro is a natural and amazing pain relief formula that decreases joint pain and provides nerve compression relief.

  • 12.05.2024 в 10:27
    Permalink

    Some really wonderful information, Gladiolus I found this. «Carthago delenda est. (Carthage must be destroyed.)» by Marcius Porcius Cato.

  • 14.05.2024 в 16:02
    Permalink

    great issues altogether, you just won a new reader. What may you suggest about your publish that you just made some days ago? Any sure?

  • 16.05.2024 в 02:44
    Permalink

    I haven¦t checked in here for a while as I thought it was getting boring, but the last several posts are great quality so I guess I¦ll add you back to my daily bloglist. You deserve it my friend :)

  • 16.05.2024 в 04:22
    Permalink

    Thanks for every other fantastic post. Where else may anyone get that type of info in such an ideal way of writing? I have a presentation next week, and I am at the search for such information.

  • 16.05.2024 в 05:27
    Permalink

    We’re a gaggle of volunteers and starting a brand new scheme in our community. Your website offered us with valuable information to paintings on. You have done a formidable task and our entire community might be thankful to you.

  • 20.05.2024 в 21:53
    Permalink

    Pretty element of content. I simply stumbled upon your website and in accession capital to say that I acquire in fact loved account your blog posts. Anyway I will be subscribing on your feeds and even I achievement you get admission to consistently rapidly.

  • 23.05.2024 в 11:17
    Permalink

    I do accept as true with all the ideas you have offered in your post. They’re very convincing and can definitely work. Still, the posts are too short for novices. May you please extend them a little from subsequent time? Thank you for the post.

  • 24.05.2024 в 01:17
    Permalink

    I would like to thnkx for the efforts you’ve put in writing this blog. I am hoping the same high-grade blog post from you in the upcoming also. Actually your creative writing abilities has inspired me to get my own site now. Really the blogging is spreading its wings fast. Your write up is a great example of it.

  • 27.05.2024 в 19:55
    Permalink

    Hello.This post was really interesting, particularly because I was browsing for thoughts on this issue last Monday.

  • 28.05.2024 в 02:24
    Permalink

    Howdy very nice blog!! Man .. Beautiful .. Superb .. I will bookmark your blog and take the feeds additionally…I am glad to seek out so many helpful info right here within the post, we need work out extra strategies in this regard, thanks for sharing. . . . . .

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *