1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
loglistcommon.php
См. документацию.
1<?php
2
3namespace Bitrix\Socialnetwork\Component;
4
5use Bitrix\Main\ErrorCollection;
6use Bitrix\Main\Error;
7use Bitrix\Socialnetwork\Component\LogListCommon\Util;
8
10{
13 protected $request = null;
14 protected $currentUserAdmin = false;
15
16 protected $task2LogList = [];
17
18 public function configureActions(): array
19 {
20 return [];
21 }
22
23 public function getErrorByCode($code)
24 {
25 return $this->errorCollection->getErrorByCode($code);
26 }
27
32 public function getErrors(): array
33 {
34 return $this->errorCollection->toArray();
35 }
36
37 protected function printErrors()
38 {
39 foreach($this->errorCollection as $error)
40 {
42 }
43 }
44
45 protected function getRequest()
46 {
47 if ($this->request == null)
48 {
49 $this->request = Util::getRequest();
50 }
51
52 return $this->request;
53 }
54
55 public function setTask2LogListValue($value = [])
56 {
57 $this->task2LogList = $value;
58 }
59
60 public function getTask2LogListValue()
61 {
62 return $this->task2LogList;
63 }
64
65 public function setCurrentUserAdmin($value = false): void
66 {
67 $this->currentUserAdmin = $value;
68 }
69
70 public function getCurrentUserAdmin()
71 {
72 return $this->currentUserAdmin;
73 }
74}
if(!Loader::includeModule('catalog')) if(!AccessController::getCurrent() ->check(ActionDictionary::ACTION_PRICE_EDIT)) if(!check_bitrix_sessid()) $request
Определения catalog_reindex.php:36
setCurrentUserAdmin($value=false)
Определения loglistcommon.php:65
Определения component.php:12
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
if(!is_null($config))($config as $configItem)(! $configItem->isVisible()) $code
Определения options.php:195
ShowError($strError, $cls="errortext")
Определения tools.php:4499
$error
Определения subscription_card_product.php:20