noalyss
Version-9
include
lib
ihidden.class.php
Go to the documentation of this file.
1
<?php
2
/*
3
* This file is part of NOALYSS.
4
*
5
* NOALYSS is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
9
*
10
* NOALYSS is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with NOALYSS; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
*/
19
20
// Copyright Author Dany De Bontridder danydb@aevalys.eu
21
22
/*!\file
23
* \brief Html Input
24
*/
25
26
/*!\class IHidden
27
* \brief Html Input
28
*/
29
30
class
IHidden
extends
HtmlInput
31
{
32
/*!\brief show the html input of the widget*/
33
public
function
input
($p_name=
null
,$p_value=
null
,
$id
=
""
)
34
{
35
$this->
name
=($p_name==
null
)?$this->
name
:$p_name;
36
$this->
value
=($p_value==
null
)?$this->
value
:$p_value;
37
$this->
id
=($this->
id
==
""
)?$this->
name
:$this->
id
;
38
39
$r
=
'<INPUT TYPE="HIDDEN" id="'
.$this->id.
'" name="'
.$this->
name
.
'" value="'
.$this->
value
.
'">'
;
40
return
$r
;
41
42
}
43
}
value
$q value
Definition:
ajax_add_concerned_card.php:59
$r
catch(Exception $exc) if(! $g_user->can_write_action($ag_id)) $r
Definition:
ajax_add_concerned_card.php:53
name
$from_poste name
Definition:
balance.inc.php:163
HtmlInput
class widget This class is used to create all the HTML INPUT TYPE and some specials which works with ...
Definition:
html_input.class.php:55
HtmlInput\$id
$id
Definition:
html_input.class.php:76
IHidden
Html Input.
Definition:
ihidden.class.php:31
IHidden\input
input($p_name=null, $p_value=null, $id="")
show the html input of the widget
Definition:
ihidden.class.php:33