+2008-02-21 Ingo Renner <ingo@typo3.org>
+
+ * modified the interface for toolbarItems so that the reference to the backend Object in the constructor is optional, this was necessary to have AJAX response methods in the same class as the code that generates the toolbar item itself
+
2008-02-20 Stanislas Rolland <stanislas.rolland@fructifor.ca>
* Fixed bug #7602: htmlArea RTE: Make the use of extended inline elements configurable
*
* @param TYPO3backend TYPO3 backend object reference
*/
- public function __construct(TYPO3backend &$backendReference) {
+ public function __construct(TYPO3backend &$backendReference = null) {
$this->backendReference = $backendReference;
}
*
* @param TYPO3backend TYPO3 backend object reference
*/
- public function __construct(TYPO3backend &$backendReference) {
+ public function __construct(TYPO3backend &$backendReference = null) {
$this->backendReference = $backendReference;
$this->cacheActions = array();
* @param TYPO3backend TYPO3 backend object reference
* @return void
*/
- public function __construct(TYPO3backend &$backendReference) {
+ public function __construct(TYPO3backend &$backendReference = null) {
$this->backendReference = $backendReference;
$this->shortcuts = array();
*
* @param TYPO3backend TYPO3 backend object reference
*/
- public function __construct(TYPO3backend &$backendReference) {
+ public function __construct(TYPO3backend &$backendReference = null) {
$this->backendReference = $backendReference;
$this->changeWorkspace = t3lib_div::_GP('changeWorkspace');
*
* @param TYPO3backend TYPO3 backend object reference
*/
- public function __construct(TYPO3backend &$backendReference);
+ public function __construct(TYPO3backend &$backendReference = null);
/**
* checks whether the user has access to this toolbar item
*
* @param TYPO3backend TYPO3 backend object reference
*/
- public function __construct(TYPO3backend &$backendReference) {
+ public function __construct(TYPO3backend &$backendReference = null) {
$this->backendReference = $backendReference;
list($this->openDocs,) = $GLOBALS['BE_USER']->getModuleData('alt_doc.php','ses');