MediaWiki
REL1_19
|
Go to the source code of this file.
Variables | |
$lines = explode( "\n", file_get_contents( "includes/mime.types" ) ) | |
if($ext== 'php'||$ext== 'php5') | $mime = false |
foreach($lines as $line) if(!$mime) if($mime) return | false |
Some member variables can be lazy-initialised using __get(). |
$lines = explode( "\n", file_get_contents( "includes/mime.types" ) ) |
Definition at line 47 of file router.php.
Referenced by _DiffOp_Delete\__construct(), _DiffOp_Add\__construct(), MimeMagic\__construct(), DiffFormatter\_added(), UnifiedDiffFormatter\_added(), TableDiffFormatter\_added(), DiffFormatter\_context(), TableDiffFormatter\_context(), DiffFormatter\_deleted(), UnifiedDiffFormatter\_deleted(), TableDiffFormatter\_deleted(), DiffFormatter\_lines(), _DiffEngine\_shift_boundaries(), WordLevelDiff\_split(), Skin\addToSidebarPlain(), Diff\closing(), WordLevelDiff\closing(), Parser\doAllQuotes(), Parser\doTableStuff(), Installer\envCheckShellLocale(), MergeMessageFileList\execute(), Skin\formatDebugHTML(), HTMLFormField\formatErrors(), UploadBase\getFilenamePrefixBlacklist(), RandomImageGenerator\getRandomLines(), RandomImageGenerator\getRandomWordPairs(), SpecialVersion\getSvnInfo(), ConfEditorParseError\highlight(), SearchHighlighter\highlightSimple(), Block\isWhitelistedFromAutoblocks(), Licenses\makeLicenses(), Diff\orig(), WordLevelDiff\orig(), SquidPurgeClient\processReadBuffer(), Parser\renderImageGallery(), SpecialAllpages\showToplevel(), MediaHandler\visibleMetadataFields(), and wfIsBadImage().
Definition at line 46 of file router.php.
Referenced by MimeMagic\__construct(), File\_getIsSafeFile(), UploadBase\detectScript(), MimeMagic\detectZipType(), MimeMagic\doGuessMimeType(), MIMEsearchPage\execute(), MimeMagic\findMediaType(), RefreshImageMetadata\getConditions(), MimeMagic\getExtensionsForType(), ApiQueryImageInfo\getInfo(), MimeMagic\getMediaType(), MediaHandler\getThumbType(), DjVuHandler\getThumbType(), UploadBase\getTitle(), MimeMagic\guessMimeType(), MimeMagic\improveTypeFromExtension(), ApiFormatBase\initPrinter(), MimeMagic\isMatchingExtension(), MimeMagic\isPHPImageType(), File\splitMime(), UploadBase\verifyExtension(), UploadBase\verifyFile(), UploadBase\verifyMimeType(), and UploadBase\verifyPartialFile().
Some member variables can be lazy-initialised using __get().
The initialisation function for these variables is always a function named like getVar(), where Var is the variable name with upper-case first letter.
The following variables are initialised in this way in this base class: name, extension, handler, path, canRender, isSafeFile, transformScript, hashPath, pageCount, url
Code within this class should generally use the accessor function directly, since __get() isn't re-entrant and therefore causes bugs that depend on initialisation order. The following member variables are not lazy-initialised
Definition at line 63 of file router.php.
Referenced by ContribsPager\__construct(), PPFrame_Hash\__construct(), PPFrame_DOM\__construct(), SkinTemplate\buildContentNavigationUrls(), Title\checkUserBlock(), SpecialContributions\execute(), SpecialExport\execute(), SpecialLog\execute(), LogFormatter\extractParameters(), ExternalStoreDB\fetchBlob(), Linker\formatLinksInCommentCallback(), SpecialProtectedpages\formatRow(), CreditsAction\getAuthor(), User\getBlockId(), WebInstaller\getInfoBox(), NewUsersLogFormatter\getMessageParameters(), BackupReader\getNsIndex(), MediaHandler\getThumbType(), SpecialSearch\goResult(), HistoryPager\historyLine(), Message\inContentLanguage(), FileCacheBase\incrMissesRecent(), userOptions\initializeOpts(), Message\inLanguage(), User\isBlockedFrom(), Linker\makeBrokenImageLinkObj(), ApiBase\makeHelpMsgParameters(), moveToExternal(), UnregisteredLocalFile\newFromTitle(), WikiPage\onArticleDelete(), SpecialUploadStash\outputLocallyScaledThumb(), Parser\parse(), PatrolLog\record(), LocalFile\recordUpload2(), UploadFromUrlJob\run(), SearchMssql\searchTitle(), SpecialAllpages\showToplevel(), PageArchive\undeleteRevisions(), and DatabaseMysql\wasReadOnlyError().