references:joomla.legacy:1.5:moshtml-printiconPrintIcon
Displays a standard print icon. The alternative text for the icon will be taken from the current language settings. This function has been deprecated in the conversion to patTemplate in Joomla! 1.5. It is no longer used by the Joomla! Core but is being kept for compatibility with third-party software. Syntaxvoid PrintIcon ( int &$row, object &$params, boolean $enable, string $link [, string $window_params] )
ExamplesExample: In this example the popup window that will be opened if the print icon is clicked will make use of the standard window parameters. Example // Set-up the parameters object. $params = & new mosParameters( '' ); $params->def( 'print', true ); $params->def( 'popup', true ); // Set-up the URL that will be opened if the print icon is clicked. $url = $mosConfig_live_site . '/index2.PHP?option=com_content&task=view&id=' . $row->id .'&Itemid='. $Itemid; // Draw the Print icon. mosHTML::PrintIcon( $row, $params, true, $url ); |



