MIOLO20
Toggle main menu visibility
Página principal
Estruturas de dados
Estruturas de dados
Hierarquia de classes
Campos de dados
Tudo
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Funções
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variáveis
$
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Ficheiros
Lista de ficheiros
Globais
Tudo
$
_
a
c
d
e
f
g
i
l
m
o
p
r
s
u
Funções
Variáveis
$
_
c
e
f
l
m
o
p
s
Exemplos
•
Tudo
Estruturas de dados
Namespaces
Ficheiros
Funções
Variáveis
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
}
4
function
__construct
(
$name
=
''
,
$value
=
''
,
$label
=
''
,
$size
= 20,
$rows
= 1,
$cols
= 20,
$hint
=
''
, {
…
}
13
14
function
Generate
()
15
{
16
$code =
"<script type=\"text/javascript\" defer=\"1\">HTMLArea.replace(\"{$this->id}\");</script>"
;
17
return
parent::Generate() . $code;
18
}
14
function
Generate
() {
…
}
19
}
2
class
MHtmlArea
extends
MMultiLineField
{
…
};
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