Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (16 sloc) 370 Bytes
<?php
// Helper for setting the class of the body element
function body_class($class)
{
LayoutController::$data['class'] = $class;
}
// Helper for including a partial
function partial($file, $values = array())
{
return new Partial($file, $values);
}
// Helper for setting the title of the page
function title($text)
{
LayoutController::$data['title'] = $text;
}