Documentation

toString

 public toString(Format $format[, string $strategyType = StringConverter::STRATEGY_TYPE_TEMPLATE ][, string $contentType = StringConverter::CONTENT_TYPE_HTML ]) : string

Non-static method converts address into the string.

Parameters

ParameterDescriptionVersion
$formatAddress format.
$strategyTypeConversion strategy type.
StringConverter::STRATEGY_TYPE_TEMPLATE - conversion by template.
StringConverter::STRATEGY_TYPE_FIELD_SORT - conversion according to field sorting.
StringConverter::STRATEGY_TYPE_FIELD_TYPE - conversion according to field type.
$contentTypeContent type.
StringConverter::CONTENT_TYPE_HTML - html
StringConverter::CONTENT_TYPE_TEXT - text

Example



© «Bitrix24», 2001-2024
Up