noalyss
Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
include
lib
ispan.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
/*!
23
* \file
24
* \brief Html Input
25
*/
26
27
/*!
28
* \class ISpan
29
* \brief Html Input
30
*/
31
class
ISpan
extends
HtmlInput
32
{
33
public
function
__construct
($p_name=
""
,$p_value=
""
)
34
{
35
parent::__construct($p_name,$p_value);
36
$this->
style
=
""
;
37
$this->
extra
=
""
;
38
39
}
40
/*!\brief show the html input of the widget, the span is always readonly */
41
public
function
input
($p_name=
null
,$p_value=
null
)
42
{
43
$this->
name
=($p_name==
null
)?$this->
name
:$p_name;
44
$this->
value
=($p_value==
null
)?$this->
value
:$p_value;
45
46
47
$r
=sprintf(
'<span style="%s" id="%s" %s>%s </span>'
,
48
$this->
style
,
49
$this->
name
,
50
$this->
extra
,
51
$this->
value
52
);
53
54
return
$r
;
55
}
56
57
static
public
function
test_me
()
58
{
59
}
60
}
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
style
$opd_description style
Definition
ajax_mod_predf_op.php:52
name
$from_poste name
Definition
balance.inc.php:163
ISpan
Html Input.
Definition
ispan.class.php:32
ISpan\__construct
__construct($p_name="", $p_value="")
Definition
ispan.class.php:33
ISpan\test_me
static test_me()
Definition
ispan.class.php:57
ISpan\input
input($p_name=null, $p_value=null)
show the html input of the widget, the span is always readonly
Definition
ispan.class.php:41
extra
$poste extra
Definition
lettering.card.inc.php:40
Generated on Wed Jun 25 2025 09:57:48 for noalyss by
1.13.2