Documentation TYPO3 par Ameos |
Public Member Functions | |
getIconImage ($table, $row=array(), $backPath, $params='', $shaded=FALSE) | |
getIcon ($table, $row=array(), $shaded=FALSE) | |
skinImg ($backPath, $src, $wHattribs='', $outputMode=0) | |
makeIcon ($iconfile, $mode, $user, $protectSection, $absFile, $iconFileName_stateTagged) | |
imagecopyresized (&$im, $cpImg, $Xstart, $Ystart, $cpImgCutX, $cpImgCutY, $w, $h, $w, $h) | |
imagecreatefrom ($file) | |
imagemake ($im, $path) |
Definition at line 85 of file class.t3lib_iconworks.php.
|
Creates the icon for input table/row Returns filename for the image icon, relative to PATH_typo3 Usage: 24
Definition at line 118 of file class.t3lib_iconworks.php. Referenced by t3lib_TCEforms::addSelectOptionsToItemArray(), t3lib_TCEforms::foreignTable(), getIconImage(), TBE_browser_recordList::linkWrapItems(), user_SC_mod_user_ws_workspaceForms::processUserAndGroups(), and TBE_PageTree::wrapTitle(). |
|
|
The necessity of using this function for combining two images if GD is version 2 is that GD2 cannot manage to combine two indexed-color images without totally spoiling everything. In class.t3lib_stdgraphic this was solved by combining the images onto a first created true color image However it has turned out that this method will not work if the indexed png-files contains transparency. So I had to turn my attention to ImageMagick - my 'enemy of death'. And so it happend - ImageMagick is now used to combine my two indexed-color images with transparency. And that works. Of course it works only if ImageMagick is able to create valid png-images - which you cannot be sure of with older versions (still 5+) The only drawback is (apparently) that IM creates true-color png's. The transparency of these will not be shown by MSIE on windows at this time (although it's straight 0/100% transparency!) and the file size may be larger. For parameters, see PHP function "imagecopyresized()"
Definition at line 475 of file class.t3lib_iconworks.php. References t3lib_div::imageMagickCommand(). |
|
Create new image pointer from input file (either gif/png, in case the wrong format it is converted by t3lib_div::read_png_gif())
Definition at line 505 of file class.t3lib_iconworks.php. References t3lib_div::read_png_gif(). |
|
Write the icon in $im pointer to $path
Definition at line 522 of file class.t3lib_iconworks.php. Referenced by makeIcon(). |
|
Creates the icon file for the function getIcon()
Definition at line 353 of file class.t3lib_iconworks.php. References t3lib_div::gif_compress(), and imagemake(). |
|
Returns the src=... for the input $src value OR any alternative found in $TBE_STYLES['skinImg'] Used for skinning the TYPO3 backend with an alternative set of icons Usage: 336
Definition at line 264 of file class.t3lib_iconworks.php. Referenced by t3lib_recordList::addElement(), SC_mod_user_ws_workspaceForms::createButtons(), recordHistory::createRollbackLink(), 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(), recordHistory::displayHistory(), clickMenu::dragDrop_copymovefolder(), clickMenu::dragDrop_copymovepage(), local_beUserAuth::ext_printOverview(), localPageTree::ext_tree(), clickMenu::FILE_copycut(), clickMenu::FILE_delete(), clickMenu::FILE_launch(), clickMenu::FILE_paste(), t3lib_folderTree::getBrowsableTree(), t3lib_folderTree::getFolderTree(), t3lib_TCEforms::getPaletteFields(), t3lib_treeView::getRootIcon(), t3lib_TCEforms::getSingleField(), fileList::getTable(), SC_mod_user_ws_index::init(), clickMenu::linkItem(), tx_impexp_clickmenu::main(), SC_mod_user_ws_workspaceForms::main(), SC_alt_menu::main(), SC_mod_web_perm_index::notEdit(), t3lib_positionMap::positionTree(), t3lib_clipboard::printClipboard(), t3lib_clipboard::printContentFromTab(), clickMenu::printDBClickMenu(), clickMenu::printItems(), clickMenu::printNewDBLevel(), SC_db_new::regularNew(), localRecordList::renderListHeader(), t3lib_arrayBrowser::tree(), tx_cms_layout::tt_board_getTree(), SC_mod_user_ws_index::workspaceList_displayIcons(), SC_mod_user_ws_index::workspaceList_displayUserWorkspaceList(), SC_mod_user_ws_index::workspaceList_getWebMountPoints(), and fileList::writeTop(). |