Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
|
- <?php
- /**
- * @link http://www.yiiframework.com/
- * @copyright Copyright (c) 2008 Yii Software LLC
- * @license http://www.yiiframework.com/license/
- */
-
- namespace yii\base;
-
- /**
- * Response represents the response of an [[Application]] to a [[Request]].
- *
- * @author Qiang Xue <qiang.xue@gmail.com>
- * @since 2.0
- */
- class Response extends Component
- {
- /**
- * @var integer the exit status. Exit statuses should be in the range 0 to 254.
- * The status 0 means the program terminates successfully.
- */
- public $exitStatus = 0;
-
-
- /**
- * Sends the response to client.
- */
- public function send()
- {
- }
-
- /**
- * Removes all existing output buffers.
- */
- public function clearOutputBuffers()
- {
- // the following manual level counting is to deal with zlib.output_compression set to On
- for ($level = ob_get_level(); $level > 0; --$level) {
- if (!@ob_end_clean()) {
- ob_clean();
- }
- }
- }
- }
|