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