1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
forumsort.php
См. документацию.
1<?php
2namespace Bitrix\Forum;
3
4use \Bitrix\Main\Localization\Loc;
5
6Loc::loadMessages(__FILE__);
7
8final class ForumSort
9{
10 private const LAST_POST_DATE = "P";
11 private const TITLE = "T";
12 private const POSTS = "N";
13 private const VIEWS = "V";
14 private const START_DATE = "D";
15 private const USER_START_NAME = "A";
16
21 public static function getList()
22 {
23 $res = (new \ReflectionClass(__CLASS__))->getConstants();
24 $result = array();
25 foreach ($res as $code => $id)
26 {
27 $result[$id] = Loc::getMessage("FORUM_SORT_".$code);
28 }
29 return $result;
30 }
31}
static getList()
Определения forumsort.php:21
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$res
Определения filter_act.php:7
$result
Определения get_property_values.php:14
if(!is_null($config))($config as $configItem)(! $configItem->isVisible()) $code
Определения options.php:195