[ Index ] |
|
Code source de Symfony 1.0.0 |
1 <?php 2 3 /* 4 * This file is part of the symfony package. 5 * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com> 6 * 7 * For the full copyright and license information, please view the LICENSE 8 * file that was distributed with this source code. 9 */ 10 11 /** 12 * sfRichTextEditor is an abstract class for rich text editor classes. 13 * 14 * @package symfony 15 * @subpackage helper 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id: sfRichTextEditor.class.php 3284 2007-01-15 19:05:48Z fabien $ 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 The tag name 30 * @param string The rich text editor content 31 * @param array 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 }
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |