and the event
git-svn-id: file:///home/shish/svn/shimmie2/trunk@242 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
8ad916c136
commit
ffcf86df17
1 changed files with 20 additions and 0 deletions
20
core/events/textformatting.event.php
Normal file
20
core/events/textformatting.event.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?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;
|
||||
}
|
||||
}
|
||||
?>
|
Reference in a new issue