P
P
pavelmosin2020-07-16 08:58:49
1C-Bitrix
pavelmosin, 2020-07-16 08:58:49

What does false mean when calling a component?

Good day everyone!

<?
  $APPLICATION->IncludeComponent(
    "bitrix:search.form",
    "",
    Array(
    "PAGE" => "#SITE_DIR#search/index.php"
    ),
    false <-- вот этот
  );
?>


I didn’t find this in the documentation, but I see it in the project, and I can’t understand what it is and why

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
smilingcheater, 2020-07-16
@pavelmosin

The parent component is passed in this call parameter if this component is nested in its template. Required for correct caching. It's in the documentation.
https://dev.1c-bitrix.ru/api_help/main/reference/c...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question