tslib_fe Class Reference

List of all members.

Public Member Functions

 tslib_fe ($TYPO3_CONF_VARS, $id, $type, $no_cache='', $cHash='', $jumpurl='', $MP='', $RDCT='')
 connectToMySQL ()
 connectToDB ()
 sendRedirect ()
 initFEuser ()
 initUserGroups ()
 isUserOrGroupSet ()
 checkAlternativeIdMethods ()
 clear_preview ()
 determineId ()
 fetch_the_id ()
 getPageAndRootline ()
 getPageShortcut ($SC, $mode, $thisUid, $itera=20, $pageLog=array())
 checkRootlineForIncludeSection ()
 checkEnableFields ($row, $bypassGroupCheck=FALSE)
 checkPageGroupAccess ($row, $groupList=NULL)
 checkPagerecordForIncludeSection ($row)
 checkIfLoginAllowedInBranch ()
 getPageAccessFailureReasons ()
 setIDfromArgV ()
 getPageAndRootlineWithDomain ($domainStartPage)
 setSysPageWhereClause ()
 findDomainRecord ($recursive=0)
 pageUnavailableAndExit ($reason='', $header='')
 pageNotFoundAndExit ($reason='', $header='')
 checkPageUnavailableHandler ()
 pageUnavailableHandler ($code, $header, $reason)
 pageNotFoundHandler ($code, $header='', $reason='')
 pageErrorHandler ($code, $header='', $reason='')
 checkAndSetAlias ()
 idPartsAnalyze ($str)
 mergingWithGetVars ($GET_VARS)
 ADMCMD_preview ()
 ADMCMD_preview_postInit ($previewConfig)
 makeCacheHash ()
 reqCHash ()
 cHashParams ($addQueryParams)
 initTemplate ()
 getFromCache ()
 getFromCache_queryRow ()
 headerNoCache ()
 getHash ()
 getLockHash ()
 getConfigArray ()
 getCompressedTCarray ()
 includeTCA ($TCAloaded=1)
 settingLanguage ()
 settingLocale ()
 checkDataSubmission ()
 fe_tce ()
 locDataCheck ($locationData)
 sendFormmail ()
 extractRecipientCopy ($bodytext)
 setExternalJumpUrl ()
 checkJumpUrlReferer ()
 jumpUrl ()
 setUrlIdToken ()
 isGeneratePage ()
 tempPageCacheContent ()
 realPageCacheContent ()
 setPageCacheContent ($content, $data, $expirationTstamp)
 clearPageCacheContent ()
 clearPageCacheContent_pidList ($pidList)
 setSysLastChanged ()
 acquirePageGenerationLock (&$lockObj, $key)
 releasePageGenerationLock (&$lockObj)
 addCacheTags (array $tags)
 generatePage_preProcessing ()
 generatePage_whichScript ()
 generatePage_postProcessing ()
 INTincScript ()
 INTincScript_loadJSCode ()
 isINTincScript ()
 doXHTML_cleaning ()
 doLocalAnchorFix ()
 isOutputting ()
 processOutput ()
 sendCacheHeaders ()
 isStaticCacheble ()
 contentStrReplace ()
 isEXTincScript ()
 storeSessionData ()
 setParseTime ()
 statistics ()
 previewInfo ()
 hook_eofe ()
 beLoginLinkIPList ()
 addTempContentHttpHeaders ()
 makeSimulFileName ($inTitle, $page, $type, $addParams= '', $no_cache=false)
 simulateStaticDocuments_pEnc_onlyP_proc ($linkVars)
 getSimulFileName ()
 setSimulReplacementChar ()
 fileNameASCIIPrefix ($inTitle, $titleChars, $mergeChar='.')
 encryptCharcode ($n, $start, $end, $offset)
 encryptEmail ($string, $back=0)
 codeString ($string, $decode=FALSE)
 roundTripCryptString ($string)
 checkFileInclude ($incFile)
 newCObj ()
 setAbsRefPrefix ()
 baseUrlWrap ($url)
 printError ($label, $header='Error!')
 updateMD5paramsRecord ($hash)
 tidyHTML ($content)
 prefixLocalAnchorsWithScript ()
 workspacePreviewInit ()
 doWorkspacePreview ()
 whichWorkspace ($returnTitle=FALSE)
 includeLibraries (array $libraries)
 getStorageSiterootPids ()
 getPagesTSconfig ()
 setJS ($key, $content='')
 setCSS ($key, $content)
 make_seed ()
 uniqueHash ($str='')
 set_no_cache ()
 set_cache_timeout_default ($seconds)
 get_cache_timeout ()
 plainMailEncoded ($email, $subject, $message, $headers='')
 sL ($input)
 readLLfile ($fileRef)
 getLLL ($index, &$LOCAL_LANG)
 initLLvars ()
 csConv ($str, $from='')
 convOutputCharset ($content, $label='')
 convPOSTCharset ()

