38 lines
666 B
PHP
38 lines
666 B
PHP
<?php
|
|
defined( 'BASEPATH' ) OR exit( 'No direct script access allowed' );
|
|
|
|
/**
|
|
* Created by Pensare Software.
|
|
* User: Theo Weijmer
|
|
* Date: 14/02/2018
|
|
* Time: 11:18
|
|
*/
|
|
class ReportsdefaultController extends MY_Controller {
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
|
|
if ( AUTHENTICATED == FALSE ) die( 'NO ACCES' );
|
|
|
|
$models = [];
|
|
$libraries = [];
|
|
|
|
$this->load->model( $models );
|
|
$this->load->library( $libraries );
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
|
|
}
|
|
|
|
public function getUsedYears()
|
|
{
|
|
$years = Projecthour::getUsedYears();
|
|
|
|
$this->json( $years );
|
|
}
|
|
|
|
|
|
} |