1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Base
Граф наследования:Base:
Controller Errorable Controllerable

Открытые члены

 getViewManager ()
 add (array $fields)
Открытые члены унаследованные от Controller
 __construct (Request $request=null)
 forward ($controller, string $actionName, array $parameters=null)
 getConfigurationOfActions ()
 getModuleId ()
 isLocatedUnderPsr4 ()
 getActionUri (string $actionName, array $params=[], bool $absolute=false)
 getUnsignedParameters ()
 getCurrentUser ()
 setCurrentUser (CurrentUser $currentUser)
 convertKeysToCamelCase ($data)
 listNameActions ()
 configureActions ()
 getAutoWiredParameters ()
 getPrimaryAutoWiredParameter ()
 getDefaultAutoWiredParameters ()
 getRequest ()
 getScope ()
 setScope ($scope)
 getSourceParametersList ()
 setSourceParametersList ($sourceParametersList)
 run ($actionName, array $sourceParametersList)
 finalizeResponse (Response $response)
 generateActionMethodName ($action)
 redirectTo ($url)
 getErrors ()
 hasErrors ()
 getErrorByCode ($code)

Защищенные члены

 create ($actionName)
 createViewManager (Action $action)
 processBeforeAction (Engine\Action $action)
 processAfterAction (Engine\Action $action, $result)
 checkGetFieldsPermissionEntity ()
 checkReadPermissionEntity ()
 checkModifyPermissionEntity ()
 checkCreatePermissionEntity ()
 checkUpdatePermissionEntity ()
 checkDeletePermissionEntity ()
 checkPermissionEntity ($name, $arguments=[])
 getEntityTable ()
 getList (array $select, array $filter, array $order, PageNavigation $pageNavigation=null)
 count ($filter)
 get ($id)
 delete ($id)
 exists ($id)
 existsByFilter ($filter)
Защищенные члены унаследованные от Controller
 init ()
 getFilePath ()
 processUnsignedParameters ()
 getSaltToUnsign ()
 getActionResponse (Action $action)
 writeToLogException (\Throwable $e)
 collectDebugInfo ()
 logDebugInfo ()
 prepareParams ()
 processBeforeAction (Action $action)
 triggerOnBeforeAction (Action $action)
 processAfterAction (Action $action, $result)
 triggerOnAfterAction (Action $action, $result)
 buildActionInstance ($actionName, array $config)
 existsAction ($actionName)
 getDefaultPreFilters ()
 getDefaultPostFilters ()
 buildFilters (array $config=null)
 appendFilters (array $filters, array $filtersToAppend)
 removeFilters (array $filters, array $filtersToRemove)
 detachFilters (Action $action)
 detachPreFilters (Action $action)
 detachPostFilters (Action $action)
 getActionConfig ($actionName)
 setActionConfig ($actionName, array $config=null)
 runProcessingThrowable (\Throwable $throwable)
 runProcessingException (\Exception $e)
 runProcessingError (\Error $error)
 runProcessingBinderThrowable (BinderArgumentException $e)
 runProcessingValidationException (ValidationException $e)
 buildErrorFromException (\Exception $e)
 buildErrorFromPhpError (\Error $error)
 runProcessingIfUserNotAuthorized ()
 runProcessingIfInvalidCsrfToken ()
 addError (Error $error)
 addErrors (array $errors)
 renderComponent (string $name, string $template='', array $params=[], bool $withSiteTemplate=true)
 renderView (string $viewPath, array $params=[], bool $withSiteTemplate=true)
 renderExtension (string $extension, array $params=[], bool $withSiteTemplate=true)

Защищенные данные

 $viewManager
Защищенные данные унаследованные от Controller
 $errorCollection
 $request
Configurator $configurator

Дополнительные унаследованные члены

Открытые статические члены унаследованные от Controller
static className ()
static getFullEventName ($eventName)
Поля данных унаследованные от Controller
const SCOPE_REST = 'rest'
const SCOPE_AJAX = 'ajax'
const SCOPE_CLI = 'cli'
const EVENT_ON_BEFORE_ACTION = 'onBeforeAction'
const EVENT_ON_AFTER_ACTION = 'onAfterAction'
const ERROR_REQUIRED_PARAMETER = 'MAIN_CONTROLLER_22001'
const ERROR_UNKNOWN_ACTION = 'MAIN_CONTROLLER_22002'
const EXCEPTION_UNKNOWN_ACTION = 22002
Поля данных унаследованные от Controllerable
const METHOD_ACTION_SUFFIX = 'Action'

