[ Index ] |
|
Code source de Typo3 4.1.3 |
[Code source] [Imprimer] [Statistiques]
Class for TYPO3 backend user authentication in the TSFE frontend $Id: class.t3lib_tsfebeuserauth.php 1985 2007-02-04 21:23:18Z masi $ Revised for TYPO3 3.6 July/2003 by Kasper Skaarhoj XHTML compliant
Author: | Kasper Skaarhoj <kasperYYYY@typo3.com> |
Poids: | 1129 lignes (49 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
t3lib_tsfeBeUserAuth:: (28 méthodes):
extInitFeAdmin()
extPrintFeAdminDialog()
TSFEtypo3FormFieldSet()
TSFEtypo3FormFieldGet()
extPrintFeAdminDialogHiddenFields()
extGetCategory_preview()
extGetCategory_cache()
extGetCategory_publish()
extGetCategory_edit()
extGetCategory_tsdebug()
extGetCategory_info()
extGetHead()
extItemLink()
extGetItem()
extFw()
ext_makeToolBar()
checkBackendAccessSettingsFromInitPhp()
extPageReadAccess()
extAdmModuleEnabled()
extSaveFeAdminConfig()
extGetFeAdminValue()
extIsAdmMenuOpen()
extGetTreeList()
extGetNumberOfCachedPages()
extGetLL()
extIsEditAction()
extIsFormShown()
extEditAction()
Classe: t3lib_tsfeBeUserAuth - X-Ref
TYPO3 backend user authentication in the TSFE frontend.extInitFeAdmin() X-Ref |
Initialize the usage of Admin Panel. Called from index_ts.php if a backend users is correctly logged in. Sets $this->extAdminConfig to the "admPanel" config for the user and $this->extAdmEnabled = 1 IF access is enabled. return: void |
extPrintFeAdminDialog() X-Ref |
Creates and returns the HTML code for the Admin Panel in the TSFE frontend. Called from index_ts.php - in the end of the script return: string HTML for the Admin Panel |
TSFEtypo3FormFieldSet(theField, evallist, is_in, checkbox, checkboxValue) X-Ref |
Pas de description |
TSFEtypo3FormFieldGet(theField, evallist, is_in, checkbox, checkboxValue, checkbox_off) X-Ref |
Pas de description |
extPrintFeAdminDialogHiddenFields($key,&$val) X-Ref |
Fetches recursively all GET parameters as hidden fields. Called from extPrintFeAdminDialog. param: string current key param: mixed current value return: string hidden fields |
extGetCategory_preview($out='') X-Ref |
Creates the content for the "preview" section ("module") of the Admin Panel param: string Optional start-value; The generated content is added to this variable. return: string HTML content for the section. Consists of a string with table-rows with four columns. |
extGetCategory_cache($out='') X-Ref |
Creates the content for the "cache" section ("module") of the Admin Panel param: string Optional start-value; The generated content is added to this variable. return: string HTML content for the section. Consists of a string with table-rows with four columns. |
extGetCategory_publish($out='') X-Ref |
Creates the content for the "publish" section ("module") of the Admin Panel param: string Optional start-value; The generated content is added to this variable. return: string HTML content for the section. Consists of a string with table-rows with four columns. |
extGetCategory_edit($out='') X-Ref |
Creates the content for the "edit" section ("module") of the Admin Panel param: string Optional start-value; The generated content is added to this variable. return: string HTML content for the section. Consists of a string with table-rows with four columns. |
extGetCategory_tsdebug($out='') X-Ref |
Creates the content for the "tsdebug" section ("module") of the Admin Panel param: string Optional start-value; The generated content is added to this variable. return: string HTML content for the section. Consists of a string with table-rows with four columns. |
extGetCategory_info($out='') X-Ref |
Creates the content for the "info" section ("module") of the Admin Panel param: string Optional start-value; The generated content is added to this variable. return: string HTML content for the section. Consists of a string with table-rows with four columns. |
extGetHead($pre) X-Ref |
Returns a row (with colspan=4) which is a header for a section in the Admin Panel. It will have a plus/minus icon and a label which is linked so that it submits the form which surrounds the whole Admin Panel when clicked, alterting the TSFE_ADMIN_PANEL[display_'.$pre.'] value See the functions extGetCategory_* param: string The suffix to the display_ label. Also selects the label from the LOCAL_LANG array. return: string HTML table row. |
extItemLink($pre,$str) X-Ref |
Wraps a string in a link which will open/close a certain part of the Admin Panel param: string The code for the display_ label/key param: string Input string return: string Linked input string |
extGetItem($pre,$element) X-Ref |
Returns a row (with 4 columns) for content in a section of the Admin Panel. It will take $pre as a key to a label to display and $element as the content to put into the forth cell. param: string Key to label param: string The HTML content for the forth table cell. return: string HTML table row. |
extFw($str) X-Ref |
Wraps a string in a font-tag with verdana, size 1 and black param: string The string to wrap return: string |
ext_makeToolBar() X-Ref |
Creates the tool bar links for the "edit" section of the Admin Panel. return: string A string containing images wrapped in <a>-tags linking them to proper functions. |
checkBackendAccessSettingsFromInitPhp() X-Ref |
Implementing the access checks that the typo3/init.php script does before a user is ever logged in. Used in the frontend. return: boolean Returns true if access is OK |
extPageReadAccess($pageRec) X-Ref |
Evaluates if the Backend User has read access to the input page record. The evaluation is based on both read-permission and whether the page is found in one of the users webmounts. Only if both conditions are true will the function return true. Read access means that previewing is allowed etc. Used in index_ts.php param: array The page record to evaluate for return: boolean True if read access |
extAdmModuleEnabled($key) X-Ref |
Checks if a Admin Panel section ("module") is available for the user. If so, true is returned. param: string The module key, eg. "edit", "preview", "info" etc. return: boolean |
extSaveFeAdminConfig() X-Ref |
Saves any change in settings made in the Admin Panel. Called from index_ts.php right after access check for the Admin Panel return: void |
extGetFeAdminValue($pre,$val='') X-Ref |
Returns the value for a Admin Panel setting. You must specify both the module-key and the internal setting key. param: string Module key param: string Setting key return: string The setting value |
extIsAdmMenuOpen($pre) X-Ref |
Returns true if admin panel module is open param: string Module key return: boolean True, if the admin panel is open for the specified admin panel module key. |
extGetTreeList($id,$depth,$begin=0,$perms_clause) X-Ref |
Generates a list of Page-uid's from $id. List does not include $id itself The only pages excluded from the list are deleted pages. param: integer Start page id param: integer Depth to traverse down the page tree. param: integer $begin is an optional integer that determines at which level in the tree to start collecting uid's. Zero means 'start right away', 1 = 'next level and out' param: string Perms clause return: string Returns the list with a comma in the end (if any pages selected!) |
extGetNumberOfCachedPages($page_id) X-Ref |
Returns the number of cached pages for a page id. param: integer The page id. return: integer The number of pages for this page in the table "cache_pages" |
extGetLL($key) X-Ref |
Returns the label for key, $key. If a translation for the language set in $this->uc['lang'] is found that is returned, otherwise the default value. IF the global variable $LOCAL_LANG is NOT an array (yet) then this function loads the global $LOCAL_LANG array with the content of "sysext/lang/locallang_tsfe.php" so that the values therein can be used for labels in the Admin Panel param: string Key for a label in the $LOCAL_LANG array of "sysext/lang/locallang_tsfe.php" return: string The value for the $key |
extIsEditAction() X-Ref |
Returns true in an edit-action is sent from the Admin Panel return: boolean |
extIsFormShown() X-Ref |
Returns true if an edit form is shown on the page. Used from index_ts.php where a true return-value will result in classes etc. being included. return: boolean |
extEditAction() X-Ref |
Management of the on-page frontend editing forms and edit panels. Basically taking in the data and commands and passes them on to the proper classes as they should be. return: void |
Généré le : Sun Nov 25 17:13:16 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |