|
1C-Bitrix 25.700.0
|
Открытые члены | |
| initializeBasicKernel () | |
| initializeExtendedKernel (array $params) | |
| getRouter () | |
| setRouter (Router $router) | |
| getCurrentRoute () | |
| hasCurrentRoute () | |
| setCurrentRoute (Route $currentRoute) | |
| start () | |
| run () | |
| end ($status=0, Response $response=null) | |
| terminate ($status=0) | |
| createExceptionHandlerLog () | |
| createExceptionHandlerOutput () | |
| getExceptionHandler () | |
| getConnectionPool () | |
| getContext () | |
| setContext (Context $context) | |
| getLicense () | |
| getCache () | |
| getManagedCache () | |
| getTaggedCache () | |
| getSessionLocalStorageManager () | |
| getLocalSession ($name) | |
| getKernelSession () | |
| getSession () | |
| getCompositeSessionManager () | |
| addBackgroundJob (callable $job, array $args=[], $priority=self::JOB_PRIORITY_NORMAL) | |
| isInitialized () | |
Открытые статические члены | |
| static | getInstance () |
| static | hasInstance () |
| static | getConnection ($name="") |
| static | getUserTypeManager () |
| static | isUtfMode () |
| static | getDocumentRoot () |
| static | getPersonalRoot () |
| static | resetAccelerator (string $filename=null) |
Поля данных | |
| const | JOB_PRIORITY_NORMAL = 100 |
| const | JOB_PRIORITY_LOW = 50 |
Защищенные члены | |
| __construct () | |
| initializeRouter () | |
| initializeContext (array $params) | |
| handleResponseBeforeSend (Response $response) | |
| initializeExceptionHandler () | |
| createDatabaseConnection () | |
| initializeCache () | |
| initializeMessengerWorker () | |
| runBackgroundJobs () | |
Статические защищенные данные | |
| static | $instance |
Base class for any application.
См. определение в файле application.php строка 29
|
protected |
Creates new application instance.
См. определение в файле application.php строка 83
| addBackgroundJob | ( | callable | $job, |
| array | $args = [], | ||
| $priority = self::JOB_PRIORITY_NORMAL ) |
Adds a job to do after the response was sent.
| callable | $job | |
| array | $args | |
| int | $priority |
См. определение в файле application.php строка 818
|
protected |
Creates database connection pool.
См. определение в файле application.php строка 527
| createExceptionHandlerLog | ( | ) |
См. определение в файле application.php строка 470
| createExceptionHandlerOutput | ( | ) |
Переопределяется в HttpApplication.
См. определение в файле application.php строка 519
| end | ( | $status = 0, | |
| Response | $response = null ) |
Ends work of application. Sends response and then terminates execution. If there is no $response the method will use Context::$response.
| int | $status | |
| Response | null | $response |
См. определение в файле application.php строка 305
| getCache | ( | ) |
Returns new instance of the Cache object.
См. определение в файле application.php строка 649
|
final |
См. определение в файле application.php строка 704
|
static |
Static method returns database connection for the specified name. If name is empty - default connection is returned.
| string | $name | Name of database connection. If empty - default connection. |
См. определение в файле application.php строка 638
| getConnectionPool | ( | ) |
Returns database connections pool object.
См. определение в файле application.php строка 595
| getContext | ( | ) |
Returns context of the current request.
См. определение в файле application.php строка 605
| getCurrentRoute | ( | ) |
См. определение в файле application.php строка 201
|
static |
Returns server document root.
См. определение в файле application.php строка 736
| getExceptionHandler | ( | ) |
См. определение в файле application.php строка 585
|
static |
Returns current instance of the Application.
См. определение в файле application.php строка 98
|
final |
См. определение в файле application.php строка 694
| getLicense | ( | ) |
См. определение в файле application.php строка 620
|
final |
См. определение в файле application.php строка 689
| getManagedCache | ( | ) |
Returns manager of the managed cache.
См. определение в файле application.php строка 659
|
static |
Returns personal root directory (relative to document root)
См. определение в файле application.php строка 762
| getRouter | ( | ) |
См. определение в файле application.php строка 180
|
final |
См. определение в файле application.php строка 699
|
final |
См. определение в файле application.php строка 684
| getTaggedCache | ( | ) |
Returns manager of the managed cache.
См. определение в файле application.php строка 674
|
static |
|
protected |
См. определение в файле application.php строка 335
| hasCurrentRoute | ( | ) |
См. определение в файле application.php строка 206
|
static |
См. определение в файле application.php строка 110
| initializeBasicKernel | ( | ) |
См. определение в файле application.php строка 119
|
protected |
См. определение в файле application.php строка 532
|
abstractprotected |
Initializes context of the current request. Should be implemented in subclass.
| array | $params |
Переопределяется в HttpApplication.
|
protected |
Exception handler can be initialized through the Config\Configuration (.settings.php file).
'exception_handling' => array( 'value' => array( 'debug' => true, // output exception on screen 'handled_errors_types' => E_ALL & ~E_NOTICE, // catchable error types, printed to log 'exception_errors_types' => E_ALL & ~E_NOTICE, // error types from catchable which throws exceptions 'ignore_silence' => false, // ignore @ 'assertion_throws_exception' => true, // assertion throws exception 'assertion_error_type' => 256, 'log' => array( 'class_name' => 'MyLog', // custom log class, must extend ExceptionHandlerLog; can be omited, in this case default Diag\FileExceptionHandlerLog will be used 'extension' => 'MyLogExt', // php extension, is used only with 'class_name' 'required_file' => 'modules/mylog.module/mylog.php' // included file, is used only with 'class_name' 'settings' => array( // any settings for 'class_name' 'file' => 'bitrix/modules/error.log', 'log_size' => 1000000, ), ), ), 'readonly' => false, ),
См. определение в файле application.php строка 416
| initializeExtendedKernel | ( | array | $params | ) |
Does full kernel initialization. Should be called somewhere after initializeBasicKernel().
| array | $params | Parameters of the current request (depends on application type) |
См. определение в файле application.php строка 128
|
protected |
См. определение в файле application.php строка 558
|
protected |
См. определение в файле application.php строка 219
| isInitialized | ( | ) |
Returns true if the application is fully initialized.
См. определение в файле application.php строка 865
|
static |
Returns true if server is in UTF-8 mode. False - otherwise.
См. определение в файле application.php строка 726
|
static |
Resets accelerator if any.
См. определение в файле application.php строка 786
| run | ( | ) |
Runs controller and its action and sends response to the output.
It's a stub method, and we can't mark it as abstract because there is compatibility.
См. определение в файле application.php строка 291
|
protected |
См. определение в файле application.php строка 825
| setContext | ( | Context | $context | ) |
Modifies context of the current request.
| Context | $context |
См. определение в файле application.php строка 615
| setCurrentRoute | ( | Route | $currentRoute | ) |
| Route | $currentRoute |
См. определение в файле application.php строка 214
| setRouter | ( | Router | $router | ) |
| Router | $router |
См. определение в файле application.php строка 193
|
abstract |
Starts request execution. Should be called after initialize. Should be implemented in subclass.
Переопределяется в HttpApplication.
| terminate | ( | $status = 0 | ) |
Terminates application by invoking exit(). It's the right way to finish application.
| int | $status |
См. определение в файле application.php строка 360
|
protected |
См. определение в файле application.php строка 76
|
protected |
См. определение в файле application.php строка 70
|
protected |
См. определение в файле application.php строка 54
|
protected |
См. определение в файле application.php строка 45
|
protected |
См. определение в файле application.php строка 49
|
protected |
См. определение в файле application.php строка 38
|
staticprotected |
См. определение в файле application.php строка 37
|
protected |
См. определение в файле application.php строка 68
|
protected |
См. определение в файле application.php строка 78
|
protected |
См. определение в файле application.php строка 59
|
protected |
См. определение в файле application.php строка 47
|
protected |
См. определение в файле application.php строка 66
|
protected |
См. определение в файле application.php строка 72
|
protected |
См. определение в файле application.php строка 64
|
protected |
См. определение в файле application.php строка 39
| const JOB_PRIORITY_LOW = 50 |
См. определение в файле application.php строка 32
| const JOB_PRIORITY_NORMAL = 100 |
См. определение в файле application.php строка 31