You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
545 B

<?php declare(strict_types = 0);
namespace Modules\Example_B\Actions;
use CController as CAction;
class Test2 extends CAction {
public function init() {
$this->disableCsrfValidation();
}
/**
* @inheritDoc
*/
protected function checkPermissions() {
return true;
}
/**
* @inheritDoc
*/
protected function checkInput() {
return true;
}
/**
* @inheritDoc
*/
protected function doAction() {
$response = new \CControllerResponseData([]);
$response->setTitle('2nd Module');
$this->setResponse($response);
}
}