123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <?php
- interface Comparable_Interface {
-
- public function cmp(Comparable_Interface $other);
- }
- function _debug($msg) {
- global $_debug_active ;
- if ($_debug_active)
- echo $msg;
- }
- function output_encoder($s) {
- return iconv('UTF-8', 'IBM850', $s);
- }
- function load_glade() {
- return new GladeXML(basename(__FILE__, 'php') . 'glade');
- }
- function func_name($level = 1) {
- $trace = debug_backtrace();
- $func = $trace[$level]['function'];
- if (isset($trace[$level]['class'])) {
- $func = $trace[$level]['class'] . '::' . $func;
- }
- return $func;
- }
- ob_start("output_encoder", 2);
|