Public Attributes

 $id = ''
 $type = ''
 $idParts = array()
 $cHash = ''
 $no_cache = ''
 $rootLine = ''
 $page = ''
 $contentPid = 0
 $sys_page = ''
 $jumpurl = ''
 $pageNotFound = 0
 $domainStartPage = 0
 $pageAccessFailureHistory = array()
 $MP = ''
 $RDCT = ''
 $page_cache_reg1 = 0
 $siteScript = ''
 $fe_user = ''
 $loginUser = ''
 $gr_list = ''
 $beUserLogin = ''
 $workspacePreview = ''
 $loginAllowedInBranch = TRUE
 $ADMCMD_preview_BEUSER_uid = 0
 $fePreview = ''
 $showHiddenPage = ''
 $showHiddenRecords = ''
 $simUserGroup = '0'
 $TYPO3_CONF_VARS = array()
 $config = ''
 $TCAcachedExtras = array()
 $tmpl = ''
 $cacheTimeOutDefault = ''
 $cacheContentFlag = 0
 $cacheExpires = 0
 $isClientCachable = FALSE
 $all = ''
 $sPre = ''
 $pSetup = ''
 $newHash = ''
 $getMethodUrlIdToken = ''
 $no_CacheBeforePageGen = ''
 $tempContent = FALSE
 $forceTemplateParsing = ''
 $cHash_array = array()
 $hash_base = ''
 $pagesTSconfig = ''
 $additionalHeaderData = array()
 $additionalJavaScript = array()
 $additionalCSS = array()
 $JSeventFuncCalls
 $JSCode = ''
 $JSImgCode = ''
 $divSection = ''
 $defaultBodyTag = '<body>'
 $debug = ''
 $intTarget = ''
 $extTarget = ''
 $fileTarget = ''
 $MP_defaults = array()
 $spamProtectEmailAddresses = 0
 $absRefPrefix = ''
 $absRefPrefix_force = 0
 $compensateFieldWidth = ''
 $lockFilePath = ''
 $ATagParams = ''
 $sWordRegEx = ''
 $sWordList = ''
 $linkVars = ''
 $excludeCHashVars = ''
 $displayEditIcons = ''
 $displayFieldEditIcons = ''
 $sys_language_uid = 0
 $sys_language_mode = ''
 $sys_language_content = 0
 $sys_language_contentOL = 0
 $sys_language_isocode = ''
 $applicationData = Array()
 $register = Array()
 $registerStack = Array()
 $cObjectDepthCounter = 50
 $recordRegister = Array()
 $currentRecord = ''
 $accessKey = array()
 $imagesOnPage = array()
 $lastImageInfo = array()
 $uniqueCounter = 0
 $uniqueString = ''
 $indexedDocTitle = ''
 $altPageTitle = ''
 $pEncAllowedParamNames = array()
 $baseUrl = ''
 $anchorPrefix = ''
 $cObj = ''
 $content = ''
 $clientInfo = ''
 $scriptParseTime = 0
 $TCAloaded = 0
 $csConvObj
 $defaultCharSet = 'iso-8859-1'
 $renderCharset = ''
 $metaCharset = ''
 $localeCharset = ''
 $lang = ''
 $langSplitIndex = 0
 $LL_labels_cache = array()
 $LL_files_cache = array()
 $pagesection_lockObj
 $pages_lockObj

