21 lines
386 B
PHP
21 lines
386 B
PHP
|
<?php
|
||
|
/*
|
||
|
* TextFormattingEvent:
|
||
|
* $original - for reference
|
||
|
* $formatted - with formatting applied
|
||
|
* $stripped - with formatting removed
|
||
|
*
|
||
|
*/
|
||
|
class TextFormattingEvent extends Event {
|
||
|
var $original;
|
||
|
var $formatted;
|
||
|
var $stripped;
|
||
|
|
||
|
public function TextFormattingEvent($text) {
|
||
|
$this->original = $text;
|
||
|
$this->formatted = $text;
|
||
|
$this->stripped = $text;
|
||
|
}
|
||
|
}
|
||
|
?>
|