Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 3.63 KB

docs.md

File metadata and controls

46 lines (37 loc) · 3.63 KB

Table of contents


Class: Rudra\Controller\Controller

Visibility Function
public __construct( Rudra\Container\Interfaces\RudraInterface $rudra )
Creates a common data container,
runs csrfProtection
Создает общий контейнер данных,
запускает csrfProtection
public eventRegistration()
The method for events register
Метод для регистрации событий
public generalPreCall()
General precall before initialization
Общий предварительный вызов до инициализации
public init()
Initializes the necessary data
Инициализирует необходимые данные
public before()
The method is executed before calling the controller
Метод выполняется перед вызовом контроллера
public after()
The method is executed after calling the controller
Метод выполняется после вызова контроллера
public csrfProtection(): void
Method to protect against CSRF attack
Метод защиты от CSRFатаки
public fileUpload( $key $path )
protected __setRudraContainersTrait( Rudra\Container\Interfaces\RudraInterface $rudra )
Takes RudraInterface as an argument
Принимает в качестве аргумента RudraInterface
public rudra(): Rudra\Container\Interfaces\RudraInterface
Gets access to the application
Получает доступ к приложению

Class: Rudra\Controller\ControllerInterface

Visibility Function
abstract public eventRegistration()
The method for events register
Метод для регистрации событий
abstract public generalPreCall()
General precall before initialization
Общий предварительный вызов до инициализации
abstract public init()
Initializes the necessary data
Инициализирует необходимые данные
abstract public before()
The method is executed before calling the controller
Метод выполняется перед вызовом контроллера
abstract public after()
The method is executed after calling the controller
Метод выполняется после вызова контроллера
abstract public csrfProtection(): void
Method to protect against CSRF attack
Метод защиты от CSRFатаки

Class: Rudra\Controller\ControllerTrait

Visibility Function
public fileUpload( $key $path )

created with Rudra-Documentation-Collector