프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_config_paths | array | List of paths to search when trying to load a config file. | |
$config | array | List of all loaded config values | |
$is_loaded | array | List of all loaded config files |
메소드 | 설명 | |
---|---|---|
__construct ( ) : void | Class constructor | |
base_url ( string | string[] $uri = '', string $protocol = NULL ) : string | Base URL | |
item ( string $item, string $index = '' ) : string | null | Fetch a config file item | |
load ( string $file = '', boolean $use_sections = FALSE, boolean $fail_gracefully = FALSE ) : boolean | Load Config File | |
set_item ( string $item, string $value ) : void | Set a config file item | |
site_url ( string | string[] $uri = '', string $protocol = NULL ) : string | Site URL | |
slash_item ( string $item ) : string | null | Fetch a config file item with slash appended (if not empty) | |
system_url ( ) : string | System URL |
메소드 | 설명 | |
---|---|---|
_uri_string ( string | string[] $uri ) : string | Build URI string |
public __construct ( ) : void | ||
리턴 | void |
protected _uri_string ( string | string[] $uri ) : string | ||
$uri | string | string[] | URI string or an array of segments |
리턴 | string |
public load ( string $file = '', boolean $use_sections = FALSE, boolean $fail_gracefully = FALSE ) : boolean | ||
$file | string | Configuration file name |
$use_sections | boolean | Whether configuration values should be loaded into their own section |
$fail_gracefully | boolean | Whether to just return FALSE or display an error message |
리턴 | boolean | TRUE if the file was loaded correctly or FALSE on failure |
public array $_config_paths | ||
리턴 | array |