'',
'postfix' => '',
);
function HTML_QuickForm_html_editor_basic($elementName = null, $elementLabel = null, $attributes = null, $value = null, $titles = array())
{
$this->HTML_QuickForm_textarea($elementName, $elementLabel, $attributes);
if (!is_null($value)) {
$this->setValue($value);
}
$this->setTitles($titles);
}
function setTitles($titles)
{
if (is_array($titles) && !empty($titles)) {
foreach (array_keys($this->_titles) as $key) {
if (isset($titles[$key])) {
$this->_titles[$key] = (string)$titles[$key];
}
}
}
return true;
}
function getFrozenHtml()
{
return $this->getValue();
}
function toHtml()
{
$objName = str_replace(array(']', '['), array('', '_'), $this->getName());
$html = $this->_titles['prefix'] . parent::toHtml() . $this->_titles['postfix'];
if (!$this->_flagFrozen) {
$html .= '
';
}
return $html;
}
}
?>