Skip to content

icms_form_elements_Editor

Raimondas Rimkevičius edited this page Mar 9, 2020 · 1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!

icms_form_elements_Editor

XoopsEditor hanlder

Properties

$editor

public mixed $editor
  • Visibility: public

$_cols

protected int $_cols

number of columns

  • Visibility: protected

$_rows

protected int $_rows

number of rows

  • Visibility: protected

$_value

protected string $_value

initial content

  • Visibility: protected

Methods

__construct

mixed icms_form_elements_Textarea::__construct(string caption, string name, string value, int rows, int cols)

Constuctor

Arguments

  • caption string - <p>caption</p>
  • name string - <p>name</p>
  • value string - <p>initial content</p>
  • rows int - <p>number of rows</p>
  • cols int - <p>number of columns</p>

render

string icms_form_elements_Textarea::render()

prepare HTML for output

getRows

int icms_form_elements_Textarea::getRows()

get number of rows

getCols

int icms_form_elements_Textarea::getCols()

Get number of columns

getValue

string icms_form_elements_Textarea::getValue(bool encode)

Get initial content

Arguments

  • encode bool - <p>To sanitize the text? Default value should be "true"; however we have to set "false" for backward compatibility</p>

setValue

mixed icms_form_elements_Textarea::setValue(value)

Set initial content

Arguments

  • value mixed - <p>string</p>
Clone this wiki locally