File: D:/HostingSpaces/SBogers10/ilysium.komma.pro/wwwroot/app/controllers/c_contact.class.php
<?php
/**
* c_contact.class.php
* Created by Komma Mediadesign.
* Author: mike
* Date: 11/02/14
*/
class Contact extends Controller
{
public function __construct()
{
parent::__construct();
}
/*
* Index of the home page
*/
public function index()
{
// Title
$this->View->setData('page_title', 'Contact | ' . SITE_NAME );
// Breadcrumb
$bc = new Breadcrumb();
$bc->push('','/','home');
$bc->push('contact','/contact');
$this->View->setData('breadcrumb', $bc->create() );
// Buttons
$Btn = new Button();
$Btn->set('_href','/reserveren');
$Btn->set('_label','reserveren');
$button = $Btn->create();
$this->View->setData('book_btn', $button );
// Load template view
$this->View->render('v_contact');
}
}