1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
topicmembersstepper.php
См. документацию.
1<?
2namespace Bitrix\Forum\Statistic;
3
4use Bitrix\Forum;
5use Bitrix\Main;
6use Bitrix\Main\Localization\Loc;
7
9{
10 protected static $moduleId = "forum";
11
12 public static function getTitle()
13 {
14 return Loc::getMessage("FORUM_TOPIC_MEMBERS_STEPPER_TITLE");
15 }
16
19 public function execute(array &$option)
20 {
21 $res = Main\Config\Option::get("forum", "stat.user.recalc.topic", "");
22 $res = unserialize($res, ["allowed_classes" => false]);
23 if (is_array($res) && !empty($res))
24 {
26 Main\Config\Option::delete("forum", ["name" => "stat.user.recalc.topic"]);
27 }
28 return self::FINISH_EXECUTION;
29 }
30
31 public static function calc(int $topicId)
32 {
34 }
35}
static runForTopic(int $topicId)
Определения user.php:64
static calcForTopics(array $topicIds)
Определения user.php:93
static delete($moduleId, array $filter=array())
Определения option.php:388
static get($moduleId, $name, $default="", $siteId=false)
Определения option.php:30
</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
$option
Определения options.php:1711