Protected Member Functions

 includeCaches ()
 initCaches ()
 INTincScript_includeLibs ($INTiS_config)
 INTincScript_process ($INTiS_config)
 statistics_init ()
 statistics_init_pagename ()

Protected Attributes

 $pageCache
 $pageCacheTags = array()

Detailed Description

Definition at line 215 of file class.tslib_fe.php.


Member Function Documentation

tslib_fe::acquirePageGenerationLock ( &$  lockObj,
key 
)

Lock the page generation process The lock is used to queue page requests until this page is successfully stored in the cache.

Parameters:
t3lib_lock Reference to a locking object
string String to identify the lock in the system
Returns:
boolean Returns true if the lock could be obtained, false otherwise (= process had to wait for existing lock to be released)
See also:
releasePageGenerationLock()

Definition at line 2810 of file class.tslib_fe.php.

References $key, headerNoCache(), t3lib_div::makeInstanceClassName(), t3lib_div::sysLog(), t3lib_div::SYSLOG_SEVERITY_ERROR, and t3lib_div::SYSLOG_SEVERITY_INFO.

Referenced by getFromCache().

tslib_fe::addCacheTags ( array $  tags  ) 

adds tags to this page's cache entry, you can then f.e. remove cache entries by tag

Parameters:
array an array of tag
Returns:
void

Definition at line 2867 of file class.tslib_fe.php.

tslib_fe::addTempContentHttpHeaders (  ) 

Sends HTTP headers for temporary content. These headers prevent search engines from caching temporary content and asks them to revisit this page again.

Returns:
void

Definition at line 3751 of file class.tslib_fe.php.

Referenced by processOutput().

tslib_fe::ADMCMD_preview (  ) 

Looking for a ADMCMD_prev code, looks it up if found and returns configuration data. Background: From the backend a request to the frontend to show a page, possibly with workspace preview can be "recorded" and associated with a keyword. When the frontend is requested with this keyword the associated request parameters are restored from the database AND the backend user is loaded - only for that request. The main point is that a special URL valid for a limited time, eg. http://localhost/typo3site/index.php?ADMCMD_prev=035d9bf938bd23cb657735f68a8cedbf will open up for a preview that doesn't require login. Thus it's useful for sending in an email to someone without backend account. This can also be used to generate previews of hidden pages, start/endtimes, usergroups and those other settings from the Admin Panel - just not implemented yet.

Returns:
array Preview configuration array from sys_preview record.
See also:
t3lib_BEfunc::compilePreviewKeyword()

Definition at line 1678 of file class.tslib_fe.php.

References $GLOBALS, $TYPO3_CONF_VARS, t3lib_div::_GET(), t3lib_div::_GETset(), t3lib_div::_GP(), t3lib_div::_POST(), and t3lib_div::getIndpEnv().

tslib_fe::ADMCMD_preview_postInit ( previewConfig  ) 

Configuration after initialization of TSFE object. Basically this unsets the BE cookie if any and forces the BE user set according to the preview configuration.

Parameters:
array Preview configuration, see ADMCMD_preview()
Returns:
void
See also:
ADMCMD_preview(), index_ts.php

Definition at line 1753 of file class.tslib_fe.php.

tslib_fe::baseUrlWrap ( url  ) 

Prefixing the input URL with ->baseUrl If ->baseUrl is set and the input url is not absolute in some way. Designed as a wrapper functions for use with all frontend links that are processed by JavaScript (for "realurl" compatibility!). So each time a URL goes into window.open, window.location.href or otherwise, wrap it with this function!

Parameters:
string Input URL, relative or absolute
Returns:
string Processed input value.

Definition at line 4048 of file class.tslib_fe.php.

