__construct
public \Bitrix\Main\Text\DateConverterResult::__construct( \Bitrix\Main\Type\DateTime $date, string $text, $type = self::TYPE_UNKNOWN, array $metrics = array(), array $metricModifier = array() );
Constructor for class DateConverterResult
Parameters
Parameter | Description | Version |
---|---|---|
$date | Object of class DateTime . | |
$text | Text | |
$type | Option parameter - recognition type. | |
$metrics | Array with phrases for recognition. | |
$metricModifier | Array with phrase recognition modifiers. |
Example
© «Bitrix24», 2001-2024
Up