phpDocumentor web
[ class tree: web ] [ index: web ] [ all elements ]

Class: WindErrorHandler

Source Location: /web/WindErrorHandler.php

Class WindErrorHandler

Class Overview

系统默认的错误处理类

系统默认错误处理类,当不配置任何错误处理句柄定义时,该类自动被用于错误处理. 可以通过配置'error'模块,或者重定义'error-handler'来改变当前的错误处理句柄.

  1.  <module name='default'>
  2.  <error-handler>WIND:core.web.WindErrorHandler</error-handler>
  3.  ...
  4.  </module>

Located in /web/WindErrorHandler.php [line 18]

WindModule
   |
   --WindSimpleController
      |
      --WindController
         |
         --WindErrorHandler
Author(s): Information Tags:
Version:  $Id: WindErrorHandler.php 3139 2011-11-17 05:46:55Z yishuo $
Copyright:  ©2003-2103 phpwind.com
License:  http://www.windframework.com

Properties

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From WindSimpleController

WindSimpleController::$errorMessage
WindSimpleController::$forward

Inherited From WindModule

WindModule::$_config
WindModule::$_proxy
WindModule::$_typeValidation

Inherited From WindController

WindController::resolvedActionMethod()
WindController::resolvedActionName()
解析action操作方法名称
WindController::run()

Inherited From WindSimpleController

WindSimpleController::addMessage()
添加错误信息
WindSimpleController::afterAction()
action操作结束后调用
WindSimpleController::beforeAction()
action操作开始前调用
WindSimpleController::doAction()
WindSimpleController::forwardAction()
重定向一个请求到另外的action
WindSimpleController::forwardRedirect()
重定向一个请求到另外的URL
WindSimpleController::getErrorMessage()
WindSimpleController::getForward()
WindSimpleController::getInput()
获得输入数据
WindSimpleController::resolveActionFilter()
action过滤链策略部署
WindSimpleController::resolvedActionMethod()
解析action操作方法名称
WindSimpleController::run()
默认的操作处理方法
WindSimpleController::saveToken()
保存token令牌
WindSimpleController::setDefaultTemplateName()
设置默认的模板名称
WindSimpleController::setErrorMessage()
WindSimpleController::setForward()
WindSimpleController::setGlobal()
设置模板数据
WindSimpleController::setLayout()
设置布局页面
WindSimpleController::setOutput()
设置模板数据
WindSimpleController::setTemplate()
设置页面模板
WindSimpleController::setTemplateExt()
设置模板文件的扩展名
WindSimpleController::setTemplatePath()
设置模板路径,模板目录地址,支持命名空间方式
WindSimpleController::setTheme()
设置当前主题信息
WindSimpleController::setThemePackage()
设置主题包
WindSimpleController::showMessage()
发送一个错误请求
WindSimpleController::validateToken()
验证令牌

Inherited From WindModule

WindModule::getConfig()
根据配置名取得相应的配置
WindModule::getRequest()
返回当前应用的WindHttpRequest对象
WindModule::getResponse()
返回当前应用的WindHttpResponse对象
WindModule::getSystemFactory()
返回当前应用的WindFactory对象
WindModule::setConfig()
设置类配置
WindModule::setDelayAttributes()
设置延迟加载类属性相关组件配置信息
WindModule::toArray()
返回该对象的数组类型
WindModule::writeTableCloneProperty()
类对象clone白名单
WindModule::__call()
重载了魔术方法__call
WindModule::__clone()
重载魔术方法__clone
WindModule::__get()
重载了魔术方法__get
WindModule::__set()
重载了魔术方法__set

[ Top ]
Property Summary
mixed   $error  
mixed   $errorCode  
mixed   $errorDir  

[ Top ]
Method Summary
void   beforeAction()  
void   run()  

[ Top ]
Properties
mixed   $error = array() [line 19]
API Tags:
Access:  protected


[ Top ]
mixed   $errorCode = 0 [line 20]
API Tags:
Access:  protected


[ Top ]
mixed   $errorDir = 'WIND:web.view' [line 21]
API Tags:
Access:  protected


[ Top ]
Methods
beforeAction  [line 26]

  void beforeAction( $handlerAdapter  )

Parameters:
   $handlerAdapter: 

API Tags:
Access:  public


Redefinition of:
WindSimpleController::beforeAction()
action操作开始前调用

[ Top ]
run  [line 34]

  void run( )


API Tags:
Access:  public


Redefinition of:
WindController::run()

[ Top ]

Documentation generated on Fri, 30 Mar 2012 11:43:31 +0800 by phpDocumentor 1.4.4