• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/ui/tileview.php
  • Класс: BitrixSenderUITileView
  • Вызов: TileView::prepareTileForSorting
static function prepareTileForSorting(&$tile, $section)
{
	if ($section === self::SECTION_LAST)
	{
		$last = $tile['data'][self::SECTION_LAST];
		if ($last instanceof DateTime)
		{
			$tile['data'][self::SECTION_LAST] = $last->getTimestamp();
		}
	}
}