AloFramework Handlers 2.0 API
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Namespaces

  • AloFramework
    • Handlers
      • Config
      • Output
        • Styles
  • PHP

Classes

  • AbstractConfig
  • ErrorConfig
  • ExceptionConfig

Class AbstractConfig

AbstractHandler configuration

AloFramework\Config\AbstractConfig
Extended by AloFramework\Handlers\Config\AbstractConfig

Direct known subclasses

AloFramework\Handlers\Config\ErrorConfig, AloFramework\Handlers\Config\ExceptionConfig

Namespace: AloFramework\Handlers\Config
Author: Art a.molcanovas@gmail.com
Since:

1.4.1 property phpdocs added
1.4


Located at class/Config/AbstractConfig.php

Methods summary

public
# __construct( array $defaults = [], array $cfg = [] )

Constructor

Constructor

Parameters

$defaults
The default config of extending classes
$cfg
Default configuration overrides

Author

Art a.molcanovas@gmail.com

Constants summary

string CFG_CSS_PATH

[STR] The CSS path configuration key

[STR] The CSS path configuration key

# 'cssPath'
string CFG_TRACE_MAX_DEPTH

[INT] Maximum debug backtrace depth configuration key

[INT] Maximum debug backtrace depth configuration key

# 'traceDepth'
string CFG_BACKGROUND

[STR] CLI background colour configuration key

[STR] CLI background colour configuration key

# 'bgCli'
string CFG_FOREGROUND_NOTICE

[STR] CLI notice level foreground colour cofiguration key

[STR] CLI notice level foreground colour cofiguration key

# 'fgInfo'
string CFG_FOREGROUND_WARNING

[STR] CLI warning level foreground colour cofiguration key

[STR] CLI warning level foreground colour cofiguration key

# 'fgWarn'
string CFG_FOREGROUND_ERROR

[STR] CLI error level foreground colour cofiguration key

[STR] CLI error level foreground colour cofiguration key

# 'fgErr'
string CFG_FORCE_HTML

[BOOL] Whether to force HTML output regardless of whether the error is raised in CLI mode (configuration key)

[BOOL] Whether to force HTML output regardless of whether the error is raised in CLI mode (configuration key)

# 'forceHTML'

Properties summary

Magic properties

public string $fgInfo

Foreground colour for info-level messages in CLI mode

public string $fgWarn

Foreground colour for info-level messages in CLI mode

public string $fgErr

Foreground colour for info-level messages in CLI mode

public boolean $forceHTML

Whether to force HTML output even in CLI mode

public boolean $regShutdown

[DEPRECATED] Whether to register the shutdown handler in the AbstractHandler::register()

public string $bgCli

Background colour in CLI mode

public string $cssPath

Path to the CSS file

public integer $traceDepth

Maximum number of debug backtrace items to output

AloFramework Handlers 2.0 API API documentation generated by ApiGen