PHP Класс ProxiBlue_NewRelic_Helper_Data, NewRelic

Автор: Lucas van Staden ([email protected])
Наследование: extends Mage_Core_Helper_Abstract
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
ignoreInString ( string $message, array $ignores ) : boolean Check if any of the strings are in the message

Описание методов

cleanIgnoreList() публичный Метод

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

customMetric() публичный Метод

public customMetric ( $name, $value )

ignoreMessage() публичный Метод

Test if a message should be ignored
public ignoreMessage ( string $message, string $type ) : boolean
$message string
$type string
Результат boolean

ignoreModule() публичный Метод

Test if a message should be ignored
public ignoreModule ( $module ) : boolean
Результат boolean

is_enabled() публичный Метод

public is_enabled ( )

setAppName() публичный Метод

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

testApiKey() публичный Метод

Test the given API key is correct
public testApiKey ( string $apiKey ) : boolean
$apiKey string
Результат boolean