1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
context.php
См. документацию.
1<?
2
3namespace Bitrix\Main\Grid;
4
5
11{
15 protected static function getRequest()
16 {
17 return \Bitrix\Main\Context::getCurrent()->getRequest();
18 }
19
24 public static function isInternalRequest()
25 {
26 $request = self::getRequest();
27 return (
28 ($request->get("internal") == true && $request->get("grid_id")) ||
29 ($request->getPost("internal") == true && $request->getPost("grid_id"))
30 );
31 }
32
37 public static function isValidateRequest()
38 {
39 return static::isInternalRequest() &&
40 self::getRequest()->get("grid_action") === "validate";
41 }
42
48 public static function isShowpageRequest()
49 {
50 return static::isInternalRequest() &&
51 self::getRequest()->get("grid_action") === "showpage";
52 }
53}
if(!Loader::includeModule('catalog')) if(!AccessController::getCurrent() ->check(ActionDictionary::ACTION_PRICE_EDIT)) if(!check_bitrix_sessid()) $request
Определения catalog_reindex.php:36
static isValidateRequest()
Определения context.php:37
static isShowpageRequest()
Определения context.php:48
static getRequest()
Определения context.php:15
static isInternalRequest()
Определения context.php:24
Определения culture.php:9