Topics

Class Config

Namespace: Ip

Methods:

__construct( mixed $config , [ array|null $server = null ] )

Parameters:

mixed $config
array|null $server $_SERVER
database( )
tablePrefix( )
string baseUrl( [ string $protocol = null ] )

Returns absolute base url.

Parameters:

string $protocol 'http:// https:// or //. Current protocol will be used if null

Return values:

string
mixed get( string $name , [ mixed $default = null ] )

Parameters:

string $name
mixed $default

Return values:

mixed
set( mixed $name , mixed $value )
isDevelopmentEnvironment( )
isDebugMode( )
theme( )
adminLocale( )
showErrors( )
comments powered by Disqus