Files
FHC-Core/application/controllers/rdf/Basic.php
T
Paolo d04b0450da - AuthLib is loaded only in fhcauth_helper, PermissionLib and REST_Controller
- Removed all the NOT usefull loads of helpers and libraries
- Fixed undefined index in controllers/system/UDF and model system/UDF_model
- APIv1_Controller now loads helper fhcauth
- FHC_Controller now loads ithe fhc and session helpers too
- Added/Fixed comments
- PermissionLib does NOT use anymore the getAuthUID function from the fhcauth helper, now relies on AuthLib directly
- REST_Controller loads directly the AuthLib when is needed
2018-06-27 13:12:46 +02:00

75 lines
1.4 KiB
PHP

<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class Basic extends CI_Controller
{
/**
* Loading the rdf-Library and Form- and Url-Helper
* @return void
*/
private function __construct()
{
parent::__construct();
$this->load->library(array('rdf'));
$this->load->helper('form');
}
/**
* Load Basic View
* @return void
*/
public function index()
{
$this->load->library('Rdf');
$d['title'] = '';
$d['content'] = $this->load->view('rdf/basic', $d, true);
$this->load->view('home', $d);
}
/**
* Load Sparql-View
* @return void
*/
public function sparql()
{
$this->load->library('Rdf');
$d['title'] = '';
$d['content'] = $this->load->view('rdf/basic_sparql', $d, true);
$this->load->view('home', $d);
}
/**
* Load foaf-View
* @return void
*/
public function foafinfo()
{
$this->load->library('Rdf');
$d['title'] = '';
$d['content'] = $this->load->view('rdf/foafinfo', $d, true);
$this->load->view('home', $d);
}
/**
* Load foafmaker View
* @return void
*/
public function foafmaker()
{
$d['title'] = '';
$d['content'] = $this->load->view('rdf/foafmaker', $d, true);
$this->load->view('home', $d);
}
/**
* Load converter View
* @return void
*/
public function converter()
{
$d['title'] = '';
$d['content'] = $this->load->view('rdf/converter', $d, true);
$this->load->view('home', $d);
}
}