Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

OutputPage Class Reference

List of all members.

Public Member Functions

 OutputPage ()
 addHeader ($name, $val)
 addCookie ($name, $val)
 redirect ($url, $responsecode= '302')
 addMeta ($name, $val)
 addKeyword ($text)
 addScript ($script)
 getScript ()
 addLink ($linkarr)
 addMetadataLink ($linkarr)
 checkLastModified ($timestamp)
 getPageTitleActionText ()
 setRobotpolicy ($str)
 setHTMLTitle ($name)
 setPageTitle ($name)
 getHTMLTitle ()
 getPageTitle ()
 setSubtitle ($str)
 getSubtitle ()
 isArticle ()
 setPrintable ()
 isPrintable ()
 setSyndicated ($show=true)
 isSyndicated ()
 setOnloadHandler ($js)
 getOnloadHandler ()
 disable ()
 setArticleRelated ($v)
 setArticleFlag ($v)
 isArticleRelated ()
 getLanguageLinks ()
 addLanguageLinks ($newLinkArray)
 setLanguageLinks ($newLinkArray)
 getCategoryLinks ()
 addCategoryLinks ($newLinkArray)
 setCategoryLinks ($newLinkArray)
 suppressQuickbar ()
 isQuickbarSuppressed ()
 addHTML ($text)
 debug ($text)
 setParserOptions ($options)
 addWikiText ($text, $linestart=true, $cacheArticle=NULL)
 tryParserCache ($article, $user)
 setSquidMaxage ($maxage)
 enableClientCache ($state)
 sendCacheControl ()
 output ()
 out ($ins)
 setEncodings ()
 reportTime ()
 errorpage ($title, $msg)
 sysopRequired ()
 developerRequired ()
 loginToUse ()
 databaseError ($fname, $sql, $error, $errno)
 readOnlyPage ($source=null, $protected=false)
 fatalError ($message)
 unexpectedValueError ($name, $val)
 fileCopyError ($old, $new)
 fileRenameError ($old, $new)
 fileDeleteError ($name)
 fileNotFoundError ($name)
 returnToMain ($auto=true, $returnto=NULL)
 addMetaTags ()
 headElement ()
 getHeadLinks ()

Public Attributes

 $mHeaders
 $mCookies
 $mMetatags
 $mKeywords
 $mLinktags
 $mPagetitle
 $mBodytext
 $mDebugtext
 $mHTMLtitle
 $mRobotpolicy
 $mIsarticle
 $mPrintable
 $mSubtitle
 $mRedirect
 $mLastModified
 $mCategoryLinks
 $mScripts
 $mSuppressQuickbar
 $mOnloadHandler
 $mDoNothing
 $mContainsOldMagic
 $mContainsNewMagic
 $mIsArticleRelated
 $mParserOptions
 $mShowFeedLinks = false
 $mEnableClientCache = true

Constructor & Destructor Documentation

OutputPage::OutputPage  ) 
 

Definition at line 23 of file OutputPage.php.


Member Function Documentation

OutputPage::addCategoryLinks newLinkArray  ) 
 

Definition at line 195 of file OutputPage.php.

References addCategoryLinks().

Referenced by addCategoryLinks().

OutputPage::addCookie name,
val
 

Definition at line 43 of file OutputPage.php.

References addCookie(), and name.

Referenced by addCookie().

OutputPage::addHeader name,
val
 

Definition at line 42 of file OutputPage.php.

References addHeader().

Referenced by addHeader().

OutputPage::addHTML text  ) 
 

Definition at line 205 of file OutputPage.php.

References addHTML().

Referenced by addHTML().

OutputPage::addKeyword text  ) 
 

Definition at line 48 of file OutputPage.php.

References addKeyword().

Referenced by addKeyword().

OutputPage::addLanguageLinks newLinkArray  ) 
 

Definition at line 186 of file OutputPage.php.

References addLanguageLinks().

Referenced by addLanguageLinks().

OutputPage::addLink linkarr  ) 
 

Definition at line 52 of file OutputPage.php.

References addLink().

Referenced by addLink().

OutputPage::addMeta name,
val
 

