Location: PHPKode > projects > Krai Framework > script/demo/includes/modules/page.module/actions/denied.action.php
<?php
/**
 * Krai application skeleton application module
 * @package Demo
 * @subpackage Actions
 * @author Greg McWhirter <hide@address.com>
 * @copyright Copyright (c) 2008, Greg McWhirter
 * @license http://www.opensource.org/licenses/mit-license.php MIT License
 */

/**
 * The access denied action
 * @package Demo
 * @subpackage Actions
 */
class PageModule_DeniedAction extends Krai_Module_Action
{
  /**
   * Whether or not to use a layout
   *
   */
  const UseLayout = false;

  public function Display()
  {
    $this->Render("page.module/views/denied.phtml", false);
  }
}
Return current item: Krai Framework