Core lib of filesite.io, a small PHP Framework. https://fsc.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.
 
 
 

23 lines
618 B

<?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);
}
}