Свойство | Тип | Описание | |
---|---|---|---|
$cache_expiration | integer | Cache expiration time | |
$enable_profiler | boolean | Enable Profiler flag | |
$final_output | string | Final output string | |
$headers | array | List of server headers | |
$mimes | array | List of mime types | |
$parse_exec_vars | boolean | Whether or not to parse variables like {elapsed_time} and {memory_usage}. |
Свойство | Тип | Описание | |
---|---|---|---|
$_compress_output | boolean | CI output compression flag | |
$_profiler_sections | array | List of profiler sections | |
$_zlib_oc | boolean | php.ini zlib.output_compression flag | |
$mime_type | string | Mime-type for the current page |
Метод | Описание | |
---|---|---|
__construct ( ) : void | Class constructor | |
_display ( string $output = '' ) : void | Display Output | |
_display_cache ( &$CFG, &$URI ) : boolean | Update/serve cached output | |
_write_cache ( string $output ) : void | Write Cache | |
append_output ( string $output ) : CI_Output | Append Output | |
cache ( integer $time ) : CI_Output | Set Cache | |
delete_cache ( string $uri = '' ) : boolean | Delete cache | |
enable_profiler ( boolean $val = TRUE ) : CI_Output | Enable/disable Profiler | |
get_content_type ( ) : string | Get Current Content-Type Header | |
get_header ( $header ) : string | Get Header | |
get_output ( ) : string | Get Output | |
set_cache_header ( integer $last_modified, integer $expiration ) : void | Set Cache Header | |
set_content_type ( string $mime_type, string $charset = NULL ) : CI_Output | Set Content-Type Header | |
set_header ( string $header, boolean $replace = TRUE ) : CI_Output | Set Header | |
set_output ( string $output ) : CI_Output | Set Output | |
set_profiler_sections ( array $sections ) : CI_Output | Set Profiler Sections | |
set_status_header ( integer $code = 200, string $text = '' ) : CI_Output | Set HTTP Status Header |
public __construct ( ) : void | ||
Результат | void |
public _display_cache ( &$CFG, &$URI ) : boolean | ||
Результат | boolean | TRUE on success or FALSE on failure |
public _write_cache ( string $output ) : void | ||
$output | string | Output data to cache |
Результат | void |
public append_output ( string $output ) : CI_Output | ||
$output | string | Data to append |
Результат | CI_Output |
public delete_cache ( string $uri = '' ) : boolean | ||
$uri | string | URI string |
Результат | boolean |
public enable_profiler ( boolean $val = TRUE ) : CI_Output | ||
$val | boolean | TRUE to enable or FALSE to disable |
Результат | CI_Output |
public get_content_type ( ) : string | ||
Результат | string | 'text/html', if not already set |
public get_output ( ) : string | ||
Результат | string |
public set_content_type ( string $mime_type, string $charset = NULL ) : CI_Output | ||
$mime_type | string | Extension of the file we're outputting |
$charset | string | Character set (default: NULL) |
Результат | CI_Output |
public set_header ( string $header, boolean $replace = TRUE ) : CI_Output | ||
$header | string | Header |
$replace | boolean | Whether to replace the old header value, if already set |
Результат | CI_Output |
public set_output ( string $output ) : CI_Output | ||
$output | string | Output data |
Результат | CI_Output |
public set_profiler_sections ( array $sections ) : CI_Output | ||
$sections | array | Profiler sections |
Результат | CI_Output |
public set_status_header ( integer $code = 200, string $text = '' ) : CI_Output | ||
$code | integer | Status code (default: 200) |
$text | string | Optional message |
Результат | CI_Output |
protected bool $_compress_output | ||
Результат | boolean |
protected array $_profiler_sections | ||
Результат | array |
protected bool $_zlib_oc | ||
Результат | boolean |
public int $cache_expiration | ||
Результат | integer |
public bool $enable_profiler | ||
Результат | boolean |
protected string $mime_type | ||
Результат | string |
public bool $parse_exec_vars | ||
Результат | boolean |