MIOLO20
Carregando...
Procurando...
Nenhuma entrada encontrada
mhtmlarea.class
Ir para a documentação deste ficheiro.
1
<?php
2
class
MHtmlArea
extends
MMultiLineField
3
{
4
function
__construct
(
$name
=
''
,
$value
=
''
,
$label
=
''
,
$size
= 20,
$rows
= 1,
$cols
= 20,
$hint
=
''
,
5
$validator
=
null
)
6
{
7
parent::__construct(
$name
,
$value
,
$label
,
$size
,
$rows
,
$cols
,
$hint
,
$validator
);
8
$this->page->AddScript(
'htmlarea/config.js'
);
9
$this->page->AddScript(
'htmlarea/htmlarea.js'
);
10
$this->formMode = 0;
11
$this->manager->GetTheme()->SetLayout(
'HtmlArea'
);
12
}
13
14
function
Generate
()
15
{
16
$code =
"<script type=\"text/javascript\" defer=\"1\">HTMLArea.replace(\"{$this->id}\");</script>"
;
17
return
parent::Generate() . $code;
18
}
19
}
20
?>
MComponent\$name
$name
Definição
mcomponent.class:17
MFormControl\$value
$value
Definição
mformcontrol.class:6
MFormControl\$label
$label
Definição
mformcontrol.class:5
MFormControl\$hint
$hint
Definição
mformcontrol.class:7
MHtmlArea
Definição
mhtmlarea.class:3
MHtmlArea\Generate
Generate()
Definição
mhtmlarea.class:14
MHtmlArea\__construct
__construct($name='', $value='', $label='', $size=20, $rows=1, $cols=20, $hint='', $validator=null)
Definição
mhtmlarea.class:4
MMultiLineField
Definição
inputcontrols.class:132
MTextField\$cols
$cols
Definição
inputcontrols.class:9
MTextField\$validator
$validator
Definição
inputcontrols.class:7
MTextField\$rows
$rows
Definição
inputcontrols.class:8
MTextField\$size
$size
Definição
inputcontrols.class:5
classes
ui
controls
mhtmlarea.class
Gerado por
1.10.0