mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
46 lines
940 B
PHP
46 lines
940 B
PHP
<?php
|
|
|
|
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
/**
|
|
*
|
|
*/
|
|
class Cis4 extends Auth_Controller
|
|
{
|
|
/**
|
|
* Constructor
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct(
|
|
array(
|
|
'index' => 'basis/cis:r'
|
|
)
|
|
);
|
|
|
|
// Load Config
|
|
$this->load->config('calendar');
|
|
}
|
|
|
|
// -----------------------------------------------------------------------------------------------------------------
|
|
// Public methods
|
|
|
|
/**
|
|
* @return void
|
|
*/
|
|
public function index()
|
|
{
|
|
$this->load->model('person/Person_model', 'PersonModel');
|
|
$personData = getData($this->PersonModel->getByUid(getAuthUID()))[0];
|
|
|
|
$viewData = array(
|
|
'uid' => getAuthUID(),
|
|
'name' => $personData->vorname,
|
|
'person_id' => $personData->person_id,
|
|
'timezone' => $this->config->item('timezone')
|
|
);
|
|
|
|
$this->load->view('CisRouterView/CisRouterView.php', ['viewData' => $viewData, 'route' => 'FhcDashboard']);
|
|
}
|
|
}
|