tslib_fe::beLoginLinkIPList (  ) 

Returns a link to the BE login screen with redirect to the front-end

Returns:
string HTML, a tag for a link to the backend.

Definition at line 3730 of file class.tslib_fe.php.

References t3lib_div::cmpIP(), and t3lib_div::getIndpEnv().

tslib_fe::cHashParams ( addQueryParams  ) 

Splits the input query-parameters into an array with certain parameters filtered out. Used to create the cHash value

Parameters:
string Query-parameters: "&xxx=yyy&zzz=uuu"
Returns:
array Array with key/value pairs of query-parameters WITHOUT a certain list of variable names (like id, type, no_cache etc) and WITH a variable, encryptionKey, specific for this server/installation private
See also:
makeCacheHash(), tslib_cObj::typoLink()

Definition at line 1831 of file class.tslib_fe.php.

References t3lib_div::cHashParams().

tslib_fe::checkAlternativeIdMethods (  ) 

Provides ways to bypass the '?id=[xxx]&type=[xx]' format, using either PATH_INFO or virtual HTML-documents (using Apache mod_rewrite)

Two options: 1) Use PATH_INFO (also Apache) to extract id and type from that var. Does not require any special modules compiled with apache. (less typical) 2) Using hook which enables features like those provided from "simulatestatic" or "realurl" extension (AKA "Speaking URLs")

Returns:
void &tx_extrepmgm_pi1[extUid]=270&cHash=4ad9d7acb4

Definition at line 746 of file class.tslib_fe.php.

References t3lib_div::callUserFunction(), t3lib_div::getIndpEnv(), and t3lib_div::trimExplode().

tslib_fe::checkAndSetAlias (  ) 

Fetches the integer page id for a page alias. Looks if ->id is not an integer and if so it will search for a page alias and if found the page uid of that page is stored in $this->id

Returns:
void private

Definition at line 1603 of file class.tslib_fe.php.

References t3lib_div::testInt().

Referenced by fetch_the_id().

tslib_fe::checkDataSubmission (  ) 

Checks if any email-submissions or submission via the fe_tce

Returns:
string "email" if a formmail has been sent, "fe_tce" if front-end data submission (like forums, guestbooks) is sent. "" if none.

Definition at line 2371 of file class.tslib_fe.php.

References $GLOBALS, fe_tce(), t3lib_div::getIndpEnv(), t3lib_div::getUserObj(), and locDataCheck().

tslib_fe::checkEnableFields ( row,
bypassGroupCheck = FALSE 
)

Checks page record for enableFields Returns true if enableFields does not disable the page record. Takes notice of the ->showHiddenPage flag and uses SIM_ACCESS_TIME for start/endtime evaluation

Parameters:
array The page record to evaluate (needs fields: hidden, starttime, endtime, fe_group)
boolean Bypass group-check
Returns:
boolean True, if record is viewable.
See also:
tslib_cObj::getTreeList(), checkPagerecordForIncludeSection()

Definition at line 1232 of file class.tslib_fe.php.

References $GLOBALS, $row, and checkPageGroupAccess().

Referenced by checkPagerecordForIncludeSection().

tslib_fe::checkFileInclude ( incFile  ) 

Checks if a PHPfile may be included.

Parameters:
string Relative path to php file
Returns:
boolean Returns true if $GLOBALS['TYPO3_CONF_VARS']['FE']['noPHPscriptInclude'] is not set OR if the file requested for inclusion is found in one of the allowed paths.
See also:
tslib_cObj::PHP_SCRIPT(), tslib_feTCE::includeScripts(), tslib_menu::includeMakeMenu()

Definition at line 4001 of file class.tslib_fe.php.

tslib_fe::checkIfLoginAllowedInBranch (  ) 

Checks if logins are allowed in the current branch of the page tree. Traverses the full root line and returns TRUE if logins are OK, otherwise false (and then the login user must be unset!)

Returns:
boolean returns TRUE if logins are OK, otherwise false (and then the login user must be unset!)

