PHP Class TI_Config, TastyIgniter

Inheritance: extends MX_Config
Show file Open project: tastyigniter/tastyigniter

Public Properties

Property Type Description
$_config_paths

Public Methods

Method Description
__construct ( ) : void Class constructor
root_url ( string | string[] $uri = '', string $protocol = NULL, boolean $reserve_routing = FALSE ) : string Root URL
site_url ( $uri = '', $protocol = NULL ) --------------------------------------------------------------------

Method Details

__construct() public method

Sets the $config data from the primary config.php file as a class variable.
public __construct ( ) : void
return void

root_url() public method

Returns root_url [. uri_string]
public root_url ( string | string[] $uri = '', string $protocol = NULL, boolean $reserve_routing = FALSE ) : string
$uri string | string[] URI string or an array of segments
$protocol string
$reserve_routing boolean
return string

site_url() public method

--------------------------------------------------------------------
public site_url ( $uri = '', $protocol = NULL )

Property Details

$_config_paths public property

public $_config_paths