34 $this->assertArrayHasKey(
'tcarecords--',
$GLOBALS[
'TBE_STYLES'][
'spritemanager'][
'singleIcons']);
42 $this->assertEquals(
'',
$GLOBALS[
'TBE_STYLES'][
'spritemanager'][
'singleIcons'][
'tcarecords--']);
49 $table =
'tt_content';
50 $type =
'contains-news';
52 $this->assertArrayHasKey(
'tcarecords-' . $table .
'-' . $type,
$GLOBALS[
'TBE_STYLES'][
'spritemanager'][
'singleIcons']);
59 $imagePath =
'path/to/my-icon.png';
60 $table =
'tt_content';
61 $type =
'contains-news';
63 $this->assertEquals($imagePath,
$GLOBALS[
'TBE_STYLES'][
'spritemanager'][
'singleIcons'][
'tcarecords-' . $table .
'-' . $type]);
74 $imagePath =
'path/to/my-icon.png';
75 $icons = array($type => $imagePath);
76 $extensionKey =
'dummy';
78 $this->assertArrayHasKey(
'extensions-' . $extensionKey .
'-' . $type,
$GLOBALS[
'TBE_STYLES'][
'spritemanager'][
'singleIcons']);
86 $imagePath =
'path/to/my-icon.png';
87 $icons = array($type => $imagePath);
88 $extensionKey =
'dummy';
90 $this->assertEquals($imagePath,
$GLOBALS[
'TBE_STYLES'][
'spritemanager'][
'singleIcons'][
'extensions-' . $extensionKey .
'-' . $type]);
97 $type =
'contains-news';
98 $imagePath =
'path/to/my-icon.png';
99 $icons = array($type => $imagePath);
100 $extensionKey =
'dummy';
102 $this->assertArrayHasKey(
'extensions-' . $extensionKey .
'-' . $type,
$GLOBALS[
'TBE_STYLES'][
'spritemanager'][
'singleIcons']);
109 $type =
'contains-news';
110 $imagePath =
'path/to/my-icon.png';
111 $icons = array($type => $imagePath);
112 $extensionKey =
'dummy';
114 $this->assertEquals($imagePath,
$GLOBALS[
'TBE_STYLES'][
'spritemanager'][
'singleIcons'][
'extensions-' . $extensionKey .
'-' . $type]);
addSingleIconsWithEmptyValueSetsArrayKey()
static addTcaTypeIcon($table, $type, $iconFile)
static addSingleIcons(array $icons, $extKey='')
addSingleIconsWithNormalValueSetsImagePathValue()
addTcaTypeIconWithTableAndTypeAndValueSetsArrayValue()
addSingleIconsWithNormalValueSetsArrayKey()
addTcaTypeIconWithTableAndTypeSetsArrayKey()
addTcaTypeIconWithEmptyValueSetsArrayKey()
if(!defined('TYPO3_MODE')) if(TYPO3_MODE=='BE' &&!(TYPO3_REQUESTTYPE &TYPO3_REQUESTTYPE_INSTALL)) $icons
addTcaTypeIconWithEmptyValueSetsEmptyArrayValue()
addSingleIconsWithEmptyValueSetsImagePathValue()
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]