|
@@ 1813-1818 (lines=6) @@
|
| 1810 |
|
|
| 1811 |
|
public function __call($method, $args) |
| 1812 |
|
{ |
| 1813 |
|
if (strpos($method, 'subscribe_') === 0) |
| 1814 |
|
{ |
| 1815 |
|
$level = defined('E_USER_DEPRECATED') ? E_USER_DEPRECATED : E_USER_WARNING; |
| 1816 |
|
trigger_error('subscribe_*() has been deprecated, implement the callback yourself', $level); |
| 1817 |
|
return ''; |
| 1818 |
|
} |
| 1819 |
|
if ($method === 'enable_xml_dump') |
| 1820 |
|
{ |
| 1821 |
|
$level = defined('E_USER_DEPRECATED') ? E_USER_DEPRECATED : E_USER_WARNING; |
|
@@ 1819-1824 (lines=6) @@
|
| 1816 |
|
trigger_error('subscribe_*() has been deprecated, implement the callback yourself', $level); |
| 1817 |
|
return ''; |
| 1818 |
|
} |
| 1819 |
|
if ($method === 'enable_xml_dump') |
| 1820 |
|
{ |
| 1821 |
|
$level = defined('E_USER_DEPRECATED') ? E_USER_DEPRECATED : E_USER_WARNING; |
| 1822 |
|
trigger_error('enable_xml_dump() has been deprecated, use get_raw_data() instead', $level); |
| 1823 |
|
return false; |
| 1824 |
|
} |
| 1825 |
|
$class = get_class($this); |
| 1826 |
|
$trace = debug_backtrace(); |
| 1827 |
|
$file = $trace[0]['file']; |