Свойство | Type | Description | |
---|---|---|---|
$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}. |
Свойство | Type | Description | |
---|---|---|---|
$_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 |
Méthode | Description | |
---|---|---|
__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 | ||
Résultat | void |
public _display_cache ( &$CFG, &$URI ) : boolean | ||
Résultat | boolean | TRUE on success or FALSE on failure |
public _write_cache ( string $output ) : void | ||
$output | string | Output data to cache |
Résultat | void |
public append_output ( string $output ) : CI_Output | ||
$output | string | Data to append |
Résultat | CI_Output |
public delete_cache ( string $uri = '' ) : boolean | ||
$uri | string | URI string |
Résultat | boolean |
public enable_profiler ( boolean $val = TRUE ) : CI_Output | ||
$val | boolean | TRUE to enable or FALSE to disable |
Résultat | CI_Output |
public get_content_type ( ) : string | ||
Résultat | string | 'text/html', if not already set |
public get_output ( ) : string | ||
Résultat | 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) |
Résultat | 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 |
Résultat | CI_Output |
public set_output ( string $output ) : CI_Output | ||
$output | string | Output data |
Résultat | CI_Output |
public set_profiler_sections ( array $sections ) : CI_Output | ||
$sections | array | Profiler sections |
Résultat | CI_Output |
public set_status_header ( integer $code = 200, string $text = '' ) : CI_Output | ||
$code | integer | Status code (default: 200) |
$text | string | Optional message |
Résultat | CI_Output |
protected bool $_compress_output | ||
Résultat | boolean |
protected array $_profiler_sections | ||
Résultat | array |
protected bool $_zlib_oc | ||
Résultat | boolean |
public int $cache_expiration | ||
Résultat | integer |
public bool $enable_profiler | ||
Résultat | boolean |
protected string $mime_type | ||
Résultat | string |
public bool $parse_exec_vars | ||
Résultat | boolean |