Source code of filesite.io. https://filesite.io
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.

24 lines
618 B

3 years ago
<?php
/**
* Site Controller
*/
Class SiteController extends Controller {
public function actionIndex() {
//alert message test
$this->sendMsgToClient('Alert message - danger', 'danger');
$this->sendMsgToClient('Alert message - warning', 'warning');
$this->sendMsgToClient('Alert message - success', 'success');
$this->sendMsgToClient('Alert message - info', 'info');
$pageTitle = "Welcome to FSC";
$viewName = 'index';
$params = array(
'foo' => 'bar',
);
return $this->render($viewName, $params, $pageTitle);
}
}