Remove ?>'s from files. They're pointless, and just asking for people to mess with...
[lhc/web/wiklou.git] / includes / FakeTitle.php
1 <?php
2
3 /**
4 * Fake title class that triggers an error if any members are called
5 */
6 class FakeTitle {
7 function error() { throw new MWException( "Attempt to call member function of FakeTitle\n" ); }
8
9 // PHP 5.1 method overload
10 function __call( $name, $args ) { $this->error(); }
11
12 // PHP <5.1 compatibility
13 function getInterwikiLink() { $this->error(); }
14 function getInterwikiCached() { $this->error(); }
15 function isLocal() { $this->error(); }
16 function isTrans() { $this->error(); }
17 function getText() { $this->error(); }
18 function getPartialURL() { $this->error(); }
19 function getDBkey() { $this->error(); }
20 function getNamespace() { $this->error(); }
21 function getNsText() { $this->error(); }
22 function getSubjectNsText() { $this->error(); }
23 function getInterwiki() { $this->error(); }
24 function getFragment() { $this->error(); }
25 function getDefaultNamespace() { $this->error(); }
26 function getIndexTitle() { $this->error(); }
27 function getPrefixedDBkey() { $this->error(); }
28 function getPrefixedText() { $this->error(); }
29 function getFullText() { $this->error(); }
30 function getPrefixedURL() { $this->error(); }
31 function getFullURL() {$this->error(); }
32 function getLocalURL() { $this->error(); }
33 function escapeLocalURL() { $this->error(); }
34 function escapeFullURL() { $this->error(); }
35 function getInternalURL() { $this->error(); }
36 function getEditURL() { $this->error(); }
37 function getEscapedText() { $this->error(); }
38 function isExternal() { $this->error(); }
39 function isSemiProtected() { $this->error(); }
40 function isProtected() { $this->error(); }
41 function userIsWatching() { $this->error(); }
42 function userCan() { $this->error(); }
43 function userCanCreate() { $this->error(); }
44 function userCanEdit() { $this->error(); }
45 function userCanMove() { $this->error(); }
46 function isMovable() { $this->error(); }
47 function userCanRead() { $this->error(); }
48 function isTalkPage() { $this->error(); }
49 function isCssJsSubpage() { $this->error(); }
50 function isValidCssJsSubpage() { $this->error(); }
51 function getSkinFromCssJsSubpage() { $this->error(); }
52 function isCssSubpage() { $this->error(); }
53 function isJsSubpage() { $this->error(); }
54 function userCanEditCssJsSubpage() { $this->error(); }
55 function loadRestrictions( $res ) { $this->error(); }
56 function getRestrictions($action) { $this->error(); }
57 function isDeleted() { $this->error(); }
58 function getArticleID( $flags = 0 ) { $this->error(); }
59 function getLatestRevID() { $this->error(); }
60 function resetArticleID( $newid ) { $this->error(); }
61 function invalidateCache() { $this->error(); }
62 function getTalkPage() { $this->error(); }
63 function getSubjectPage() { $this->error(); }
64 function getLinksTo() { $this->error(); }
65 function getTemplateLinksTo() { $this->error(); }
66 function getBrokenLinksFrom() { $this->error(); }
67 function getSquidURLs() { $this->error(); }
68 function moveNoAuth() { $this->error(); }
69 function isValidMoveOperation() { $this->error(); }
70 function moveTo() { $this->error(); }
71 function moveOverExistingRedirect() { $this->error(); }
72 function moveToNewTitle() { $this->error(); }
73 function isValidMoveTarget() { $this->error(); }
74 function getParentCategories() { $this->error(); }
75 function getParentCategoryTree() { $this->error(); }
76 function pageCond() { $this->error(); }
77 function getPreviousRevisionID() { $this->error(); }
78 function getNextRevisionID() { $this->error(); }
79 function equals() { $this->error(); }
80 function exists() { $this->error(); }
81 function isAlwaysKnown() { $this->error(); }
82 function touchLinks() { $this->error(); }
83 function trackbackURL() { $this->error(); }
84 function trackbackRDF() { $this->error(); }
85 }
86
87