REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 2.58 KB
Close
/home/nshryvcy/blissfulnepal.com/wp-content/plugins/w3-total-cache/lib/NewRelic/NewRelicWrapper.php
Text
Base64
<?php /** * Wraps around New Relic PHP Agent functions and makes sure the function exists. */ class NewRelicWrapper { public static function set_appname($name, $license = '', $xmit =false) { self::call('newrelic_set_appname',array($name, $license, $xmit)); } public static function mark_as_background_job($flag = true) { self::call('newrelic_background_job', $flag); } public static function disable_auto_rum() { self::call('newrelic_disable_autorum'); } public static function name_transaction($name) { self::call('newrelic_name_transaction', $name); } public static function get_browser_timing_header() { return self::call('newrelic_get_browser_timing_header'); } public static function get_browser_timing_footer() { return self::call('newrelic_get_browser_timing_footer'); } public static function ignore_transaction(){ self::call('newrelic_ignore_transaction'); } public static function ignore_apdex() { self::call('newrelic_ignore_apdex'); } public static function start_transaction ($appname, $license = '') { $args = array(); $args[] = $appname; if ($license) $args[] = $license; self::call('newrelic_start_transaction', $args); } public static function add_custom_parameter($name, $value) { self::call('newrelic_add_custom_parameter', array($name, $value)); } public static function capture_params($enable = true) { self::call('newrelic_capture_params', $enable); } public static function custom_metric($name, $value) { self::call('newrelic_custom_metric', array($name, $value)); } public static function add_custom_tracer($function) { self::call('newrelic_add_custom_tracer', $function); } public static function end_of_transaction() { self::call('newrelic_end_of_transaction'); } public static function end_transaction() { self::call('newrelic_end_transaction'); } public static function set_user_attributes($user = '', $account = '', $product = '') { self::call('newrelic_set_user_attributes', array($user, $account, $product)); } private static function call($function, $args = null) { if (function_exists($function)) { if ($args) if (is_array($args)) return call_user_func_array($function, $args); else return call_user_func($function, $args); else return call_user_func($function); } } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
NewRelicAPI.php
19.29 KB
lrw-r--r--
2026-04-03 01:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
NewRelicWrapper.php
2.58 KB
lrw-r--r--
2026-04-03 01:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).