Подробное описание

См. определение в файле base.php строка 20

Методы

◆ add()

add ( array $fields)
Аргументы
array$fields
Возвращает
\Bitrix\Main\ORM\Data\AddResult
Исключения
NotImplementedException

См. определение в файле base.php строка 304

◆ checkCreatePermissionEntity()

checkCreatePermissionEntity ( )
protected
Возвращает
Result
Исключения
NotImplementedException

См. определение в файле base.php строка 194

◆ checkDeletePermissionEntity()

checkDeletePermissionEntity ( )
protected
Возвращает
Result
Исключения
NotImplementedException

См. определение в файле base.php строка 212

◆ checkGetFieldsPermissionEntity()

checkGetFieldsPermissionEntity ( )
protected
Исключения
NotImplementedException

См. определение в файле base.php строка 168

◆ checkModifyPermissionEntity()

checkModifyPermissionEntity ( )
protected
Возвращает
Result
Исключения
NotImplementedException

См. определение в файле base.php строка 185

◆ checkPermissionEntity()

checkPermissionEntity ( $name,
$arguments = [] )
protected
Аргументы
$name
array$arguments
Возвращает
Result
Исключения
NotImplementedException

См. определение в файле base.php строка 223

◆ checkReadPermissionEntity()

checkReadPermissionEntity ( )
protected
Исключения
NotImplementedException

См. определение в файле base.php строка 176

◆ checkUpdatePermissionEntity()

checkUpdatePermissionEntity ( )
protected
Возвращает
Result
Исключения
NotImplementedException

См. определение в файле base.php строка 203

◆ count()

count ( $filter)
protected
Аргументы
$filter
Возвращает
int
Исключения
NotImplementedException
SystemException

Bitrix\Main\ObjectPropertyException

См. определение в файле base.php строка 275

◆ create()

create ( $actionName)
protected
Аргументы
$actionName
Возвращает
Engine\ClosureAction|Engine\InlineAction|null
Исключения
SystemException

Переопределяет метод предка Controller.

См. определение в файле base.php строка 29

◆ createViewManager()

createViewManager ( Action $action)
protected
Аргументы
Action$action
Исключения
NotImplementedException

См. определение в файле base.php строка 42

◆ delete()

delete ( $id)
protected
Аргументы
$id
Возвращает
\Bitrix\Main\ORM\Data\DeleteResult|null
Исключения
NotImplementedException
SystemException

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectPropertyException

См. определение в файле base.php строка 344

◆ exists()

exists ( $id)
protected
Аргументы
$id
Возвращает
Result
Исключения
NotImplementedException
SystemException

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectPropertyException

См. определение в файле base.php строка 368

◆ existsByFilter()

existsByFilter ( $filter)
protected
Аргументы
$filter
Возвращает
Result
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\NotImplementedException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

См. определение в файле base.php строка 385

◆ get()

get ( $id)
protected
Аргументы
$id
Возвращает
array|false
Исключения
NotImplementedException
SystemException

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectPropertyException

См. определение в файле base.php строка 292

◆ getEntityTable()

getEntityTable ( )
protected
Возвращает
\Bitrix\Main\Entity\DataManager
Исключения
NotImplementedException

См. определение в файле base.php строка 232

◆ getList()

getList ( array $select,
array $filter,
array $order,
PageNavigation $pageNavigation = null )
protected
Аргументы
array$select
array$filter
array$order
PageNavigation | null$pageNavigation
Возвращает
array
Исключения
NotImplementedException
SystemException

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectPropertyException

См. определение в файле base.php строка 248

◆ getViewManager()

getViewManager ( )
Возвращает
ViewManager

См. определение в файле base.php строка 51

◆ processAfterAction()

processAfterAction ( Engine\Action $action,
$result )
protected

См. определение в файле base.php строка 92

◆ processBeforeAction()

processBeforeAction ( Engine\Action $action)
protected
Аргументы
Action$action
Возвращает
bool|null
Исключения
NotImplementedException
SystemException

См. определение в файле base.php строка 62

Поля

◆ $viewManager

$viewManager
protected

См. определение в файле base.php строка 22


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/rest/lib/integration/controller/base.php