Show:

Q_Bootstrap Class

Q Bootstrap class

Methods

addAlias

() static

Adds the first alias to the configuration

checkRequirements

(
  • [$plugins=null]
)
Boolean static

Parameters:

  • [$plugins=null] Array optional

Returns:

Boolean:

checkRequirementsApp

() static

configure

(
  • boolean
)
static

Loads the configuration and plugins in the right order

Parameters:

  • boolean Object

    [$force_reload=false] If true, forces the reload of the cache. Otherwise it happens only if Q/configServer/interval seconds have passed since the last time.

defineFunctions

() static

prevErrorHandler

() Callable static

Returns:

Callable:

prevExceptionHandler

() Callable static

Returns:

Callable:

registerAutoload

() static

registerErrorHandler

() static

registerExceptionHandler

() static

registerShutdownFunction

() static

revertSlashes

(
  • [$to_strip=null]
)
static

Used to undo the mangling done by magic_quotes_gpc

Parameters:

  • [$to_strip=null] String optional

    The string or array to revert. If null, reverts all the PHP input arrays.

setDefaultTimezone

() static

setIncludePath

() static

setResponseBuffered

() static

Sets whether the response is buffered from the config, if any

setResponseBuffered

() static

Sets whether the response is buffered from the config, if any

shutdownFunction

() static

Properties

$plugins

Array protected static

$prev_error_handler

Callable protected static

$prev_exception_handler

Callable protected static

Events

Q/shutdown

Before

Q/text

Before