Initial commit
This commit is contained in:
0
applications/start/controllers/index.html
Normal file
0
applications/start/controllers/index.html
Normal file
28
applications/start/controllers/introduction.php
Normal file
28
applications/start/controllers/introduction.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
class Introduction extends System\SuperSmash\Controller {
|
||||
|
||||
// Create the constructor
|
||||
function __construct() {
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
function _beforeAction() {
|
||||
|
||||
}
|
||||
|
||||
function start() {
|
||||
// Load the introduction Model
|
||||
$this->load->model('introduction');
|
||||
|
||||
// Load the data for the introduction model
|
||||
$data = $this->IntroductionModel->introduction();
|
||||
|
||||
// Load the view and add the data
|
||||
$this->load->view('introduction', $data);
|
||||
}
|
||||
|
||||
function _afterAction() {
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user