Definition at line 1276 of file class.tslib_fe.php.

Referenced by determineId().

tslib_fe::checkJumpUrlReferer (  ) 

Check the jumpUrl referer if required

Returns:
void

Definition at line 2513 of file class.tslib_fe.php.

References t3lib_div::getIndpEnv().

tslib_fe::checkPageGroupAccess ( row,
groupList = NULL 
)

Check group access against a page record

Parameters:
array The page record to evaluate (needs field: fe_group)
mixed List of group id's (comma list or array). Default is $this->gr_list
Returns:
boolean True, if group access is granted. private

Definition at line 1248 of file class.tslib_fe.php.

References $row.

Referenced by checkEnableFields(), and getPageAccessFailureReasons().

tslib_fe::checkPagerecordForIncludeSection ( row  ) 

Checks page record for include section

Parameters:
array The page record to evaluate (needs fields: extendToSubpages + hidden, starttime, endtime, fe_group)
Returns:
boolean Returns true if either extendToSubpages is not checked or if the enableFields does not disable the page record. private
See also:
checkEnableFields(), tslib_cObj::getTreeList(), checkRootlineForIncludeSection()

Definition at line 1267 of file class.tslib_fe.php.

References $row, and checkEnableFields().

Referenced by checkRootlineForIncludeSection().

tslib_fe::checkPageUnavailableHandler (  ) 

Checks whether the pageUnavailableHandler should be used. To be used, pageUnavailable_handling must be set and devIPMask must not match the current visitor's IP address.

Returns:
boolean True/false whether the pageUnavailable_handler should be used.

Definition at line 1433 of file class.tslib_fe.php.

References t3lib_div::cmpIP(), and t3lib_div::getIndpEnv().

Referenced by connectToDB(), fetch_the_id(), getConfigArray(), and getPageAndRootline().

tslib_fe::checkRootlineForIncludeSection (  ) 

Checks the current rootline for defined sections.

Returns:
boolean private

Definition at line 1195 of file class.tslib_fe.php.

References $GLOBALS, $res, and checkPagerecordForIncludeSection().

Referenced by getPageAndRootline().

tslib_fe::clear_preview (  ) 

Clears the preview-flags, sets sim_exec_time to current time. Hidden pages must be hidden as default, $GLOBALS['SIM_EXEC_TIME'] is set to $GLOBALS['EXEC_TIME'] in t3lib/config_default.inc. Alter it by adding or subtracting seconds.

Returns:
void

Definition at line 779 of file class.tslib_fe.php.

References $GLOBALS.

Referenced by determineId().

tslib_fe::clearPageCacheContent (  ) 

Clears cache content (for $this->newHash)

Returns:
void

Definition at line 2770 of file class.tslib_fe.php.

Referenced by generatePage_postProcessing(), reqCHash(), and setPageCacheContent().

tslib_fe::clearPageCacheContent_pidList ( pidList  ) 

Clears cache content for a list of page ids

Parameters:
string A list of INTEGER numbers which points to page uids for which to clear entries in the cache_pages cache (page content cache)
Returns:
void

Definition at line 2780 of file class.tslib_fe.php.

References t3lib_div::trimExplode().

tslib_fe::codeString ( string,
decode = FALSE 
)

En/decodes strings with lightweight encryption and a hash containing the server encryptionKey (salt) Can be used for authentication of information sent from server generated pages back to the server to establish that the server generated the page. (Like hidden fields with recipient mail addresses) Encryption is mainly to avoid spam-bots to pick up information.

Parameters:
string Input string to en/decode
boolean If set, string is decoded, not encoded.
Returns:
string encoded/decoded version of $string

Definition at line 3955 of file class.tslib_fe.php.

References $newHash, and roundTripCryptString().

Referenced by sendFormmail().

tslib_fe::connectToDB (  ) 

Connect to SQL database May exit after outputting an error message or some JavaScript redirecting to the install tool.

Returns:
void

