ActionEvent类
来源:互联网 发布:中关村软件下载中心 编辑:程序博客网 时间:2024/06/05 02:00
yii2\base\ActionEvent.php
<?php/** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */namespace yii\base;/** * ActionEvent represents the event parameter used for an action event. * 用于操作事件的事件参数 * By setting the [[isValid]] property, one may control whether to continue running the action. * 通过设置[[isValid]]属性,控制是否继续运行action。 * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */class ActionEvent extends Event{ /** * @var Action the action currently being executed * 目前正在执行的行动 */ public $action; /** * @var mixed the action result. Event handlers may modify this property to change the action result. * 操作结果 事件处理程序可以修改此属性来更改操作结果。 */ public $result; /** * @var boolean whether to continue running the action. Event handlers of * [[Controller::EVENT_BEFORE_ACTION]] may set this property to decide whether * to continue running the current action. * 是否继续运行该动作。设置[[Controller::EVENT_BEFORE_ACTION]]属性决定是否执行当前的操作 */ public $isValid = true; /** * Constructor.构造函数。 * @param Action $action the action associated with this action event.与此事件相关联的动作。 * @param array $config name-value pairs that will be used to initialize the object properties * 用来初始化对象属性的 name-value */ public function __construct($action, $config = []) { $this->action = $action; parent::__construct($config); }}
0 0
- ActionEvent类
- ActionEvent
- 类 java.awt.event.ActionEvent 等的使用
- ActionEvent事件
- [Java] ActionEvent 事件处理
- java的ActionEvent事件
- Java-ActionEvent事件
- 按钮ActionEvent事件
- JAVA中ActionEvent不使用内部类
- 第11章 GUI 07 ActionEvent 2
- Java文本框上的ActionEvent事件
- 第11章 GUI 06 事件模型 ActionEvent
- 第11章 GUI 06 事件模型 ActionEvent
- 第五十节 java学习——动作事件(ActionEvent)
- [java]ActionEvent事件:获取输入字符串的长度
- GUI事件模型ActionEvent举例,TextField事件监听举例
- GUI编程第三弹_按钮上的ActionEvent事件
- public void actionPerformed(ActionEvent event)//parasoft-suppress UC.UP comment here
- HTML5 – 操作本地文件
- Decimal integer conversion
- spring MVC定时器注解配置说明
- javascript
- 二叉树的层次遍历
- ActionEvent类
- LR_集合点
- angular.js的路由和模板在asp.net mvc 中的使用
- ubuntu debain下好用的编辑器
- Android TypedValue.applyDimension()的用法
- dns服务器报错关闭ipv6和目录权限
- 解压zip跟rar压缩文件
- POJ 3616 Milking Time (DP)
- 如何快速生成数据文件