initial commit
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/**
|
||||
* Description of Mensactief
|
||||
*
|
||||
* @author Theo Weijmer
|
||||
* @date juli 23, 2013
|
||||
*
|
||||
* @purpose
|
||||
*
|
||||
*/
|
||||
class Mensactief extends MY_Controller {
|
||||
|
||||
function __construct(){
|
||||
parent::__construct();
|
||||
$models = array('ijkpartituur/ModPartPijlers',
|
||||
'ijkpartituur/Modpartactiviteiten');
|
||||
$this->load->model($models);
|
||||
if ( ! $this->check_online_status() ) {
|
||||
echo json_encode( array('offline' => TRUE) );
|
||||
die;
|
||||
};// if
|
||||
}
|
||||
|
||||
function index(){
|
||||
$pijlers = $this->ModPartPijlers->get_details(array('partituurID'=>$this->partituurid));
|
||||
|
||||
$users = $this->Modpartactiviteiten->set_matrixusers();
|
||||
|
||||
$data = array('users'=>$users, 'pijlers'=>$pijlers);
|
||||
|
||||
echo json_encode($data);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user