|
Revision 9101, 1.1 kB
(checked in by FabianLange, 4 years ago)
|
1.1: fixed @param phpdoc to fit specs in helper (refs #2991)
|
- Property svn:mime-type set to
text/x-php
- Property svn:eol-style set to
native
- Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
abstract class sfRichTextEditor |
|---|
| 20 |
{ |
|---|
| 21 |
protected |
|---|
| 22 |
$name = '', |
|---|
| 23 |
$content = '', |
|---|
| 24 |
$options = array(); |
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
* Initializes this rich text editor. |
|---|
| 28 |
* |
|---|
| 29 |
* @param string $name The tag name |
|---|
| 30 |
* @param string $content The rich text editor content |
|---|
| 31 |
* @param array $options An array of options |
|---|
| 32 |
*/ |
|---|
| 33 |
public function initialize($name, $content, $options = array()) |
|---|
| 34 |
{ |
|---|
| 35 |
$this->name = $name; |
|---|
| 36 |
$this->content = $content; |
|---|
| 37 |
$this->options = $options; |
|---|
| 38 |
} |
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 |
* Returns the rich text editor as HTML. |
|---|
| 42 |
* |
|---|
| 43 |
* @return string Rich text editor HTML representation |
|---|
| 44 |
*/ |
|---|
| 45 |
abstract public function toHTML(); |
|---|
| 46 |
} |
|---|
| 47 |
|
|---|