Jump to main content Jump to doc navigation

modX::getRequest

Попробуйте загрузить класс обработчика запросов, если он еще не загружен. По умолчанию используется запрос mod.

Синтаксис

API Doc: modX::getRequest()

boolean getRequest ([$string $class = 'modRequest'], [$path $path = ''])

Пример

Загрузить пользовательский запрос класса обработчика под названием 'myrequest' из '/path/to/myrequest.class.php':

$modx->getRequest('myRequest','/path/to/');

Смотрите также

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

Budget

$0 per month—let's make that $500!

Learn more