mosHTML::CloseButton

Last reviewed: Not reviewed
phpDocumentor

mosHTML::CloseButton

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

Syntax

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

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

Examples

Example:

// 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 )