• MODX.com

    1,744 downloads

modFire

modFire is an extra by atma, first released on 2010-04-13.

Package Description

For more information see: http://www.firephp.org/

PHP 5 only, see: http://svn.modxcms.com/docs/display/revolution/Server+Requirements

Requirements: Firefox, Firebug and FirePHP

Usage:


$modx->getService('fire', 'modFire', $modx->getOption('core_path').'components/modfire/');
//or with options
$modx->getService('fire', 'modFire', $modx->getOption('core_path').'components/modfire/', array(
'maxObjectDepth' => 10,
'maxArrayDepth' => 20,
'useNativeJsonEncode' => true,
'includeLineNumbers' => true)

);

$modx->fire->log('Plain Message');
$modx->fire->log('Plain message with label', 'Label');
$modx->fire->info('Info Message');
$modx->fire->warn('Warn Message');
$modx->fire->error('Error Message');

$modx->fire->group('Collapsed and Colored Group',
array(
'Collapsed' => true,
'Color' => '#BB0000')
);
$modx->fire->log('First item');
$modx->fire->log('Second item');
$modx->fire->log('Third item');
$modx->fire->groupEnd();
$modx->fire->trace('Trace Label');

$table = array();
$table[] = array('Col 1 Heading','Col 2 Heading');
$table[] = array('Row 1 Col 1','Row 1 Col 2');
$table[] = array('Row 2 Col 1','Row 2 Col 2');
$table[] = array('Row 3 Col 1','Row 3 Col 2');
$modx->fire->table('Table Label', $table);

Can be temporarily disabled from System Settings (key modfire.enabled)

Usage/Installation Instructions

Install via Package Management.

Details

Developer(s)
atma
Released
2010-04-14
First seen
2010-04-13
License
GPLv3
Supported databases
Minimum MODX Requirement
2.0

modFire Releases

Vendor Signature Released on
MODX.com 0.1.0-rc 2010-04-14 (15 years ago)