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

Class: WindController

Source Location: /web/WindController.php

Class WindController

Class Overview

操作控制器,管理一组用于处理用户的请求的处理操作.

该类继承自'WindSimpleController',用于管理处理用户请求的操作,该类区别于'WindSimpleController'通过覆盖 'resolvedActionMethod'方法,实现多处理管理.

Located in /web/WindController.php [line 13]

WindModule
   |
   --WindSimpleController
      |
      --WindController
Author(s): API Tags:
Abstract:  

Information Tags:
Version:  $Id: WindController.php 3113 2011-11-11 07:28:09Z yishuo $
Copyright:  ©2003-2103 phpwind.com
License:  http://www.windframework.com

Methods

[ Top ]
Descendants
Child Class Description
WindErrorHandler 系统默认的错误处理类

[ 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 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 ]
Method Summary
void   resolvedActionMethod()  
void   resolvedActionName()   解析action操作方法名称
void   run()  

[ Top ]
Methods
resolvedActionMethod  [line 23]

  void resolvedActionMethod( $handlerAdapter  )

Parameters:
   $handlerAdapter: 

API Tags:
Access:  protected


Redefinition of:
WindSimpleController::resolvedActionMethod()
解析action操作方法名称

[ Top ]
resolvedActionName  [line 42]

  void resolvedActionName( string $action  )

解析action操作方法名称

默认解析规则,在请求的action名称后加'Action'后缀

  1.  请求的action为 'add',则对应的处理方法名为 'addAction',可以通过覆盖本方法,修改解析规则

Parameters:
string   $action: 

API Tags:
Access:  protected


[ Top ]
run  [line 18]

  void run( )


API Tags:
Access:  public


Redefinition of:
WindSimpleController::run()
默认的操作处理方法

Redefined in descendants as:

[ Top ]

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