Answer the question
In order to leave comments, you need to log in
How to get section name?
in the directory section var_dump($arResult)
gives the following output
Can I somehow ['VARIABLES']
display more ['SECTION_NAME']
? What parameter is it passed?
Now the name of the section is printed by the method $APPLICATION->ShowTitle(false)
, but this method prints, and does not return, the buffer somehow does not want to fence.
Answer the question
In order to leave comments, you need to log in
in variables, an array generated from the CNC is initially displayed
; if you need to get the NAME of the section, you can use the CIBlockSection::GetList function
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question