initial commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Schooljaren extends MY_Controller{
|
||||
|
||||
function __construct(){
|
||||
parent::__construct();
|
||||
$models = array("shared/Users_model",'shared/Schooljaren_model');
|
||||
$this->load->model($models);
|
||||
$this->load->helper('string');
|
||||
}
|
||||
|
||||
function getschooljaren(){
|
||||
$schooljaren = $this->Schooljaren_model->getschooljaren();
|
||||
echo json_encode($schooljaren);
|
||||
}
|
||||
|
||||
function getselectedschooljaar(){
|
||||
echo json_encode($this->schooljaar);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user