2
我使用symfony 1.4.11。我旁边:如何验证sfWidgetFormTextareaTinyMCE
$this->widgetSchema['en']['content'] = new sfWidgetFormTextareaTinyMCE(array(
'width' => 900,
'height' => 300,
'config' => 'theme_advanced_buttons1 : "cut, copy, paste, images, bold, italic, underline, justifyleft, justifycenter, justifyright , outdent, indent, bullist, numlist, undo, redo, link",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing: "false",
plugins: "images, paste",
'),array('class' => 'tinyMCE',)
);
我需要validte这一点,我尝试sfValidatorString,但实在不行
你能解释一下吗? – denys281
大谢谢!!! – denys281