Property | Type | Description | |
---|---|---|---|
$accessExpression | Additional php expression for access evaluation. | ||
$allowedIPs | the list of IPs that are allowed to access this module. Each array element represents a single IP filter which can be either an IP address or an address with wildcard (e.g. 192.168.0.*) to represent a network segment. The default value is ['127.0.0.1', '::1'], which means the module can only be accessed by localhost. | ||
$enabled | enable/disable component in application. | ||
$hiddenConfigOptions | list of unsecure component options (like login, passwords, secret keys) that will be hidden in application configuration page. | ||
$highlightCode | highlight code in debug logs. | ||
$historySize | the maximum number of debug data files to keep. If there are more files generated, the oldest ones will be removed. | ||
$internalUrls | use nice route rules in debug module. | ||
$logPath | the directory storing the debugger data files. This can be specified using a path alias. | ||
$moduleId | module ID for viewing stored debug logs. | ||
$panels | list debug panels. The array keys are the panel IDs, and values are the corresponding panel class names or configuration arrays. This will be merged with ::corePanels(). You may reconfigure a core panel via this property by using the same panel ID. You may also disable a core panel by setting it to be false in this property. | ||
$showConfig | show brief application configuration. |
Method | Description | |
---|---|---|
checkAccess ( ) : boolean | Check access rights. | |
dump ( mixed $data ) | Dump variable to debug log. | |
getLock ( string $tag ) : boolean | ||
getTag ( ) : string | ||
init ( ) | Panel initialization. | |
prepareData ( mixed $data ) : array | Convert data to plain array in recursive manner. | |
setLock ( string $tag, boolean $value ) |
Method | Description | |
---|---|---|
corePanels ( ) : array | ||
coreUrlRules ( ) | ||
initToolbar ( ) | Register debug panel scripts. | |
onEndRequest ( CEvent $event ) | ||
processDebug ( ) | Log processing routine. | |
resizeHistory ( &$manifest ) | Debug files rotation according to {@link ::$historySize}. |
Method | Description | |
---|---|---|
updateIndexFile ( string $indexFile, array $summary ) | Updates index file with summary log data |
public init ( ) |
public static prepareData ( mixed $data ) : array | ||
$data | mixed | |
return | array |
protected resizeHistory ( &$manifest ) | ||
$manifest |
public $accessExpression |
public $allowedIPs |
public $historySize |
public $logPath |
public $panels |