1: <?php
 2: /**
 3:  * COutputEvent class file.
 4:  *
 5:  * @author Qiang Xue <qiang.xue@gmail.com>
 6:  * @link http://www.yiiframework.com/
 7:  * @copyright 2008-2013 Yii Software LLC
 8:  * @license http://www.yiiframework.com/license/
 9:  */
10: 
11: /**
12:  * COutputEvent represents the parameter for events related with output handling.
13:  *
14:  * An event handler may retrieve the captured {@link output} for further processing.
15:  *
16:  * @author Qiang Xue <qiang.xue@gmail.com>
17:  * @package system.web
18:  * @since 1.0
19:  */
20: class COutputEvent extends CEvent
21: {
22:     /**
23:      * @var string the output to be processed. The processed output should be stored back to this property.
24:      */
25:     public $output;
26: 
27:     /**
28:      * Constructor.
29:      * @param mixed $sender sender of the event
30:      * @param string $output the output to be processed
31:      */
32:     public function __construct($sender,$output)
33:     {
34:         parent::__construct($sender);
35:         $this->output=$output;
36:     }
37: }
38: