vanilla-application-yaga/controllers/class.yagacontroller.php
2013-10-25 17:05:01 -05:00

36 lines
786 B
PHP
Executable File

<?php if(!defined('APPLICATION')) exit();
/* Copyright 2013 Zachary Doll */
/**
* This is the base class for controllers throughout the gamification applicati0n.
*
* @since 1.0
* @package Yaga
*/
class YagaController extends Gdn_Controller {
/**
* If you use a constructor, always call parent.
* Delete this if you don't need it.
*
* @access public
*/
public function __construct() {
parent::__construct();
}
/**
* This is a good place to include JS, CSS, and modules used by all methods of this controller.
*
* Always called by dispatcher before controller's requested method.
*
* @since 1.0
* @access public
*/
public function Initialize() {
// Call Gdn_Controller's Initialize() as well.
parent::Initialize();
}
}