Definition at line 490 of file class.tslib_fe.php.

References $GLOBALS, t3lib_div::callUserFunction(), checkPageUnavailableHandler(), exit, pageUnavailableAndExit(), printError(), t3lib_div::sysLog(), and t3lib_div::SYSLOG_SEVERITY_ERROR.

Referenced by connectToMySQL().

tslib_fe::connectToMySQL (  ) 

Connect to MySQL database May exit after outputting an error message or some JavaScript redirecting to the install tool. Use connectToDB() instead!

Returns:
void
Deprecated:
since TYPO3 3.8

Definition at line 480 of file class.tslib_fe.php.

References connectToDB().

tslib_fe::contentStrReplace (  ) 

Substitute various tokens in content. This should happen only if the content is not cached by proxies or client browsers.

Returns:
void

Definition at line 3394 of file class.tslib_fe.php.

References t3lib_div::callUserFunction().

Referenced by processOutput().

tslib_fe::convOutputCharset ( content,
label = '' 
)

Converts input string from renderCharset to metaCharset IF the two charsets are different.

Parameters:
string Content to be converted.
string Label (just for fun, no function)
Returns:
string Converted content string.

Definition at line 4598 of file class.tslib_fe.php.

References $content.

Referenced by generatePage_postProcessing(), INTincScript(), and INTincScript_process().

tslib_fe::convPOSTCharset (  ) 

Converts the $_POST array from metaCharset (page HTML charset from input form) to renderCharset (internal processing) IF the two charsets are different.

Returns:
void

Definition at line 4611 of file class.tslib_fe.php.

References $GLOBALS.

tslib_fe::csConv ( str,
from = '' 
)

Converts the charset of the input string if applicable. The "to" charset is determined by the currently used charset for the page which is "iso-8859-1" by default or set by $GLOBALS['TSFE']->config['config']['renderCharset'] Only if there is a difference between the two charsets will a conversion be made The conversion is done real-time - no caching for performance at this point!

Parameters:
string String to convert charset for
string Optional "from" charset.
Returns:
string Output string, converted if needed.
See also:
t3lib_cs

Definition at line 4582 of file class.tslib_fe.php.

tslib_fe::determineId (  ) 

Determines the id and evaluates any preview settings Basically this function is about determining whether a backend user is logged in, if he has read access to the page and if he's previewing the page. That all determines which id to show and how to initialize the id.

Returns:
void

Definition at line 793 of file class.tslib_fe.php.

References $GLOBALS, $res, $simUserGroup, t3lib_div::_GP(), t3lib_div::callUserFunction(), checkIfLoginAllowedInBranch(), clear_preview(), doWorkspacePreview(), fetch_the_id(), isUserOrGroupSet(), t3lib_div::makeInstance(), set_no_cache(), setIDfromArgV(), t3lib_div::testInt(), and whichWorkspace().

tslib_fe::doLocalAnchorFix (  ) 

Returns the mode of Local Anchor prefixing

Returns:
string Keyword: "all", "cached" or "output"

Definition at line 3186 of file class.tslib_fe.php.

Referenced by generatePage_postProcessing(), and processOutput().

tslib_fe::doWorkspacePreview (  ) 

Returns true if workspace preview is enabled

Returns:
boolean Returns true if workspace preview is enabled

Definition at line 4147 of file class.tslib_fe.php.

Referenced by determineId(), previewInfo(), processOutput(), and sendCacheHeaders().

tslib_fe::doXHTML_cleaning (  ) 

Returns the mode of XHTML cleaning

Returns:
string Keyword: "all", "cached" or "output"

Definition at line 3177 of file class.tslib_fe.php.

Referenced by generatePage_postProcessing(), and processOutput().

tslib_fe::encryptCharcode ( n,
start,
end,
offset 
)

Encryption (or decryption) of a single character. Within the given range the character is shifted with the supplied offset.

Parameters:
int Ordinal of input character
int Start of range
int End of range
int Offset
Returns:
string encoded/decoded version of character

