PHP Class Ip\Config

Afficher le fichier Open project: impresspages/impresspages

Protected Properties

Свойство Type Description
$config
$protocol
$protocolUrl

Méthodes publiques

Méthode Description
__construct ( $config, array | null $server = null )
adminLocale ( )
baseUrl ( string $protocol = null ) : string Returns absolute base url.
database ( )
get ( string $name, mixed $default = null ) : mixed
isDebugMode ( )
isDevelopmentEnvironment ( )
protocol ( )
set ( $name, $value )
showErrors ( )
tablePrefix ( )
theme ( )

Method Details

__construct() public méthode

public __construct ( $config, array | null $server = null )
$config
$server array | null $_SERVER

adminLocale() public méthode

public adminLocale ( )

baseUrl() public méthode

Returns absolute base url.
public baseUrl ( string $protocol = null ) : string
$protocol string 'http:// https:// or //. Current protocol will be used if null
Résultat string

database() public méthode

public database ( )

get() public méthode

public get ( string $name, mixed $default = null ) : mixed
$name string
$default mixed
Résultat mixed

isDebugMode() public méthode

public isDebugMode ( )

isDevelopmentEnvironment() public méthode

protocol() public méthode

public protocol ( )

set() public méthode

public set ( $name, $value )

showErrors() public méthode

public showErrors ( )

tablePrefix() public méthode

public tablePrefix ( )

theme() public méthode

public theme ( )

Property Details

$config protected_oe property

protected $config

$protocol protected_oe property

protected $protocol

$protocolUrl protected_oe property

protected $protocolUrl