Definition at line 47 of file OutputPage.php.

References addMeta(), and name.

Referenced by addMeta().

OutputPage::addMetadataLink linkarr  ) 
 

Definition at line 57 of file OutputPage.php.

References addMetadataLink().

Referenced by addMetadataLink().

OutputPage::addMetaTags  ) 
 

Definition at line 648 of file OutputPage.php.

References $wgLinkCache, and $wgOut.

OutputPage::addScript script  ) 
 

Definition at line 49 of file OutputPage.php.

References addScript().

Referenced by addScript().

OutputPage::addWikiText text,
linestart = true,
cacheArticle = NULL
 

Definition at line 218 of file OutputPage.php.

References $wgParser, $wgParserCache, $wgTitle, $wgUser, and addWikiText().

Referenced by addWikiText().

OutputPage::checkLastModified timestamp  ) 
 

Definition at line 69 of file OutputPage.php.

References $wgCachePages, $wgLang, $wgUser, checkLastModified(), disable(), sendCacheControl(), wfDebug(), wfTimestamp2Unix(), and wfUnix2Timestamp().

Referenced by checkLastModified().

OutputPage::databaseError fname,
sql,
error,
errno
 

Definition at line 521 of file OutputPage.php.

References $wgCommandLineMode, $wgUser, databaseError(), output(), wfAbruptExit(), and wfMsgNoDB().

Referenced by databaseError().

OutputPage::debug text  ) 
 

Definition at line 206 of file OutputPage.php.

References debug().

Referenced by debug().

OutputPage::developerRequired  ) 
 

Definition at line 485 of file OutputPage.php.

References $wgUser, returnToMain(), and wfMsg().

OutputPage::disable  ) 
 

Definition at line 162 of file OutputPage.php.

Referenced by checkLastModified().

OutputPage::enableClientCache state  ) 
 

Definition at line 251 of file OutputPage.php.

References enableClientCache(), and wfSetVar().

Referenced by enableClientCache().

OutputPage::errorpage title,
msg
 

Definition at line 449 of file OutputPage.php.

References $wgTitle, errorpage(), output(), returnToMain(), title, wfAbruptExit(), and wfMsg().

Referenced by errorpage().

OutputPage::fatalError message  ) 
 

Definition at line 584 of file OutputPage.php.

References fatalError(), output(), wfAbruptExit(), and wfMsg().

Referenced by fatalError().

OutputPage::fileCopyError old,
new
 

Definition at line 601 of file OutputPage.php.

References fileCopyError(), and wfMsg().

Referenced by fileCopyError().

OutputPage::fileDeleteError name  ) 
 

Definition at line 611 of file OutputPage.php.

References fileDeleteError(), name, and wfMsg().

Referenced by fileDeleteError().

OutputPage::fileNotFoundError name  ) 
 

Definition at line 616 of file OutputPage.php.

References fileNotFoundError(), name, and wfMsg().

Referenced by fileNotFoundError().

OutputPage::fileRenameError old,
new
 

Definition at line 606 of file OutputPage.php.

References fileRenameError(), and wfMsg().

Referenced by fileRenameError().

OutputPage::getCategoryLinks  ) 
 

Definition at line 192 of file OutputPage.php.

OutputPage::getHeadLinks  ) 
 

Definition at line 711 of file OutputPage.php.

References $wgRequest, $wgStylePath, and isSyndicated().

Referenced by headElement().

OutputPage::getHTMLTitle  ) 
 

Definition at line 151 of file OutputPage.php.

OutputPage::getLanguageLinks  ) 
 

Definition at line 183 of file OutputPage.php.

OutputPage::getOnloadHandler  ) 
 

Definition at line 161 of file OutputPage.php.

OutputPage::getPageTitle  ) 
 

Definition at line 152 of file OutputPage.php.

OutputPage::getPageTitleActionText  ) 
 

Definition at line 115 of file OutputPage.php.

References $action, and wfMsg().

Referenced by setPageTitle().

OutputPage::getScript  ) 
 

Definition at line 50 of file OutputPage.php.

OutputPage::getSubtitle  ) 
 

Definition at line 154 of file OutputPage.php.

