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
Parameter | Description | Version |
---|---|---|
$format | Address format. | |
$strategyType | Conversion 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. | |
$contentType | Content type.
StringConverter::CONTENT_TYPE_HTML - html StringConverter::CONTENT_TYPE_TEXT - text |
Example
© «Bitrix24», 2001-2024