Location: PHPKode > projects > So Easy PHP > SoEasy/EasyHtml/HtmlMaker/JavaScript/functions/JavaScriptAlert.class.php
<?php
include_once "HtmlMaker/JavaScript/JavaScriptConcrete.class.php";

/**
 * JavaScriptAlert
 * alert.class.php
 * @author	Ricardo <hide@address.com>
 * @since	22/10/2006
 * @package EasyHtml
 * @subpackage JavaScript
 */
class JavaScriptAlert extends JavaScriptConcrete {

	/**
	 * @var string mensagem do alert
	 * @access private
	 */
	private $mensagem;

	/**
	 * Construtor
	 * @param string frase para o alert
	 */
	function JavaScriptAlert($msg) {
		$this->mensagem = $msg;
		$this->setJavaScriptCode("alert(\"$msg\")");
	}
}// JavaScriptAlert
?>
Return current item: So Easy PHP