Author: sid.gbf
Date: 2010-02-23 21:10:43 +0100 (Tue, 23 Feb 2010)
New Revision: 28228
Removed:
plugins/sfFCKEditorPlugin/lib/sfWidgetFormFCKEditor.class.php
Log:
Deleted: plugins/sfFCKEditorPlugin/lib/sfWidgetFormFCKEditor.class.php
===================================================================
--- plugins/sfFCKEditorPlugin/lib/sfWidgetFormFCKEditor.class.php
2010-02-23 20:09:59 UTC (rev 28227)
+++ plugins/sfFCKEditorPlugin/lib/sfWidgetFormFCKEditor.class.php
2010-02-23 20:10:43 UTC (rev 28228)
@@ -1,27 +0,0 @@
-<?php
-
-class sfWidgetFormFCKEditor extends sfWidgetFormTextarea {
-
-
- protected function configure($options = array(), $attributes = array())
- {
- $this->setAttribute('rows', 22);
- $this->setAttribute('cols', 80);
- }
-
- public function render($name, $value = null, $attributes = array(), $errors
= array())
- {
- sfConfig::set('sf_rich_text_fck_js_dir', 'js/fckeditor');
- $editorClass = 'sfRichTextEditorFCK';
- if (!class_exists($editorClass))
- throw new sfConfigurationException(sprintf('The rich text editor "%s"
does not exist.', $editorClass));
-
- $sfEditor = new $editorClass();
- if (!in_array('sfRichTextEditor', class_parents($sfEditor)))
- {
- throw new sfConfigurationException(sprintf('The editor "%s" must extend
sfRichTextEditor.', $editorClass));
- }
- $sfEditor->initialize($name, $value, $attributes);
- return $sfEditor->toHTML();
- }
-}
\ No newline at end of file
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.