|
|
Home Manual 11. API Reference mosHTML::PrintIcon |
| mosHTML::PrintIcon |
|
|
|
|
Last reviewed: Not reviewed mosHTML::PrintIconDisplays a standard print icon. The alternative text for the icon will be taken from the current language settings. 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. // Set-up the parameters object. $params = & new mosParameters( '' ); $params->def( 'print', true ); $params->def( 'popup', true ); $params->def( 'icons', 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, false, $url ); Please report any errors on this page to the Developer Documentation Forum. |
|
| Last Updated ( Thursday, 26 October 2006 ) |
| < Prev | Next > |
|---|





