PHP Class ProxiBlue_NewRelic_Helper_Data, NewRelic

Author: Lucas van Staden ([email protected])
Inheritance: extends Mage_Core_Helper_Abstract
Afficher le fichier Open project: proxiblue/newrelic

Méthodes publiques

Méthode Description
cleanIgnoreList ( array &$item, string $key ) Reformat the config array
customMetric ( $name, $value )
ignoreMessage ( string $message, string $type ) : boolean Test if a message should be ignored
ignoreModule ( $module ) : boolean Test if a message should be ignored
is_enabled ( )
setAppName ( $xmit = true ) Helper function to set the application name used to report
testApiKey ( string $apiKey ) : boolean Test the given API key is correct

Private Methods

Méthode Description
ignoreInString ( string $message, array $ignores ) : boolean Check if any of the strings are in the message

Method Details

cleanIgnoreList() public méthode

Reformat the config array
public cleanIgnoreList ( array &$item, string $key )
$item array
$key string

customMetric() public méthode

public customMetric ( $name, $value )

ignoreMessage() public méthode

Test if a message should be ignored
public ignoreMessage ( string $message, string $type ) : boolean
$message string
$type string
Résultat boolean

ignoreModule() public méthode

Test if a message should be ignored
public ignoreModule ( $module ) : boolean
Résultat boolean

is_enabled() public méthode

public is_enabled ( )

setAppName() public méthode

Helper function to set the application name used to report
public setAppName ( $xmit = true )

testApiKey() public méthode

Test the given API key is correct
public testApiKey ( string $apiKey ) : boolean
$apiKey string
Résultat boolean