Source for file 404.php

Documentation is available at 404.php

  1. <?php
  2. // vim: foldmethod=marker
  3. /**
  4.  *  404.php
  5.  *
  6.  *  @author     Yoshinari Takaoka <takaoka@beatcraft.com>
  7.  *  @license    http://www.opensource.org/licenses/bsd-license.php The BSD License
  8.  *  @package    Ethna
  9.  *  @version    $Id: 4a5508e8a4c6f0a5e84f1aff9c9d1ed522d3f652 $
  10.  */
  11.  
  12. // {{{ Ethna_View_404
  13. /**
  14.  *  404ページ(リソースが存在しない場合のエラーページ)
  15.  *  を出力するビューの実装
  16.  *
  17.  *  @author     Yoshinari Takaoka <takaoka@beatcraft.com>
  18.  *  @access     public
  19.  *  @package    Ethna
  20.  */
  21. {
  22.     /**#@+
  23.      *  @access private
  24.      */
  25.  
  26.     /**#@-*/
  27.  
  28.     /**
  29.      *  404 ページを出力するための前処理を行う
  30.      *
  31.      *  @access public
  32.      *  @param  array  $param  出力に必要なユーザー定義パラメータ
  33.      */
  34.     public function preforward($param array())
  35.     {
  36.         $this->error(404);
  37.     }
  38.  
  39. }
  40. // }}}

Documentation generated on Fri, 11 Nov 2011 03:57:14 +0900 by phpDocumentor 1.4.3