TYPO3
7.6
|
Public Member Functions | |
getMarkup ($alternativeMarkupIdentifier=null) | |
setMarkup ($markup) | |
getAlternativeMarkup ($markupIdentifier) | |
setAlternativeMarkup ($markupIdentifier, $markup) | |
getIdentifier () | |
setIdentifier ($identifier) | |
getOverlayIcon () | |
setOverlayIcon ($overlayIcon) | |
getSize () | |
setSize ($size) | |
isSpinning () | |
setSpinning ($spinning) | |
getState () | |
setState (IconState $state) | |
getDimension () | |
render ($alternativeMarkupIdentifier=null) | |
__toString () | |
Public Attributes | |
const | SIZE_SMALL = 'small' |
const | SIZE_DEFAULT = 'default' |
const | SIZE_LARGE = 'large' |
const | SIZE_OVERLAY = 'overlay' |
Protected Member Functions | |
wrappedIcon ($alternativeMarkupIdentifier=null) | |
Protected Attributes | |
$identifier | |
$overlayIcon = null | |
$size = '' | |
$spinning = false | |
$state | |
$dimension | |
$markup | |
$alternativeMarkups = array() | |
Icon object, holds all information for one icon, identified by the "identifier" property. Is available to render itself as string.
__toString | ( | ) |
Render the icon as HTML code
Definition at line 253 of file Icon.php.
References Icon\render().
getAlternativeMarkup | ( | $markupIdentifier | ) |
getDimension | ( | ) |
Definition at line 227 of file Icon.php.
References Icon\$dimension.
Referenced by BitmapIconProvider\generateMarkup(), and SvgIconProvider\generateMarkup().
getIdentifier | ( | ) |
Definition at line 142 of file Icon.php.
References Icon\$identifier.
Referenced by BitmapIconProvider\generateMarkup(), SvgIconProvider\generateMarkup(), and Icon\wrappedIcon().
getMarkup | ( | $alternativeMarkupIdentifier = null | ) |
getOverlayIcon | ( | ) |
getSize | ( | ) |
getState | ( | ) |
isSpinning | ( | ) |
Definition at line 193 of file Icon.php.
References Icon\$spinning.
Referenced by Icon\wrappedIcon().
render | ( | $alternativeMarkupIdentifier = null | ) |
Render the icon as HTML code
string | $alternativeMarkupIdentifier |
Definition at line 239 of file Icon.php.
References Icon\wrappedIcon().
Referenced by Icon\__toString().
setAlternativeMarkup | ( | $markupIdentifier, | |
$markup | |||
) |
string | $markupIdentifier | |
string | $markup |
Definition at line 134 of file Icon.php.
References Icon\$markup.
Referenced by SvgIconProvider\prepareIconMarkup().
setIdentifier | ( | $identifier | ) |
setMarkup | ( | $markup | ) |
string | $markup |
Definition at line 115 of file Icon.php.
References Icon\$markup.
Referenced by FontawesomeIconProvider\prepareIconMarkup(), BitmapIconProvider\prepareIconMarkup(), and SvgIconProvider\prepareIconMarkup().
setOverlayIcon | ( | $overlayIcon | ) |
setSize | ( | $size | ) |
Sets the size and creates the new dimension
string | $size |
Definition at line 184 of file Icon.php.
References Icon\$size, and GeneralUtility\makeInstance().
setSpinning | ( | $spinning | ) |
setState | ( | IconState | $state | ) |
Sets the state of the icon
IconState | $state |
Definition at line 219 of file Icon.php.
References Icon\$state.
|
protected |
Wrap icon markup in unified HTML code
string | $alternativeMarkupIdentifier |
Definition at line 265 of file Icon.php.
References Icon\$markup, Icon\$size, Icon\getIdentifier(), Icon\getMarkup(), and Icon\isSpinning().
Referenced by Icon\render().
|
protected |
Definition at line 85 of file Icon.php.
Referenced by Icon\getDimension().
|
protected |
Definition at line 52 of file Icon.php.
Referenced by Icon\getIdentifier(), and Icon\setIdentifier().
|
protected |
Definition at line 90 of file Icon.php.
Referenced by Icon\getMarkup(), Icon\setAlternativeMarkup(), Icon\setMarkup(), and Icon\wrappedIcon().
|
protected |
Definition at line 59 of file Icon.php.
Referenced by Icon\getOverlayIcon(), and Icon\setOverlayIcon().
|
protected |
Definition at line 66 of file Icon.php.
Referenced by Icon\getSize(), Icon\setSize(), and Icon\wrappedIcon().
|
protected |
Definition at line 73 of file Icon.php.
Referenced by Icon\isSpinning(), and Icon\setSpinning().
|
protected |
Definition at line 80 of file Icon.php.
Referenced by Icon\getState(), and Icon\setState().
const SIZE_DEFAULT = 'default' |
Definition at line 34 of file Icon.php.
Referenced by Dimension\__construct().
const SIZE_LARGE = 'large' |
Definition at line 39 of file Icon.php.
Referenced by Dimension\__construct().
const SIZE_OVERLAY = 'overlay' |
Definition at line 45 of file Icon.php.
Referenced by Dimension\__construct(), and IconFactory\createIcon().
const SIZE_SMALL = 'small' |
Definition at line 29 of file Icon.php.
Referenced by Dimension\__construct(), ClearCacheToolbarItem\__construct(), ActionTask\action_linkUserName(), VersionModuleController\adminLinks(), ClickMenu\DB_changeFlag(), ClickMenu\DB_copycut(), ClickMenu\DB_db_list(), ClickMenu\DB_delete(), ClickMenu\DB_edit(), ClickMenu\DB_editAccess(), ClickMenu\DB_editPageProperties(), ClickMenu\DB_history(), ClickMenu\DB_info(), ClickMenu\DB_moveWizard(), ClickMenu\DB_new(), ClickMenu\DB_newWizard(), ClickMenu\DB_paste(), ClickMenu\DB_perms(), ClickMenu\DB_tempMountPoint(), ClickMenu\DB_view(), ClickMenu\dragDrop_copymovefolder(), ClickMenu\dragDrop_copymovepage(), FrontendEditPanel\editIcons(), FrontendEditPanel\editPanel(), FileLinkHandler\expandFolder(), PageLinkHandler\expandPage(), ExportPageTreeView\ext_tree(), ClickMenu\FILE_copycut(), ClickMenu\FILE_delete(), ClickMenu\FILE_launch(), ClickMenu\FILE_paste(), FileController\flattenResultDataValue(), AbstractRecordList\fwd_rwd_HTML(), ActionTask\getActions(), FileBrowser\getBulkSelector(), ElementHistoryController\getButtons(), InfoModuleController\getButtons(), TableController\getButtons(), PageFunctionsController\getButtons(), DatabaseRecordList\getButtons(), PageTreeNavigationController\getButtons(), EditFileController\getButtons(), VersionModuleController\getButtons(), ImportExportController\getButtons(), RteController\getButtons(), MoveElementController\getButtons(), NewRecordController\getButtons(), TypoScriptTemplateModuleController\getButtons(), NewContentElementController\getButtons(), TaskModuleController\getButtons(), SetupModuleController\getButtons(), EditDocumentController\getButtons(), SchedulerModuleController\getButtons(), FileList\getButtonsAndOtherMarkers(), AdminPanelView\getCacheModule(), ActionTask\getCreatedUsers(), DatabaseRecordList\getDocHeaderButtons(), WorkspaceSelectorToolbarItem\getDropDown(), ShortcutToolbarItem\getDropDown(), CreatePagesWizardModuleFunctionController\getFormLine(), DocumentTemplate\getHeader(), FileFacade\getIcon(), SuggestWizardDefaultReceiver\getIcon(), AbstractTreeView\getIcon(), PageLayoutView\getIcon(), FormatsViewHelper\getIconForFileExtension(), FormEngineUtility\getIconHtml(), ActionToolbarItem\getItem(), WorkspaceSelectorToolbarItem\getItem(), HelpToolbarItem\getItem(), OpendocsToolbarItem\getItem(), ShortcutToolbarItem\getItem(), ClearCacheToolbarItem\getItem(), SystemInformationToolbarItem\getItem(), InlineControlContainer\getLevelInteractionLink(), ExtdirectTreeDataProvider\getNodeTypes(), DocumentTemplate\getPageInfo(), ElementInformationController\getRecordActions(), LiveSearch\getRecordArray(), PagePositionMap\getRecordHeader(), MetaInformation\getRecordInformation(), LocalizationController\getRecordLocalizeSummary(), DocumentTemplate\getResourceHeader(), AbstractTreeView\getRootIcon(), ShortcutToolbarItem\getShortcutIcon(), IconUtility\getSpriteIconForRecord(), IconUtility\getSpriteIconForResource(), ExtDirectServer\getSystemLanguages(), PageLayoutView\getTable_pages(), PageLayoutView\getTableMenu(), PageTreeNavigationController\getWorkspaceInfo(), ModuleTemplate\icons(), DocumentTemplate\icons(), EditFileController\init(), AbstractController\initializeAction(), ActionToolbarItem\initializeActionEntries(), AbstractRecordList\languageFlag(), ElementBrowserRecordList\linkWrapItems(), ExtdirectTreeDataProvider\loadResources(), SortPagesWizardModuleFunction\main(), Clickmenu\main(), VersionClickMenu\main(), CreatePagesWizardModuleFunctionController\main(), TranslationStatusController\main(), InfoPageTyposcriptConfigController\main(), TemplateAnalyzerModuleFunctionController\main(), TypoScriptTemplateConstantEditorModuleFunctionController\main(), FileUploadController\main(), MoveElementController\main(), RenameFileController\main(), ReplaceFileController\main(), CreateFolderController\main(), TypoScriptTemplateInformationModuleFunctionController\main(), TypoScriptTemplateObjectBrowserModuleFunctionController\main(), BackendLayoutWizardController\main(), PageLayoutController\makeButtons(), ImportExportController\makeConfigurationForm(), PageLayoutView\makeOrdinaryList(), ElementInformationController\makeRef(), ElementInformationController\makeRefFrom(), ModuleTemplate\makeShortcutIcon(), DocumentTemplate\makeShortcutIcon(), PageLayoutView\noEditIcon(), TaskModuleController\openInNewWindow(), EditDocumentController\openInNewWindowLink(), PageLayoutView\pages_drawItem(), VersionModuleController\pageSubContent(), LanguageController\prepareDocHeaderButtons(), AbstractContainer\previewFieldValue(), Clipboard\printClipboard(), Clipboard\printContentFromTab(), ClickMenu\printFileClickMenu(), SuggestWizardDefaultReceiver\queryTable(), ViewModuleController\registerButtons(), NewRecordController\regularNew(), SelectCheckBoxElement\render(), FlexFormContainerContainer\render(), RemoveExtensionViewHelper\render(), OuterWrapContainer\render(), ConfigureExtensionViewHelper\render(), Avatar\render(), ActionTask\renderActionList(), ElementInformationController\renderBackButton(), FileBrowser\renderFilesInFolder(), FolderBrowser\renderFolders(), InlineRecordContainer\renderForeignRecordHeader(), PermissionAjaxController\renderGroupSelector(), FolderLinkHandler\renderItem(), FileLinkHandler\renderItem(), TranslationStatusController\renderL10nTable(), InfoPageTyposcriptConfigController\renderList(), TypoScriptTemplateModuleController\renderList(), DatabaseRecordList\renderListHeader(), DatabaseRecordList\renderListRow(), OpendocsToolbarItem\renderMenuEntry(), InlineControlContainer\renderPossibleRecordsSelectorTypeGroupDB(), InlineControlContainer\renderPossibleRecordsSelectorTypeSelect(), SelectSingleBoxElement\renderResetButtonElement(), SwitchUserViewHelper\renderStatic(), IconViewHelper\renderStatic(), PermissionAjaxController\renderToggleEditLock(), PermissionAjaxController\renderUserSelector(), TimeTracker\setTSlogMessage(), AdministrationController\statisticDetailsAction(), TypoScriptTemplateInformationModuleFunctionController\tableRow(), DeletedRecordsController\transform(), PageLayoutView\tt_content_drawColHeader(), PageLayoutView\tt_content_drawHeader(), VersionModuleController\versioningMgm(), ActionTask\viewEditRecord(), DocumentTemplate\viewPageIcon(), ActionTask\viewSqlQuery(), and ElementBrowserPageTreeView\wrapTitle().