Documentation TYPO3 par Ameos |
Definition at line 201 of file class.tslib_fe.php.
|
Class constructor Takes a number of GET/POST input variable as arguments and stores them internally. The processing of these variables goes on later in this class. Also sets internal clientInfo array (browser information) and a unique string (->uniqueString) for this script instance; A md5 hash of the microtime()
Definition at line 369 of file class.tslib_fe.php. References $cHash, $id, $jumpurl, $MP, $no_cache, $RDCT, $type, $TYPO3_CONF_VARS, t3lib_div::callUserFunction(), t3lib_div::clientInfo(), and t3lib_div::makeInstance(). |
|
Class constructor Takes a number of GET/POST input variable as arguments and stores them internally. The processing of these variables goes on later in this class. Also sets internal clientInfo array (browser information) and a unique string (->uniqueString) for this script instance; A md5 hash of the microtime()
Definition at line 369 of file class.tslib_fe.php. References $cHash, $id, $jumpurl, $MP, $no_cache, $RDCT, $type, $TYPO3_CONF_VARS, t3lib_div::callUserFunction(), t3lib_div::clientInfo(), and t3lib_div::makeInstance(). |
|
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, document.location or otherwise, wrap it with this function!
Definition at line 3241 of file class.tslib_fe.php. |
|
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, document.location or otherwise, wrap it with this function!
Definition at line 3241 of file class.tslib_fe.php. |
|
Returns a link to the login screen with redirect to the front-end
Definition at line 2964 of file class.tslib_fe.php. References t3lib_div::cmpIP(), and t3lib_div::getIndpEnv(). |
|
Returns a link to the login screen with redirect to the front-end
Definition at line 2964 of file class.tslib_fe.php. References t3lib_div::cmpIP(), and t3lib_div::getIndpEnv(). |
|
Splits the input query-parameters into an array with certain parameters filtered out. Used to create the cHash value
Definition at line 1422 of file class.tslib_fe.php. References t3lib_div::cHashParams(). |
|
Splits the input query-parameters into an array with certain parameters filtered out. Used to create the cHash value
Definition at line 1422 of file class.tslib_fe.php. References t3lib_div::cHashParams(). |
|
Provides ways to bypass the '?id=[xxx]&type=[xx]' format, using either PATH_INFO or virtual HTML-documents (using Apache mod_rewrite) Three options: 1) Apache mod_rewrite: Here a .htaccess file maps all .html-files to index.php and then we extract the id and type from the name of that HTML-file. (AKA "simulateStaticDocuments") 2) Use PATH_INFO (also Apache) to extract id and type from that var. Does not require any special modules compiled with apache. (less typical) 3) Using hook which enables features like those provided from "realurl" extension (AKA "Speaking URLs") Support for RewriteRule to generate (simulateStaticDocuments) With the mod_rewrite compiled into apache, put these lines into a .htaccess in this directory: RewriteEngine On RewriteRule ^[^/]*\.html$ index.php The url must end with '.html' and the format must comply with either of these: 1: '[title].[id].[type].html' - title is just for easy recognition in the logfile!; no practical use of the title for TYPO3. 2: '[id].[type].html' - above, but title is omitted; no practical use of the title for TYPO3. 3: '[id].html' - only id, type is set to the default, zero! NOTE: In all case 'id' may be the uid-number OR the page alias (if any)
Definition at line 605 of file class.tslib_fe.php. References t3lib_div::callUserFunction(), checkAlternativeIdMethods(), t3lib_div::getIndpEnv(), t3lib_div::split_fileref(), and t3lib_div::trimExplode(). |
|
Provides ways to bypass the '?id=[xxx]&type=[xx]' format, using either PATH_INFO or virtual HTML-documents (using Apache mod_rewrite) Three options: 1) Apache mod_rewrite: Here a .htaccess file maps all .html-files to index.php and then we extract the id and type from the name of that HTML-file. (AKA "simulateStaticDocuments") 2) Use PATH_INFO (also Apache) to extract id and type from that var. Does not require any special modules compiled with apache. (less typical) 3) Using hook which enables features like those provided from "realurl" extension (AKA "Speaking URLs") Support for RewriteRule to generate (simulateStaticDocuments) With the mod_rewrite compiled into apache, put these lines into a .htaccess in this directory: RewriteEngine On RewriteRule ^[^/]*\.html$ index.php The url must end with '.html' and the format must comply with either of these: 1: '[title].[id].[type].html' - title is just for easy recognition in the logfile!; no practical use of the title for TYPO3. 2: '[id].[type].html' - above, but title is omitted; no practical use of the title for TYPO3. 3: '[id].html' - only id, type is set to the default, zero! NOTE: In all case 'id' may be the uid-number OR the page alias (if any)
Definition at line 605 of file class.tslib_fe.php. References t3lib_div::callUserFunction(), t3lib_div::getIndpEnv(), t3lib_div::split_fileref(), and t3lib_div::trimExplode(). Referenced by checkAlternativeIdMethods(). |
|
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
Definition at line 1287 of file class.tslib_fe.php. References t3lib_div::testInt(). |
|
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
Definition at line 1287 of file class.tslib_fe.php. References t3lib_div::testInt(). Referenced by fetch_the_id(). |
|
Checks if any email-submissions or submission via the fe_tce
Definition at line 1869 of file class.tslib_fe.php. References t3lib_div::getIndpEnv(). |
|
Checks if any email-submissions or submission via the fe_tce
Definition at line 1869 of file class.tslib_fe.php. References t3lib_div::getIndpEnv(). |
|
Checks page record for enableFields Returns true if enableFields does not disable the page record. Takes notice of the ->showHiddenPage flag and uses SIM_EXEC_TIME for start/endtime evaluation
Definition at line 1044 of file class.tslib_fe.php. |
|
Checks page record for enableFields Returns true if enableFields does not disable the page record. Takes notice of the ->showHiddenPage flag and uses SIM_EXEC_TIME for start/endtime evaluation
Definition at line 1044 of file class.tslib_fe.php. |
|
Checks if a PHPfile may be included.
Definition at line 3199 of file class.tslib_fe.php. |
|
Checks if a PHPfile may be included.
Definition at line 3199 of file class.tslib_fe.php. |
|
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!)
Definition at line 1088 of file class.tslib_fe.php. |
|
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!)
Definition at line 1088 of file class.tslib_fe.php. Referenced by determineId(). |
|
Checks if jumpurl is set. This function also takes care of jumpurl utilized by the Direct Mail module (ext: direct_mail) which may set an integer value for jumpurl which refers to a link in a certain mail-record, mid
Definition at line 1990 of file class.tslib_fe.php. References t3lib_div::_GP(), t3lib_div::getIndpEnv(), t3lib_div::stdAuthCode(), and t3lib_div::testInt(). |
|
Checks if jumpurl is set. This function also takes care of jumpurl utilized by the Direct Mail module (ext: direct_mail) which may set an integer value for jumpurl which refers to a link in a certain mail-record, mid
Definition at line 1990 of file class.tslib_fe.php. References t3lib_div::_GP(), t3lib_div::getIndpEnv(), t3lib_div::stdAuthCode(), and t3lib_div::testInt(). |
|
Check group access against a page record
Definition at line 1060 of file class.tslib_fe.php. |
|
Check group access against a page record
Definition at line 1060 of file class.tslib_fe.php. |
|
Checks page record for include section
Definition at line 1079 of file class.tslib_fe.php. |
|
Checks page record for include section
Definition at line 1079 of file class.tslib_fe.php. |
|
Checks the current rootline for defined sections.
Definition at line 1007 of file class.tslib_fe.php. |
|
Checks the current rootline for defined sections.
Definition at line 1007 of file class.tslib_fe.php. Referenced by getPageAndRootline(). |
|
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.
Definition at line 657 of file class.tslib_fe.php. |
|
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.
Definition at line 657 of file class.tslib_fe.php. Referenced by determineId(). |
|
Clears cache content (for $this->newHash)
Definition at line 2253 of file class.tslib_fe.php. |
|
Clears cache content (for $this->newHash)
Definition at line 2253 of file class.tslib_fe.php. |
|
Clears cache content for a list of page ids
Definition at line 2263 of file class.tslib_fe.php. |
|
Clears cache content for a list of page ids
Definition at line 2263 of file class.tslib_fe.php. |
|
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.
Definition at line 3153 of file class.tslib_fe.php. |
|
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.
Definition at line 3153 of file class.tslib_fe.php. |
|
Connect to SQL database May exit after outputting an error message or some JavaScript redirecting to the install tool.
Definition at line 412 of file class.tslib_fe.php. References t3lib_div::callUserFunction(), connectToDB(), and printError(). |
|
Connect to SQL database May exit after outputting an error message or some JavaScript redirecting to the install tool.
Definition at line 412 of file class.tslib_fe.php. References t3lib_div::callUserFunction(), and printError(). Referenced by connectToDB(), and connectToMySQL(). |
|
Connect to MySQL database May exit after outputting an error message or some JavaScript redirecting to the install tool. Use connectToDB() instead!
Definition at line 402 of file class.tslib_fe.php. References connectToDB(). |
|
Connect to MySQL database May exit after outputting an error message or some JavaScript redirecting to the install tool. Use connectToDB() instead!
Definition at line 402 of file class.tslib_fe.php. References connectToDB(). |
|
Substitute various tokens in content. This should happen only if the content is not cached by proxies or client browsers.
Definition at line 2762 of file class.tslib_fe.php. |
|
Substitute various tokens in content. This should happen only if the content is not cached by proxies or client browsers.
Definition at line 2762 of file class.tslib_fe.php. |
|
Converts input string from renderCharset to metaCharset IF the two charsets are different.
Definition at line 3648 of file class.tslib_fe.php. |
|
Converts input string from renderCharset to metaCharset IF the two charsets are different.
Definition at line 3648 of file class.tslib_fe.php. |
|
Converts the $_POST array from metaCharset (page HTML charset from input form) to renderCharset (internal processing) IF the two charsets are different.
Definition at line 3661 of file class.tslib_fe.php. |
|
Converts the $_POST array from metaCharset (page HTML charset from input form) to renderCharset (internal processing) IF the two charsets are different.
Definition at line 3661 of file class.tslib_fe.php. |
|
Converts the charset of the input string if applicable. The "from" charset is determined by the TYPO3 system charset for the current language key ($this->lang) 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']['metaCharset'] 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!
Definition at line 3630 of file class.tslib_fe.php. |
|
Converts the charset of the input string if applicable. The "from" charset is determined by the TYPO3 system charset for the current language key ($this->lang) 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']['metaCharset'] 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!
Definition at line 3630 of file class.tslib_fe.php. |
|
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.
Definition at line 670 of file class.tslib_fe.php. References $simUserGroup, t3lib_div::_GP(), t3lib_div::callUserFunction(), checkIfLoginAllowedInBranch(), clear_preview(), determineId(), fetch_the_id(), isUserOrGroupSet(), t3lib_div::makeInstance(), set_no_cache(), setIDfromArgV(), and t3lib_div::testInt(). |
|
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.
Definition at line 670 of file class.tslib_fe.php. References $simUserGroup, t3lib_div::_GP(), t3lib_div::callUserFunction(), checkIfLoginAllowedInBranch(), clear_preview(), fetch_the_id(), isUserOrGroupSet(), t3lib_div::makeInstance(), set_no_cache(), setIDfromArgV(), and t3lib_div::testInt(). Referenced by determineId(). |
|
Returns the mode of Local Anchor prefixing
Definition at line 2555 of file class.tslib_fe.php. |
|
Returns the mode of Local Anchor prefixing
Definition at line 2555 of file class.tslib_fe.php. |
|
Returns the mode of XHTML cleaning
Definition at line 2546 of file class.tslib_fe.php. |
|
Returns the mode of XHTML cleaning
Definition at line 2546 of file class.tslib_fe.php. |
|
Encryption of email addresses for -tags See the spam protection setup in TS 'config.'
Definition at line 3127 of file class.tslib_fe.php. |
|
Encryption of email addresses for -tags See the spam protection setup in TS 'config.'
Definition at line 3127 of file class.tslib_fe.php. |
|
Extracts the value of recipient copy field from a formmail CE bodytext
Definition at line 1975 of file class.tslib_fe.php. |
|
Extracts the value of recipient copy field from a formmail CE bodytext
Definition at line 1975 of file class.tslib_fe.php. |
|
Processes submitted user data (obsolete "Frontend TCE")
Definition at line 1894 of file class.tslib_fe.php. References t3lib_div::_POST(), and t3lib_div::makeInstance(). |
|
Processes submitted user data (obsolete "Frontend TCE")
Definition at line 1894 of file class.tslib_fe.php. References t3lib_div::_POST(), and t3lib_div::makeInstance(). |
|
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
Definition at line 791 of file class.tslib_fe.php. References checkAndSetAlias(), fetch_the_id(), findDomainRecord(), getPageAndRootlineWithDomain(), idPartsAnalyze(), initUserGroups(), t3lib_div::makeInstance(), pageNotFoundAndExit(), printError(), set_no_cache(), and setSysPageWhereClause(). |
|
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
Definition at line 791 of file class.tslib_fe.php. References checkAndSetAlias(), findDomainRecord(), getPageAndRootlineWithDomain(), idPartsAnalyze(), initUserGroups(), t3lib_div::makeInstance(), pageNotFoundAndExit(), printError(), set_no_cache(), and setSysPageWhereClause(). Referenced by determineId(), and fetch_the_id(). |
|
Converts input string to an ASCII based file name prefix
Definition at line 3109 of file class.tslib_fe.php. |
|
Converts input string to an ASCII based file name prefix
Definition at line 3109 of file class.tslib_fe.php. |
|
Looking up a domain record based on HTTP_HOST
Definition at line 1210 of file class.tslib_fe.php. References t3lib_div::getIndpEnv(). |
|
Looking up a domain record based on HTTP_HOST
Definition at line 1210 of file class.tslib_fe.php. References t3lib_div::getIndpEnv(). Referenced by fetch_the_id(). |
|
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
Definition at line 2344 of file class.tslib_fe.php. References t3lib_div::callUserFunction(), t3lib_div::getUserObj(), and t3lib_div::makeInstance(). |
|
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
Definition at line 2344 of file class.tslib_fe.php. References t3lib_div::callUserFunction(), t3lib_div::getUserObj(), and t3lib_div::makeInstance(). |
|
Does some processing BEFORE the pagegen script is included.
Definition at line 2310 of file class.tslib_fe.php. |
|
Does some processing BEFORE the pagegen script is included.
Definition at line 2310 of file class.tslib_fe.php. |
|
Determines to include custom or pagegen.php script returns script-filename if a TypoScript (config) script is defined and should be include instead of pagegen.php
Definition at line 2332 of file class.tslib_fe.php. |
|
Determines to include custom or pagegen.php script returns script-filename if a TypoScript (config) script is defined and should be include instead of pagegen.php
Definition at line 2332 of file class.tslib_fe.php. |
|
Get the compressed $TCA array for use in the front-end A compressed $TCA array holds only the ctrl- and feInterface-part for each table. But the column-definitions are omitted in order to save some memory and be more efficient. Operates on the global variable, $TCA
Definition at line 1673 of file class.tslib_fe.php. References t3lib_div::loadTCA(). |
|
Get the compressed $TCA array for use in the front-end A compressed $TCA array holds only the ctrl- and feInterface-part for each table. But the column-definitions are omitted in order to save some memory and be more efficient. Operates on the global variable, $TCA
Definition at line 1673 of file class.tslib_fe.php. References t3lib_div::loadTCA(). |
|
Checks if config-array exists already but if not, gets it
Definition at line 1551 of file class.tslib_fe.php. References t3lib_div::getIndpEnv(), t3lib_div::intInRange(), t3lib_div::isAbsPath(), t3lib_div::isAllowedAbsPath(), and t3lib_div::locationHeaderUrl(). |
|
Checks if config-array exists already but if not, gets it
Definition at line 1551 of file class.tslib_fe.php. References t3lib_div::getIndpEnv(), t3lib_div::intInRange(), t3lib_div::isAbsPath(), t3lib_div::isAllowedAbsPath(), and t3lib_div::locationHeaderUrl(). |
|
See if page is in cache and get it if so Stores the page content in $this->content if something is found.
Definition at line 1443 of file class.tslib_fe.php. |
|
See if page is in cache and get it if so Stores the page content in $this->content if something is found.
Definition at line 1443 of file class.tslib_fe.php. |
|
Calculates the cache-hash This hash is unique to the template, the variables ->id, ->type, ->gr_list (list of groups), ->MP (Mount Points) and cHash array Used to get and later store the cached data.
Definition at line 1531 of file class.tslib_fe.php. |
|
Calculates the cache-hash This hash is unique to the template, the variables ->id, ->type, ->gr_list (list of groups), ->MP (Mount Points) and cHash array Used to get and later store the cached data.
Definition at line 1531 of file class.tslib_fe.php. |
|
Returns 'locallang' label - may need initializing by initLLvars
Definition at line 3582 of file class.tslib_fe.php. |
|
Returns 'locallang' label - may need initializing by initLLvars
Definition at line 3582 of file class.tslib_fe.php. |
|
Analysing $this->pageAccessFailureHistory into a summary array telling which features disabled display and on which pages and conditions. That data can be used inside a page-not-found handler
Definition at line 1113 of file class.tslib_fe.php. |
|
Analysing $this->pageAccessFailureHistory into a summary array telling which features disabled display and on which pages and conditions. That data can be used inside a page-not-found handler
Definition at line 1113 of file class.tslib_fe.php. |
|
Gets the page and rootline arrays based on the id, $this->id If the id does not correspond to a proper page, the 'previous' valid page in the rootline is found If the page is a shortcut (doktype=4), the ->id is loaded with that id Whether or not the ->id is changed to the shortcut id or the previous id in rootline (eg if a page is hidden), the ->page-array and ->rootline is found and must also be valid. Sets or manipulates internal variables such as: $this->id, $this->page, $this->rootLine, $this->MP, $this->pageNotFound
Definition at line 886 of file class.tslib_fe.php. References checkRootlineForIncludeSection(), getPageShortcut(), pageNotFoundAndExit(), and printError(). |
|
Gets the page and rootline arrays based on the id, $this->id If the id does not correspond to a proper page, the 'previous' valid page in the rootline is found If the page is a shortcut (doktype=4), the ->id is loaded with that id Whether or not the ->id is changed to the shortcut id or the previous id in rootline (eg if a page is hidden), the ->page-array and ->rootline is found and must also be valid. Sets or manipulates internal variables such as: $this->id, $this->page, $this->rootLine, $this->MP, $this->pageNotFound
Definition at line 886 of file class.tslib_fe.php. References checkRootlineForIncludeSection(), getPageShortcut(), pageNotFoundAndExit(), and printError(). |
|
Gets ->page and ->rootline information based on ->id. ->id may change during this operation. If not inside domain, then default to first page in domain.
Definition at line 1161 of file class.tslib_fe.php. |
|
Gets ->page and ->rootline information based on ->id. ->id may change during this operation. If not inside domain, then default to first page in domain.
Definition at line 1161 of file class.tslib_fe.php. Referenced by fetch_the_id(). |
|
Return where-clause for group access
Definition at line 1199 of file class.tslib_fe.php. |
|
Return where-clause for group access
Definition at line 1199 of file class.tslib_fe.php. |
|
Get page shortcut; Finds the records pointed to by input value $SC (the shortcut value)
Definition at line 957 of file class.tslib_fe.php. References t3lib_div::intExplode(). |
|
Get page shortcut; Finds the records pointed to by input value $SC (the shortcut value)
Definition at line 957 of file class.tslib_fe.php. References t3lib_div::intExplode(). Referenced by getPageAndRootline(). |
|
Returns the pages TSconfig array based on the currect ->rootLine
Definition at line 3367 of file class.tslib_fe.php. |
|
Returns the pages TSconfig array based on the currect ->rootLine
Definition at line 3367 of file class.tslib_fe.php. |
|
Returns the simulated static file name (*.html) for the current page (using the page record in $this->page)
Definition at line 3095 of file class.tslib_fe.php. |
|
Returns the simulated static file name (*.html) for the current page (using the page record in $this->page)
Definition at line 3095 of file class.tslib_fe.php. |
|
Traverses the ->rootLine and returns an array with the first occurrance of storage pid and siteroot pid
Definition at line 3352 of file class.tslib_fe.php. |
|
Traverses the ->rootLine and returns an array with the first occurrance of storage pid and siteroot pid
Definition at line 3352 of file class.tslib_fe.php. |
|
Detecting if shift-reload has been clicked Will not be called if re-generation of page happens by other reasons (for instance that the page is not in cache yet!)
Definition at line 1502 of file class.tslib_fe.php. References t3lib_div::callUserFunction(). |
|
Detecting if shift-reload has been clicked Will not be called if re-generation of page happens by other reasons (for instance that the page is not in cache yet!)
Definition at line 1502 of file class.tslib_fe.php. References t3lib_div::callUserFunction(). |
|
End-Of-Frontend hook
Definition at line 2948 of file class.tslib_fe.php. References t3lib_div::callUserFunction(). |
|
End-Of-Frontend hook
Definition at line 2948 of file class.tslib_fe.php. References t3lib_div::callUserFunction(). |
|
Analyzes the second part of a id-string (after the "+"), looking for B6 or M5 encoding and if found it will resolve it and restore the variables in global $_GET If values for ->cHash, ->no_cache, ->jumpurl and ->MP is found, they are also loaded into the internal vars of this class.
Definition at line 1302 of file class.tslib_fe.php. |
|
Analyzes the second part of a id-string (after the "+"), looking for B6 or M5 encoding and if found it will resolve it and restore the variables in global $_GET If values for ->cHash, ->no_cache, ->jumpurl and ->MP is found, they are also loaded into the internal vars of this class.
Definition at line 1302 of file class.tslib_fe.php. Referenced by fetch_the_id(). |
|
Includes full TCA. Normally in the frontend only a part of the global $TCA array is loaded, for instance the "ctrl" part. Thus it doesn't take up too much memory. If you need the FULL TCA available for some reason (like plugins using it) you should call this function which will include the FULL TCA. Global vars $TCA, $PAGES_TYPES, $LANG_GENERAL_LABELS can/will be affected. The flag $this->TCAloaded will make sure that such an inclusion happens only once since; If $this->TCAloaded is set, nothing is included.
Definition at line 1727 of file class.tslib_fe.php. |
|
Includes full TCA. Normally in the frontend only a part of the global $TCA array is loaded, for instance the "ctrl" part. Thus it doesn't take up too much memory. If you need the FULL TCA available for some reason (like plugins using it) you should call this function which will include the FULL TCA. Global vars $TCA, $PAGES_TYPES, $LANG_GENERAL_LABELS can/will be affected. The flag $this->TCAloaded will make sure that such an inclusion happens only once since; If $this->TCAloaded is set, nothing is included.
Definition at line 1727 of file class.tslib_fe.php. |
|
Initializes the front-end login user.
Definition at line 495 of file class.tslib_fe.php. References t3lib_div::_GP(), t3lib_div::callUserFunction(), initFEuser(), and t3lib_div::makeInstance(). |
|
Initializes the front-end login user.
Definition at line 495 of file class.tslib_fe.php. References t3lib_div::_GP(), t3lib_div::callUserFunction(), and t3lib_div::makeInstance(). Referenced by initFEuser(). |
|
Initializing the getLL variables needed. Sets $this->langSplitIndex based on $this->config['config']['language']
Definition at line 3596 of file class.tslib_fe.php. |
|
Initializing the getLL variables needed. Sets $this->langSplitIndex based on $this->config['config']['language']
Definition at line 3596 of file class.tslib_fe.php. |
|
Initialize the TypoScript template parser
Definition at line 1431 of file class.tslib_fe.php. References t3lib_div::makeInstance(). |
|
Initialize the TypoScript template parser
Definition at line 1431 of file class.tslib_fe.php. References t3lib_div::makeInstance(). |
|
Initializes the front-end user groups. Sets ->loginUser and ->gr_list based on front-end user status.
Definition at line 545 of file class.tslib_fe.php. References t3lib_div::devLog(). |
|
Initializes the front-end user groups. Sets ->loginUser and ->gr_list based on front-end user status.
Definition at line 545 of file class.tslib_fe.php. References t3lib_div::devLog(). Referenced by fetch_the_id(). |
|
Processes the INTinclude-scripts
Definition at line 2436 of file class.tslib_fe.php. |
|
Processes the INTinclude-scripts
Definition at line 2436 of file class.tslib_fe.php. |
|
Loads the JavaScript code for INTincScript
Definition at line 2496 of file class.tslib_fe.php. |
|
Loads the JavaScript code for INTincScript
Definition at line 2496 of file class.tslib_fe.php. |
|
Determines if any EXTincScripts should be included
Definition at line 2788 of file class.tslib_fe.php. |
|
Determines if any EXTincScripts should be included
Definition at line 2788 of file class.tslib_fe.php. |
|
Returns true if the page should be generated That is if jumpurl is not set and the cacheContentFlag is not set.
Definition at line 2158 of file class.tslib_fe.php. |
|
Returns true if the page should be generated That is if jumpurl is not set and the cacheContentFlag is not set.
Definition at line 2158 of file class.tslib_fe.php. |
|
Determines if there are any INTincScripts to include
Definition at line 2537 of file class.tslib_fe.php. |
|
Determines if there are any INTincScripts to include
Definition at line 2537 of file class.tslib_fe.php. |
|
Determines if content should be outputted. Outputting content is done only if jumpurl is NOT set.
Definition at line 2586 of file class.tslib_fe.php. References t3lib_div::callUserFunction(). |
|
Determines if content should be outputted. Outputting content is done only if jumpurl is NOT set.
Definition at line 2586 of file class.tslib_fe.php. References t3lib_div::callUserFunction(). |
|
Reporting status whether we can send cache control headers for proxy caching or publishing to static files Rules are: no_cache cannot be set: If it is, the page might contain dynamic content and should never be cached. There can be no USER_INT objects on the page ("isINTincScript()" / "isEXTincScript()") because they implicitly indicate dynamic content There can be no logged in user because user sessions are based on a cookie and thereby does not offer client caching a chance to know if the user is logged in. Actually, there will be a reverse problem here; If a page will somehow change when a user is logged in he may not see it correctly if the non-login version sent a cache-header! So do NOT use cache headers in page sections where user logins change the page content. (unless using such as realurl to apply a prefix in case of login sections)
Definition at line 2749 of file class.tslib_fe.php. |
|
Reporting status whether we can send cache control headers for proxy caching or publishing to static files Rules are: no_cache cannot be set: If it is, the page might contain dynamic content and should never be cached. There can be no USER_INT objects on the page ("isINTincScript()" / "isEXTincScript()") because they implicitly indicate dynamic content There can be no logged in user because user sessions are based on a cookie and thereby does not offer client caching a chance to know if the user is logged in. Actually, there will be a reverse problem here; If a page will somehow change when a user is logged in he may not see it correctly if the non-login version sent a cache-header! So do NOT use cache headers in page sections where user logins change the page content. (unless using such as realurl to apply a prefix in case of login sections)
Definition at line 2749 of file class.tslib_fe.php. |
|
Checking if a user is logged in or a group constellation different from "0,-1"
Definition at line 580 of file class.tslib_fe.php. |
|
Checking if a user is logged in or a group constellation different from "0,-1"
Definition at line 580 of file class.tslib_fe.php. Referenced by determineId(). |
|
Sends a header 'Location' to jumpurl, if jumpurl is set. Will exit if a location header is sent (for instance if JumpUrl was triggered)
Definition at line 2072 of file class.tslib_fe.php. References t3lib_div::_GP(), and t3lib_div::shortMD5(). |
|
Sends a header 'Location' to jumpurl, if jumpurl is set. Will exit if a location header is sent (for instance if JumpUrl was triggered)
Definition at line 2072 of file class.tslib_fe.php. References t3lib_div::_GP(), and t3lib_div::shortMD5(). |
|
Checks if a formmail submission can be sent as email
Definition at line 1908 of file class.tslib_fe.php. |
|
Checks if a formmail submission can be sent as email
Definition at line 1908 of file class.tslib_fe.php. |
|
Seeds the random number engine.
Definition at line 3453 of file class.tslib_fe.php. |
|
Seeds the random number engine.
Definition at line 3453 of file class.tslib_fe.php. |
|
Calculates a hash string based on additional parameters in the url. This is used to cache pages with more parameters than just id and type
Definition at line 1376 of file class.tslib_fe.php. References t3lib_div::_GET(), t3lib_div::cHashParams(), t3lib_div::implodeArrayForUrl(), and t3lib_div::shortMD5(). |
|
Calculates a hash string based on additional parameters in the url. This is used to cache pages with more parameters than just id and type
Definition at line 1376 of file class.tslib_fe.php. References t3lib_div::_GET(), t3lib_div::cHashParams(), t3lib_div::implodeArrayForUrl(), and t3lib_div::shortMD5(). |
|
Make simulation filename (without the ".html" ending, only body of filename)
Definition at line 3019 of file class.tslib_fe.php. |
|
Make simulation filename (without the ".html" ending, only body of filename)
Definition at line 3019 of file class.tslib_fe.php. |
|
Merging values into the global $_GET
Definition at line 1327 of file class.tslib_fe.php. References t3lib_div::_GET(), t3lib_div::_GETset(), and t3lib_div::array_merge_recursive_overrule(). |
|
Merging values into the global $_GET
Definition at line 1327 of file class.tslib_fe.php. References t3lib_div::_GET(), t3lib_div::_GETset(), and t3lib_div::array_merge_recursive_overrule(). |
|
Creates an instance of tslib_cObj in $this->cObj This instance is used to start the rendering of the TypoScript template structure
Definition at line 3214 of file class.tslib_fe.php. References t3lib_div::makeInstance(). |
|
Creates an instance of tslib_cObj in $this->cObj This instance is used to start the rendering of the TypoScript template structure
Definition at line 3214 of file class.tslib_fe.php. References t3lib_div::makeInstance(). |
|
Page-not-found handler for use in frontend plugins from extensions.
Definition at line 1229 of file class.tslib_fe.php. |
|
Page-not-found handler for use in frontend plugins from extensions.
Definition at line 1229 of file class.tslib_fe.php. Referenced by fetch_the_id(), and getPageAndRootline(). |
|
Page not found handler. Exits.
Definition at line 1243 of file class.tslib_fe.php. References t3lib_div::callUserFunction(), t3lib_div::getFileAbsFileName(), t3lib_div::getIndpEnv(), t3lib_div::isFirstPartOfStr(), and t3lib_div::locationHeaderUrl(). |
|
Page not found handler. Exits.
Definition at line 1243 of file class.tslib_fe.php. References t3lib_div::callUserFunction(), t3lib_div::getFileAbsFileName(), t3lib_div::getIndpEnv(), t3lib_div::isFirstPartOfStr(), and t3lib_div::locationHeaderUrl(). |
|
Substitute function for the PHP mail() function. It will encode the email with the setting of TS 'config.notification_email_encoding' (base64 or none) It will also find all links to http:// in the text and substitute with a shorter link using the redirect feature which stores the long link in the database. Depends on configuration in TS 'config.notification_email_urlmode'
Definition at line 3501 of file class.tslib_fe.php. |
|
Substitute function for the PHP mail() function. It will encode the email with the setting of TS 'config.notification_email_encoding' (base64 or none) It will also find all links to http:// in the text and substitute with a shorter link using the redirect feature which stores the long link in the database. Depends on configuration in TS 'config.notification_email_urlmode'
Definition at line 3501 of file class.tslib_fe.php. |
|
Substitutes all occurencies of <a href="#"... in $this->content with <a href="[path-to-url]#"...
Definition at line 3308 of file class.tslib_fe.php. References t3lib_div::getIndpEnv(). |
|
Substitutes all occurencies of <a href="#"... in $this->content with <a href="[path-to-url]#"...
Definition at line 3308 of file class.tslib_fe.php. References t3lib_div::getIndpEnv(). |
|
Outputs preview info.
Definition at line 2927 of file class.tslib_fe.php. |
|
Outputs preview info.
Definition at line 2927 of file class.tslib_fe.php. |
|
Prints error msg/header. Echoes out the HTML content
Definition at line 3260 of file class.tslib_fe.php. References t3lib_timeTrack::debug_typo3PrintError(), and t3lib_div::getIndpEnv(). |
|
Prints error msg/header. Echoes out the HTML content
Definition at line 3260 of file class.tslib_fe.php. References t3lib_timeTrack::debug_typo3PrintError(), and t3lib_div::getIndpEnv(). Referenced by connectToDB(), fetch_the_id(), and getPageAndRootline(). |
|
Processes the output before it's actually outputted. Sends headers also. This includes substituting the USERNAME comment, getMethodUrlIdToken, sending additional headers (as defined in the TypoScript "config.additionalheaders" object), tidy'ing content, XHTML cleaning content (if configured) Works on $this->content
Definition at line 2609 of file class.tslib_fe.php. References t3lib_div::callUserFunction(), and t3lib_div::makeInstance(). |
|
Processes the output before it's actually outputted. Sends headers also. This includes substituting the USERNAME comment, getMethodUrlIdToken, sending additional headers (as defined in the TypoScript "config.additionalheaders" object), tidy'ing content, XHTML cleaning content (if configured) Works on $this->content
Definition at line 2609 of file class.tslib_fe.php. References t3lib_div::callUserFunction(), and t3lib_div::makeInstance(). |
|
Read locallang files - for frontend applications
Definition at line 3571 of file class.tslib_fe.php. |
|
Read locallang files - for frontend applications
Definition at line 3571 of file class.tslib_fe.php. |
|
Set cache content to $this->content
Definition at line 2198 of file class.tslib_fe.php. References t3lib_div::getUserObj(). |
|
Set cache content to $this->content
Definition at line 2198 of file class.tslib_fe.php. References t3lib_div::getUserObj(). |
|
Will disable caching if the cHash value was not set. This function should be called to check the _existence_ of "&cHash" whenever a plugin generating cachable output is using extra GET variables. If there _is_ a cHash value the validation of it automatically takes place in makeCacheHash() (see above)
Definition at line 1400 of file class.tslib_fe.php. |
|
Will disable caching if the cHash value was not set. This function should be called to check the _existence_ of "&cHash" whenever a plugin generating cachable output is using extra GET variables. If there _is_ a cHash value the validation of it automatically takes place in makeCacheHash() (see above)
Definition at line 1400 of file class.tslib_fe.php. |
|
Encrypts a strings by XOR'ing all characters with the ASCII value of a character in $this->TYPO3_CONF_VARS['SYS']['encryptionKey'] If $this->TYPO3_CONF_VARS['SYS']['encryptionKey'] is empty, 255 is used for XOR'ing. Using XOR means that the string can be decrypted by simply calling the function again - just like rot-13 works (but in this case for ANY byte value).
Definition at line 3179 of file class.tslib_fe.php. |
|
Encrypts a strings by XOR'ing all characters with the ASCII value of a character in $this->TYPO3_CONF_VARS['SYS']['encryptionKey'] If $this->TYPO3_CONF_VARS['SYS']['encryptionKey'] is empty, 255 is used for XOR'ing. Using XOR means that the string can be decrypted by simply calling the function again - just like rot-13 works (but in this case for ANY byte value).
Definition at line 3179 of file class.tslib_fe.php. |
|
Send cache headers good for client/reverse proxy caching This function should not be called if the page content is temporary (like for "Page is being generated..." message, but in that case it is ok because the config-variables are not yet available and so will not allow to send cache headers)
Definition at line 2682 of file class.tslib_fe.php. |
|
Send cache headers good for client/reverse proxy caching This function should not be called if the page content is temporary (like for "Page is being generated..." message, but in that case it is ok because the config-variables are not yet available and so will not allow to send cache headers)
Definition at line 2682 of file class.tslib_fe.php. |
|
Sends the emails from the formmail content object.
Definition at line 1924 of file class.tslib_fe.php. References t3lib_div::_POST(), t3lib_div::getUserObj(), and t3lib_div::makeInstance(). |
|
Sends the emails from the formmail content object.
Definition at line 1924 of file class.tslib_fe.php. References t3lib_div::_POST(), t3lib_div::getUserObj(), and t3lib_div::makeInstance(). |
|
Looks up the value of $this->RDCT in the database and if it is found to be associated with a redirect URL then the redirection is carried out with a 'Location:' header May exit after sending a location-header.
Definition at line 457 of file class.tslib_fe.php. References updateMD5paramsRecord(). |
|
Looks up the value of $this->RDCT in the database and if it is found to be associated with a redirect URL then the redirection is carried out with a 'Location:' header May exit after sending a location-header.
Definition at line 457 of file class.tslib_fe.php. References updateMD5paramsRecord(). |
|
Sets the cache-timeout in seconds
Definition at line 3485 of file class.tslib_fe.php. |
|
Sets the cache-timeout in seconds
Definition at line 3485 of file class.tslib_fe.php. |
|
Sets the cache-flag to 1. Could be called from user-included php-files in order to ensure that a page is not cached.
Definition at line 3475 of file class.tslib_fe.php. |
|
Sets the cache-flag to 1. Could be called from user-included php-files in order to ensure that a page is not cached.
Definition at line 3475 of file class.tslib_fe.php. Referenced by determineId(), and fetch_the_id(). |
|
Substitute the path's to files in the media/ folder like icons used in static_template of TypoScript Works on $this->content
Definition at line 3227 of file class.tslib_fe.php. |
|
Substitute the path's to files in the media/ folder like icons used in static_template of TypoScript Works on $this->content
Definition at line 3227 of file class.tslib_fe.php. |
|
Sets CSS data in the additionalCSS array
Definition at line 3438 of file class.tslib_fe.php. |
|
Sets CSS data in the additionalCSS array
Definition at line 3438 of file class.tslib_fe.php. |
|
This checks if there are ARGV-parameters in the QUERY_STRING and if so, those are used for the id $this->id must be 'false' in order for any processing to happen in here If an id/alias value is extracted from the QUERY_STRING it is set in $this->id
Definition at line 1145 of file class.tslib_fe.php. References t3lib_div::getIndpEnv(). |
|
This checks if there are ARGV-parameters in the QUERY_STRING and if so, those are used for the id $this->id must be 'false' in order for any processing to happen in here If an id/alias value is extracted from the QUERY_STRING it is set in $this->id
Definition at line 1145 of file class.tslib_fe.php. References t3lib_div::getIndpEnv(). Referenced by determineId(). |
|
Sets JavaScript code in the additionalJavaScript array
Definition at line 3400 of file class.tslib_fe.php. |
|
Sets JavaScript code in the additionalJavaScript array
Definition at line 3400 of file class.tslib_fe.php. |
|
Sets cache content; Inserts the content string into the cache_pages table.
Definition at line 2228 of file class.tslib_fe.php. |
|
Sets cache content; Inserts the content string into the cache_pages table.
Definition at line 2228 of file class.tslib_fe.php. |
|
Sets the parsetime of the page.
Definition at line 2807 of file class.tslib_fe.php. |
|
Sets the parsetime of the page.
Definition at line 2807 of file class.tslib_fe.php. |
|
Sets sys last changed Setting the SYS_LASTCHANGED value in the pagerecord: This value will thus be set to the highest tstamp of records rendered on the page. This includes all records with no regard to hidden records, userprotection and so on.
Definition at line 2274 of file class.tslib_fe.php. |
|
Sets sys last changed Setting the SYS_LASTCHANGED value in the pagerecord: This value will thus be set to the highest tstamp of records rendered on the page. This includes all records with no regard to hidden records, userprotection and so on.
Definition at line 2274 of file class.tslib_fe.php. |
|
Sets sys_page where-clause
Definition at line 1188 of file class.tslib_fe.php. |
|
Sets sys_page where-clause
Definition at line 1188 of file class.tslib_fe.php. Referenced by fetch_the_id(). |
|
Setting the language key that'll be used by the current page. In this function it should be checked, 1) that this language exists, 2) that a page_overlay_record exists, .. and if not the default language, 0 (zero), should be set.
Definition at line 1754 of file class.tslib_fe.php. References t3lib_div::hideIfNotTranslated(), t3lib_div::intExplode(), t3lib_extMgm::isLoaded(), and t3lib_div::trimExplode(). |
|
Setting the language key that'll be used by the current page. In this function it should be checked, 1) that this language exists, 2) that a page_overlay_record exists, .. and if not the default language, 0 (zero), should be set.
Definition at line 1754 of file class.tslib_fe.php. References t3lib_div::hideIfNotTranslated(), t3lib_div::intExplode(), t3lib_extMgm::isLoaded(), and t3lib_div::trimExplode(). |
|
Setting locale for frontend rendering
Definition at line 1844 of file class.tslib_fe.php. |
|
Setting locale for frontend rendering
Definition at line 1844 of file class.tslib_fe.php. |
|
Sets the URL_ID_TOKEN in the internal var, $this->getMethodUrlIdToken
Definition at line 2115 of file class.tslib_fe.php. |
|
Sets the URL_ID_TOKEN in the internal var, $this->getMethodUrlIdToken
Definition at line 2115 of file class.tslib_fe.php. |
|
Processes a query-string with GET-parameters and returns two strings, one with the parameters that CAN be encoded and one array with those which can't be encoded (encoded by the M5 or B6 methods)
Definition at line 3066 of file class.tslib_fe.php. |
|
Processes a query-string with GET-parameters and returns two strings, one with the parameters that CAN be encoded and one array with those which can't be encoded (encoded by the M5 or B6 methods)
Definition at line 3066 of file class.tslib_fe.php. |
|
Split Label function for front-end applications.
Definition at line 3542 of file class.tslib_fe.php. |
|
Split Label function for front-end applications.
Definition at line 3542 of file class.tslib_fe.php. |
|
Saves hit statistics
Definition at line 2819 of file class.tslib_fe.php. References t3lib_div::_GP(), t3lib_div::cmpIP(), t3lib_div::getIndpEnv(), t3lib_div::getUserObj(), t3lib_div::inList(), t3lib_div::isFirstPartOfStr(), and t3lib_extMgm::isLoaded(). |
|
Saves hit statistics
Definition at line 2819 of file class.tslib_fe.php. References t3lib_div::_GP(), t3lib_div::cmpIP(), t3lib_div::getIndpEnv(), t3lib_div::getUserObj(), t3lib_div::inList(), t3lib_div::isFirstPartOfStr(), and t3lib_extMgm::isLoaded(). |
|
Stores session data for the front end user
Definition at line 2797 of file class.tslib_fe.php. |
|
Stores session data for the front end user
Definition at line 2797 of file class.tslib_fe.php. |
|
Temp cache content The temporary cache will expire after a few seconds (typ. 30) or will be cleared by the rendered page, which will also clear and rewrite the cache.
Definition at line 2168 of file class.tslib_fe.php. |
|
Temp cache content The temporary cache will expire after a few seconds (typ. 30) or will be cleared by the rendered page, which will also clear and rewrite the cache.
Definition at line 2168 of file class.tslib_fe.php. |
|
Pass the content through tidy - a little program that cleans up HTML-code Requires $this->TYPO3_CONF_VARS['FE']['tidy'] to be true and $this->TYPO3_CONF_VARS['FE']['tidy_path'] to contain the filename/path of tidy including clean-up arguments for tidy. See default value in TYPO3_CONF_VARS in t3lib/config_default.php
Definition at line 3282 of file class.tslib_fe.php. References t3lib_div::tempnam(). |
|
Pass the content through tidy - a little program that cleans up HTML-code Requires $this->TYPO3_CONF_VARS['FE']['tidy'] to be true and $this->TYPO3_CONF_VARS['FE']['tidy_path'] to contain the filename/path of tidy including clean-up arguments for tidy. See default value in TYPO3_CONF_VARS in t3lib/config_default.php
Definition at line 3282 of file class.tslib_fe.php. References t3lib_div::tempnam(). |
|
Returns a unique md5 hash. There is no special magic in this, the only point is that you don't have to call md5(uniqid()) which is slow and by this you are sure to get a unique string each time in a little faster way.
Definition at line 3466 of file class.tslib_fe.php. |
|
Returns a unique md5 hash. There is no special magic in this, the only point is that you don't have to call md5(uniqid()) which is slow and by this you are sure to get a unique string each time in a little faster way.
Definition at line 3466 of file class.tslib_fe.php. |
|
Updates the tstamp field of a cache_md5params record to the current time.
Definition at line 3271 of file class.tslib_fe.php. |
|
Updates the tstamp field of a cache_md5params record to the current time.
Definition at line 3271 of file class.tslib_fe.php. Referenced by sendRedirect(). |
|
Initial value: array( // you can add JavaScript functions to each entry in these arrays. Please see how this is done in the GMENU_LAYERS script. The point is that many applications on a page can set handlers for onload, onmouseover and onmouseup
'onmousemove' => array(),
'onmouseup' => array(),
'onload' => array(),
)
Definition at line 272 of file class.tslib_fe.php. |