note 65959 deleted from language.exceptions by felipe
| From: | felipe@php.net | Date: | Sun, 20 Apr 2008 16:51:49 +0000 |
| Subject: | note 65959 deleted from language.exceptions by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-138580@lists.php.net to get a copy of this message | ||
Note Submitter: armenio at inmidiaweb dot com dot br
----
<?php
class alert{
public $return;
public $msg;
public function __construct($value){
$this->msg = $value;
}
public function OutPut(){
$this->return = '<script language="JavaScript">';
$this->return .= ' alert("'.$this->msg.'")';
$this->return .= '</script>';
return $this->return;
}
}
$msg = new alert('classe criada com sucesso');
$msg->OutPut();
?>