Definition at line 3902 of file class.tslib_fe.php.

Referenced by encryptEmail().

tslib_fe::encryptEmail ( string,
back = 0 
)

Encryption of email addresses for -tags See the spam protection setup in TS 'config.'

Parameters:
string Input string to en/decode: "mailto:blabla@bla.com"
boolean If set, the process is reversed, effectively decoding, not encoding.
Returns:
string encoded/decoded version of $string

Definition at line 3919 of file class.tslib_fe.php.

References encryptCharcode().

tslib_fe::extractRecipientCopy ( bodytext  ) 

Extracts the value of recipient copy field from a formmail CE bodytext

Parameters:
string $bodytext The content of the related bodytext field
Returns:
string The value of the recipient_copy field, or an empty string

Definition at line 2488 of file class.tslib_fe.php.

Referenced by sendFormmail().

tslib_fe::fe_tce (  ) 

Processes submitted user data (obsolete "Frontend TCE")

Returns:
void
See also:
tslib_feTCE &tx_extrepmgm_pi1[extUid]=270&tx_extrepmgm_pi1[tocEl]=342&cHash=fdf55adb3b

Definition at line 2407 of file class.tslib_fe.php.

References t3lib_div::_POST(), and t3lib_div::makeInstance().

Referenced by checkDataSubmission().

tslib_fe::fetch_the_id (  ) 

Get The Page ID This gets the id of the page, checks if the page is in the domain and if the page is accessible Sets variables such as $this->sys_page, $this->loginUser, $this->gr_list, $this->id, $this->type, $this->domainStartPage, $this->idParts

Returns:
void private

Definition at line 929 of file class.tslib_fe.php.

References $GLOBALS, t3lib_div::_GP(), checkAndSetAlias(), checkPageUnavailableHandler(), exit, findDomainRecord(), getPageAndRootlineWithDomain(), idPartsAnalyze(), initUserGroups(), t3lib_div::makeInstance(), pageNotFoundAndExit(), pageUnavailableAndExit(), printError(), set_no_cache(), setSysPageWhereClause(), t3lib_div::sysLog(), t3lib_div::SYSLOG_SEVERITY_ERROR, and whichWorkspace().

Referenced by determineId().

tslib_fe::fileNameASCIIPrefix ( inTitle,
titleChars,
mergeChar = '.' 
)

Converts input string to an ASCII based file name prefix

Parameters:
string String to base output on
integer Number of characters in the string
string Character to put in the end of string to merge it with the next value.
Returns:
string String
Deprecated:
since TYPO3, 4.3, will be removed in TYPO3 4.5, please use the "simulatestatic" sysext directly

Definition at line 3876 of file class.tslib_fe.php.

tslib_fe::findDomainRecord ( recursive = 0  ) 

Looking up a domain record based on HTTP_HOST

Parameters:
boolean If set, it looks "recursively" meaning that a domain like "123.456.typo3.com" would find a domain record like "typo3.com" if "123.456.typo3.com" or "456.typo3.com" did not exist.
Returns:
integer Returns the page id of the page where the domain record was found. private

Definition at line 1388 of file class.tslib_fe.php.

References t3lib_div::getIndpEnv().

Referenced by fetch_the_id().

tslib_fe::generatePage_postProcessing (  ) 

Does some processing AFTER the pagegen script is included. This includes calling tidy (if configured), XHTML cleaning (if configured), caching the page, indexing the page (if configured) and setting sysLastChanged

Returns:
void

Definition at line 2935 of file class.tslib_fe.php.

References $GLOBALS, t3lib_div::callUserFunction(), clearPageCacheContent(), convOutputCharset(), doLocalAnchorFix(), doXHTML_cleaning(), t3lib_div::getUserObj(), t3lib_div::makeInstance(), prefixLocalAnchorsWithScript(), realPageCacheContent(), releasePageGenerationLock(), set_no_cache(), setSysLastChanged(), and tidyHTML().

</
tslib_fe::generatePage_preProcessing (  )