Qoob Portfolio

The open qoob is a php mvc framework created to speed up the process of creating dynamic sites. This is the code running this website!

Qoob Portfolio

qoob/app/resume.php


<?php
/**
 * portfolio resume page
 *
 * @author 		andrew harrison <andrew@harrison.nu>
 * @copyright 	creative commons attribution-shareAlike 3.0 unported
 * @license 	http://creativecommons.org/licenses/by-sa/3.0/ 
 * @version 	0.1.0
 */
namespace app;
class resume extends base {
	/**
	 * index
	 * display the resume page
	 */
	function index() {
		$this->qoob->load('qoob\core\view\stache');

		$content = $this->qoob->stache->render(
			'nav', 
			array(
				'domain' => $this->domain,
				'resume' => 'class="active"'
			),
			true
		);

		$content .= $this->qoob->stache->render(
			'resume', 
			array(
				'domain' => $this->domain
			),
			true
		);

		$this->qoob->stache->render(
			'template', 
			array(
				'author' => \library::get('CONFIG.GENERAL.author'),
				'copyright' => \library::get('CONFIG.GENERAL.copyrightHTML'),
				'keywords' => \library::get('CONFIG.GENERAL.keywords'),
				'description' => \library::get('CONFIG.GENERAL.description'),
				'domain' => $this->domain,
				'title' => 'personal programming portfolio',
				'page' => 'resume',
				'content' => $content,
				'year'=> date('Y'), 
			)
		);
	}
}

?>

Download

raw zip tar