Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
If at the time of the call this property is not set, then there is no way to get it. Here the essence must be understood. YOU want to get a value that is not yet set in any way and it is not known what it will be.
If you do at the very beginning of header.php
then it will not be false, but value1 . But! Let's say you use it, but add it in the footer
as a result, it turns out that you are working with the wrong value. Because ShowProperty will show value2 and you have "already" processed value1
So you better be wondering why. Why are you doing it? Perhaps you are just going the wrong way.
$APPLICATION->SetProperty('MyProp','value1');
$APPLICATION->SetProperty('MyProp','value2');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question