1.5 Template Project

The Joomla! Documentation Working Group is running a project to develop detailed reference and tutorial material on Joomla! 1.5 templates.  There is a project page on the documentation wiki where you can see the work in progress and help us by contributing your knowledge.

Who's Online

We have 7 guests online

Help Site License

The Joomla! Help Site content is copyright © 2005 - 2008 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution NonCommercial ShareAlike 2.5. Some parts of this website may be subject to other licenses.
Home arrow Developer Manual arrow 11. API Reference arrow mosHTML::CloseButton

mosHTML::CloseButton PDF Print E-mail

Last reviewed: Not reviewed


Displays a standard close button for a pop-up window. The text on the button will be taken from the current language settings.


void CloseButton ( object &$params [, boolean $enable] )

is a parameters object. If $params->get( 'popup' ) is false then this function will not produce any output.
is a flag. If true then this function will not produce any output. This flag is optional and if omitted will default to false.



// Set-up the parameters object.
$params = & new mosParameters( '' );
$params->def( 'popup', true );
// Draw the Close button.
mosHTML::CloseButton( $params );

Please report any errors on this page to the Developer Documentation Forum.

Last Updated ( Thursday, 26 October 2006 )
< Prev   Next >