Files
FHC-Core/application/controllers/rdf/Basic.php
T
Paminger 9689fd5a01 PHPCI
2016-03-20 12:53:17 +01: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(array('form', 'url'));
}
/**
* 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);
}
}