00001 <?php 00002 00006 class FakeTitle extends Title { 00007 function error() { throw new MWException( "Attempt to call member function of FakeTitle\n" ); } 00008 00009 // PHP 5.1 method overload 00010 function __call( $name, $args ) { $this->error(); } 00011 00012 // PHP <5.1 compatibility 00013 function isLocal() { $this->error(); } 00014 function isTrans() { $this->error(); } 00015 function getText() { $this->error(); } 00016 function getPartialURL() { $this->error(); } 00017 function getDBkey() { $this->error(); } 00018 function getNamespace() { $this->error(); } 00019 function getNsText() { $this->error(); } 00020 function getSubjectNsText() { $this->error(); } 00021 function getInterwiki() { $this->error(); } 00022 function getFragment() { $this->error(); } 00023 function getDefaultNamespace() { $this->error(); } 00024 function getIndexTitle() { $this->error(); } 00025 function getPrefixedDBkey() { $this->error(); } 00026 function getPrefixedText() { $this->error(); } 00027 function getFullText() { $this->error(); } 00028 function getPrefixedURL() { $this->error(); } 00029 function getFullURL( $query = '', $variant = false ) {$this->error(); } 00030 function getLocalURL( $query = '', $variant = false ) { $this->error(); } 00031 function escapeLocalURL( $query = '' ) { $this->error(); } 00032 function escapeFullURL( $query = '' ) { $this->error(); } 00033 function getInternalURL( $query = '', $variant = false ) { $this->error(); } 00034 function getEditURL() { $this->error(); } 00035 function getEscapedText() { $this->error(); } 00036 function isExternal() { $this->error(); } 00037 function isSemiProtected( $action = 'edit' ) { $this->error(); } 00038 function isProtected( $action = '' ) { $this->error(); } 00039 function userIsWatching() { $this->error(); } 00040 function userCan( $action, $doExpensiveQueries = true ) { $this->error(); } 00041 function userCanCreate() { $this->error(); } 00042 function userCanEdit( $doExpensiveQueries = true ) { $this->error(); } 00043 function userCanMove() { $this->error(); } 00044 function isMovable() { $this->error(); } 00045 function userCanRead() { $this->error(); } 00046 function isTalkPage() { $this->error(); } 00047 function isCssJsSubpage() { $this->error(); } 00048 function isValidCssJsSubpage() { $this->error(); } 00049 function getSkinFromCssJsSubpage() { $this->error(); } 00050 function isCssSubpage() { $this->error(); } 00051 function isJsSubpage() { $this->error(); } 00052 function userCanEditCssJsSubpage() { $this->error(); } 00053 function loadRestrictions( $res ) { $this->error(); } 00054 function getRestrictions($action) { $this->error(); } 00055 function isDeleted() { $this->error(); } 00056 function getArticleID( $flags = 0 ) { $this->error(); } 00057 function getLatestRevID() { $this->error(); } 00058 function resetArticleID( $newid ) { $this->error(); } 00059 function invalidateCache() { $this->error(); } 00060 function getTalkPage() { $this->error(); } 00061 function getSubjectPage() { $this->error(); } 00062 function getLinksTo() { $this->error(); } 00063 function getTemplateLinksTo() { $this->error(); } 00064 function getBrokenLinksFrom() { $this->error(); } 00065 function getSquidURLs() { $this->error(); } 00066 function moveNoAuth() { $this->error(); } 00067 function isValidMoveOperation() { $this->error(); } 00068 function moveTo() { $this->error(); } 00069 function moveOverExistingRedirect() { $this->error(); } 00070 function moveToNewTitle() { $this->error(); } 00071 function isValidMoveTarget() { $this->error(); } 00072 function getParentCategories() { $this->error(); } 00073 function getParentCategoryTree() { $this->error(); } 00074 function pageCond() { $this->error(); } 00075 function getPreviousRevisionID() { $this->error(); } 00076 function getNextRevisionID() { $this->error(); } 00077 function equals() { $this->error(); } 00078 function exists() { $this->error(); } 00079 function isAlwaysKnown() { $this->error(); } 00080 function isKnown() { $this->error(); } 00081 function touchLinks() { $this->error(); } 00082 function trackbackURL() { $this->error(); } 00083 function trackbackRDF() { $this->error(); } 00084 }