/** * Constructor * * @param array $configs Editor Options * @param binary $checkCompatible true - return false on failure */ function FormDhtmlTextArea($configs, $checkCompatible = false) { if (!empty($configs)) { foreach ($configs as $key => $val) { ${$key} = $val; $this->{$key} = $val; } } $value = isset($value) ? $value : ""; $rows = isset($rows) ? $rows : 5; $cols = isset($cols) ? $cols : 50; $hiddentext = empty($hiddentext) ? "xoopsHiddenText" : $hiddentext; parent::__construct(@$caption, $name, $value, $rows, $cols, $hiddentext, $configs); }
public function __construct($caption, $name, $value, $rows = 5, $cols = 50, $hiddentext = "xoopsHiddenText", $options = array()) { parent::__construct($caption, $name, $value, $rows, $cols, $hiddentext, $options); $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_Dhtmltextarea', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }