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
544 B
37 lines
544 B
<?php declare(strict_types = 0);
|
|
|
|
namespace Modules\Example_A\Actions;
|
|
|
|
use CController as CAction;
|
|
|
|
class Test 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('1st Module');
|
|
|
|
$this->setResponse($response);
|
|
}
|
|
}
|