|
TYPO3 API
SVNRelease
|


Public Member Functions | |
| __construct (TYPO3backend &$backendReference=null) | |
| checkAccess () | |
| loadDocsFromUserSession () | |
| render () | |
| renderMenu () | |
| renderMenuEntry ($document, $md5sum, $isRecentDoc=false, $isFirstDoc=false) | |
| getAdditionalAttributes () | |
| updateNumberOfOpenDocsHook (&$params, $ref) | |
| closeDocument ($params=array(), TYPO3AJAX &$ajaxObj=null) | |
| renderAjax ($params=array(), TYPO3AJAX &$ajaxObj=null) | |
Protected Member Functions | |
| addJavascriptToBackend () | |
| addCssToBackend () | |
Protected Attributes | |
| $backendReference | |
| $openDocs | |
| $recentDocs | |
| $EXTKEY = 'opendocs' | |
Definition at line 42 of file class.tx_opendocs.php.
| tx_opendocs::__construct | ( | TYPO3backend &$ | backendReference = null | ) |
constructor, loads the documents from the user control
| TYPO3backend | TYPO3 backend object reference |
Implements backend_toolbarItem.
Definition at line 61 of file class.tx_opendocs.php.
References $backendReference, and loadDocsFromUserSession().
| tx_opendocs::addCssToBackend | ( | ) | [protected] |
adds the neccessary CSS to the backend
Definition at line 221 of file class.tx_opendocs.php.
References t3lib_extMgm\extRelPath().
Referenced by render().
| tx_opendocs::addJavascriptToBackend | ( | ) | [protected] |
adds the neccessary javascript to the backend
Definition at line 212 of file class.tx_opendocs.php.
References t3lib_extMgm\extRelPath().
Referenced by render().
| tx_opendocs::checkAccess | ( | ) |
checks whether the user has access to this toolbar item
Implements backend_toolbarItem.
Definition at line 71 of file class.tx_opendocs.php.
References $GLOBALS.
| tx_opendocs::closeDocument | ( | $ | params = array(), |
| TYPO3AJAX &$ | ajaxObj = null |
||
| ) |
closes a document in the session and
| array | array of parameters from the AJAX interface, currently unused |
| TYPO3AJAX | object of type TYPO3AJAX |
Definition at line 258 of file class.tx_opendocs.php.
References $ajaxObj, $GLOBALS, t3lib_div\_GP(), and renderAjax().
| tx_opendocs::getAdditionalAttributes | ( | ) |
returns additional attributes for the list item in the toolbar
Implements backend_toolbarItem.
Definition at line 203 of file class.tx_opendocs.php.
| tx_opendocs::loadDocsFromUserSession | ( | ) |
loads the opened and recently opened documents from the user
Definition at line 81 of file class.tx_opendocs.php.
References $GLOBALS.
Referenced by __construct().
| tx_opendocs::render | ( | ) |
renders the toolbar item and the initial menu
Implements backend_toolbarItem.
Definition at line 91 of file class.tx_opendocs.php.
References $GLOBALS, addCssToBackend(), addJavascriptToBackend(), t3lib_iconWorks\getSpriteIcon(), and renderMenu().
| tx_opendocs::renderAjax | ( | $ | params = array(), |
| TYPO3AJAX &$ | ajaxObj = null |
||
| ) |
renders the menu so that it can be returned as response to an AJAX call
| array | array of parameters from the AJAX interface, currently unused |
| TYPO3AJAX | object of type TYPO3AJAX |
Definition at line 291 of file class.tx_opendocs.php.
References $ajaxObj, and renderMenu().
Referenced by closeDocument().
| tx_opendocs::renderMenu | ( | ) |
renders the pure contents of the menu
Definition at line 116 of file class.tx_opendocs.php.
References $content, $GLOBALS, and renderMenuEntry().
Referenced by render(), and renderAjax().
| tx_opendocs::renderMenuEntry | ( | $ | document, |
| $ | md5sum, | ||
| $ | isRecentDoc = false, |
||
| $ | isFirstDoc = false |
||
| ) |
returns the recent documents list as an array
Definition at line 157 of file class.tx_opendocs.php.
References $GLOBALS, t3lib_BEfunc\getRecordWSOL(), t3lib_iconWorks\getSpriteIcon(), t3lib_iconWorks\getSpriteIconForRecord(), and t3lib_div\htmlspecialchars_decode().
Referenced by renderMenu().
| tx_opendocs::updateNumberOfOpenDocsHook | ( | &$ | params, |
| $ | ref | ||
| ) |
called as a hook in t3lib_BEfunc::setUpdateSignal, calls a JS function to change the number of opened documents
| array | $params | |
| unknown_type | $ref |
Definition at line 238 of file class.tx_opendocs.php.
tx_opendocs::$backendReference [protected] |
Definition at line 49 of file class.tx_opendocs.php.
Referenced by __construct().
tx_opendocs::$EXTKEY = 'opendocs' [protected] |
Definition at line 53 of file class.tx_opendocs.php.
tx_opendocs::$openDocs [protected] |
Definition at line 51 of file class.tx_opendocs.php.
tx_opendocs::$recentDocs [protected] |
Definition at line 52 of file class.tx_opendocs.php.
1.7.5.1