OutputPage::headElement  ) 
 

Definition at line 665 of file OutputPage.php.

References $wgDocType, $wgLang, $wgLanguageCode, $wgMimeType, $wgOutputEncoding, $wgRequest, $wgStylePath, $wgUser, getHeadLinks(), isPrintable(), wfMsg(), and xml.

OutputPage::isArticle  ) 
 

Definition at line 155 of file OutputPage.php.

OutputPage::isArticleRelated  ) 
 

Definition at line 178 of file OutputPage.php.

OutputPage::isPrintable  ) 
 

Definition at line 157 of file OutputPage.php.

Referenced by headElement(), and sendCacheControl().

OutputPage::isQuickbarSuppressed  ) 
 

Definition at line 203 of file OutputPage.php.

OutputPage::isSyndicated  ) 
 

Definition at line 159 of file OutputPage.php.

Referenced by getHeadLinks().

OutputPage::loginToUse  ) 
 

Definition at line 501 of file OutputPage.php.

References $wgLang, $wgTitle, $wgUser, page, returnToMain(), and wfMsg().

OutputPage::out ins  ) 
 

Definition at line 358 of file OutputPage.php.

References $wgInputEncoding, $wgLang, $wgOutputEncoding, and out().

Referenced by out().

OutputPage::output  ) 
 

Definition at line 304 of file OutputPage.php.

References $url, $wgCookieExpiration, $wgDebugComments, $wgDebugRedirects, $wgInputEncoding, $wgLang, $wgLanguageCode, $wgMimeType, $wgOutputEncoding, $wgUser, name, sendCacheControl(), and wfProfileIn().

Referenced by databaseError(), errorpage(), and fatalError().

OutputPage::readOnlyPage source = null,
protected = false
 

Definition at line 554 of file OutputPage.php.

References $wgReadOnlyFile, $wgUser, readOnlyPage(), returnToMain(), source, and wfMsg().

Referenced by readOnlyPage().

OutputPage::redirect url,
responsecode = '302'
 

Definition at line 44 of file OutputPage.php.

References $url, and redirect().

Referenced by redirect().

OutputPage::reportTime  ) 
 

Definition at line 420 of file OutputPage.php.

References $hostname, $wgRequestTime, and wfTime().

OutputPage::returnToMain auto = true,
returnto = NULL
 

Definition at line 624 of file OutputPage.php.

References $wgOut, $wgRequest, $wgUser, returnToMain(), and wfMsg().

Referenced by developerRequired(), errorpage(), loginToUse(), readOnlyPage(), returnToMain(), and sysopRequired().

OutputPage::sendCacheControl  ) 
 

Definition at line 255 of file OutputPage.php.

References $wgUseESI, $wgUseSquid, isPrintable(), and wfDebug().

Referenced by checkLastModified(), and output().

OutputPage::setArticleFlag v  ) 
 

Definition at line 171 of file OutputPage.php.

References setArticleFlag().

Referenced by setArticleFlag().

OutputPage::setArticleRelated v  ) 
 

Definition at line 164 of file OutputPage.php.

References setArticleRelated().

Referenced by setArticleRelated().

OutputPage::setCategoryLinks newLinkArray  ) 
 

Definition at line 198 of file OutputPage.php.

References setCategoryLinks().

Referenced by setCategoryLinks().

OutputPage::setEncodings  ) 
 

Definition at line 370 of file OutputPage.php.

References $wgInputEncoding, $wgLang, $wgOutputEncoding, and $wgUser.

OutputPage::setHTMLTitle name  ) 
 

Definition at line 139 of file OutputPage.php.

References setHTMLTitle().

Referenced by setHTMLTitle().

OutputPage::setLanguageLinks newLinkArray  ) 
 

Definition at line 189 of file OutputPage.php.

References setLanguageLinks().

Referenced by setLanguageLinks().

OutputPage::setOnloadHandler js  ) 
 

Definition at line 160 of file OutputPage.php.

References setOnloadHandler().

Referenced by setOnloadHandler().

OutputPage::setPageTitle name  ) 
 

Definition at line 140 of file OutputPage.php.

References $action, getPageTitleActionText(), name, setPageTitle(), and wfMsg().

Referenced by setPageTitle().

OutputPage::setParserOptions options  ) 
 

Definition at line 208 of file OutputPage.php.

References setParserOptions(), and wfSetVar().

Referenced by setParserOptions().

OutputPage::setPrintable  ) 
 

Definition at line 156 of file OutputPage.php.

OutputPage::setRobotpolicy str  ) 
 

Definition at line 138 of file OutputPage.php.

References setRobotpolicy().

Referenced by setRobotpolicy().

OutputPage::setSquidMaxage maxage  ) 
 

Definition at line 246 of file OutputPage.php.

References setSquidMaxage().

Referenced by setSquidMaxage().

OutputPage::setSubtitle str  ) 
 

Definition at line 153 of file OutputPage.php.

References setSubtitle().

Referenced by setSubtitle().

OutputPage::setSyndicated show = true  ) 
 

Definition at line 158 of file OutputPage.php.

References setSyndicated().

Referenced by setSyndicated().

OutputPage::suppressQuickbar  ) 
 

Definition at line 202 of file OutputPage.php.

OutputPage::sysopRequired  ) 
 

Definition at line 469 of file OutputPage.php.

References $wgUser, returnToMain(), and wfMsg().

OutputPage::tryParserCache article,
user
 

Definition at line 232 of file OutputPage.php.

References $wgParserCache, tryParserCache(), and user.

Referenced by tryParserCache().

OutputPage::unexpectedValueError name,
val
 

Definition at line 596 of file OutputPage.php.

References name, unexpectedValueError(), and wfMsg().

Referenced by unexpectedValueError().


Member Data Documentation

OutputPage::$mBodytext
 

Definition at line 8 of file OutputPage.php.

OutputPage::$mCategoryLinks
 

Definition at line 11 of file OutputPage.php.

OutputPage::$mContainsNewMagic
 

Definition at line 17 of file OutputPage.php.

OutputPage::$mContainsOldMagic
 

Definition at line 17 of file OutputPage.php.

OutputPage::$mCookies
 

Definition at line 7 of file OutputPage.php.

OutputPage::$mDebugtext
 

Definition at line 8 of file OutputPage.php.

OutputPage::$mDoNothing
 

Definition at line 16 of file OutputPage.php.

OutputPage::$mEnableClientCache = true
 

Definition at line 21 of file OutputPage.php.

OutputPage::$mHeaders
 

Definition at line 7 of file OutputPage.php.

OutputPage::$mHTMLtitle
 

Definition at line 9 of file OutputPage.php.

OutputPage::$mIsarticle
 

Definition at line 9 of file OutputPage.php.

OutputPage::$mIsArticleRelated
 

Definition at line 18 of file OutputPage.php.

OutputPage::$mKeywords
 

Definition at line 7 of file OutputPage.php.

OutputPage::$mLastModified
 

Definition at line 11 of file OutputPage.php.

OutputPage::$mLinktags
 

Definition at line 8 of file OutputPage.php.

OutputPage::$mMetatags
 

Definition at line 7 of file OutputPage.php.

OutputPage::$mOnloadHandler
 

Definition at line 15 of file OutputPage.php.

OutputPage::$mPagetitle
 

Definition at line 8 of file OutputPage.php.

OutputPage::$mParserOptions
 

Definition at line 19 of file OutputPage.php.

OutputPage::$mPrintable
 

Definition at line 9 of file OutputPage.php.

OutputPage::$mRedirect
 

Definition at line 10 of file OutputPage.php.

OutputPage::$mRobotpolicy
 

Definition at line 9 of file OutputPage.php.

OutputPage::$mScripts
 

Definition at line 12 of file OutputPage.php.

OutputPage::$mShowFeedLinks = false
 

Definition at line 20 of file OutputPage.php.

OutputPage::$mSubtitle
 

Definition at line 10 of file OutputPage.php.

OutputPage::$mSuppressQuickbar
 

Definition at line 14 of file OutputPage.php.


The documentation for this class was generated from the following file:
Generated on Tue Jun 29 23:40:51 2004 for Mediawiki by doxygen 1.3.7