1 | <?PHP
|
---|
2 |
|
---|
3 | /* RDFInt.php - RDF Interfaces for PHP
|
---|
4 | * Copyright 2011 netlabs.org
|
---|
5 | * Author: Christian Langanke, Adrian Gschwend
|
---|
6 | *
|
---|
7 | * Licensed under the Apache License, Version 2.0 (the "License");
|
---|
8 | * you may not use this file except in compliance with the License.
|
---|
9 | * You may obtain a copy of the License at
|
---|
10 | *
|
---|
11 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
12 | *
|
---|
13 | * Unless required by applicable law or agreed to in writing, software
|
---|
14 | * distributed under the License is distributed on an "AS IS" BASIS,
|
---|
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
---|
16 | * See the License for the specific language governing permissions and
|
---|
17 | * limitations under the License.
|
---|
18 | */
|
---|
19 |
|
---|
20 |
|
---|
21 | /* Dummy interface for fDebug
|
---|
22 | *
|
---|
23 | * To activate log output
|
---|
24 | * - download fDebug server code (fdebug.lib.php) from www.fdebug.de
|
---|
25 | * - define environment variable PHP_LIBROOT_FDEBUG with the pathname
|
---|
26 | * of the directory containing fdebug.lib.php
|
---|
27 | * NOTE: Under Windowws make sure to use unix filename convention:
|
---|
28 | * use slashes instad of backslashes!
|
---|
29 | * - install fDebug Firefox Client Plugin from www.fdebug.de
|
---|
30 | * and active fDebug window
|
---|
31 | */
|
---|
32 |
|
---|
33 | class fDebug {
|
---|
34 |
|
---|
35 | protected static $instance = null;
|
---|
36 |
|
---|
37 | public static function getInstance() {
|
---|
38 | if (self::$instance == null) {
|
---|
39 | self::$instance = new fDebug();
|
---|
40 | }
|
---|
41 | return self::$instance;
|
---|
42 | }
|
---|
43 |
|
---|
44 | public function setSession($host, $url) {}
|
---|
45 | public function openSocket($remote, $port = 5005) {}
|
---|
46 | public function openProxy($uuid, $proxy, $port = 5005) {}
|
---|
47 | public function connectRemote($remote, $port) {}
|
---|
48 | public function sendHelo() {}
|
---|
49 | public function openFile($fname) {}
|
---|
50 | public function closeSocket() {}
|
---|
51 | public function isConnected() {}
|
---|
52 | public function hasSession() {}
|
---|
53 | protected function writeSocket($type, Array $payload) {}
|
---|
54 | protected function writeFile($payload) {}
|
---|
55 | public function setSource($source) {}
|
---|
56 | public function hasSource() {}
|
---|
57 | public function registerVariable(&$var,$key='') {}
|
---|
58 | public function sendVariables(Array $dumpAdd = array()) {}
|
---|
59 | public function setContext($context = null) {}
|
---|
60 | public function resetContext() {}
|
---|
61 | public function enableAutoContext() {}
|
---|
62 | public function disableAutoContext() {}
|
---|
63 | public function sendDebug($msg) {}
|
---|
64 | public function sendMessage($msg, $context = null) {}
|
---|
65 | public function sendWarning($msg, $context = null) {}
|
---|
66 | public function sendError($msg, $context = null) {}
|
---|
67 | public function sendFatal($msg, $context = null) {}
|
---|
68 | protected function handleMessage($msg, $level, $context = null) {}
|
---|
69 | public function sendSource($xml=null) {}
|
---|
70 | public function setContextFilter( $newContextFilter=null) {}
|
---|
71 | }
|
---|
72 |
|
---|
73 | ?>
|
---|