|
noalyss
Version-6.7.2
|
Public Member Functions | |
| __construct ($p_name='', $p_value='', $p_id="") | |
| display () | |
| print in html the readonly value of the widget | |
| input ($p_name=null, $p_value=null) | |
| show the html input of the widget | |
Static Public Member Functions | |
| static | test_me () |
Definition at line 29 of file class_iconcerned.php.
| IConcerned::__construct | ( | $ | p_name = '', |
| $ | p_value = '', |
||
| $ | p_id = "" |
||
| ) |
| IConcerned::input | ( | $ | p_name = null, |
| $ | p_value = null |
||
| ) |
show the html input of the widget
Definition at line 41 of file class_iconcerned.php.
References $r, amount_id, display(), id, name, readOnly, and value.
{
$this->name=($p_name==null)?$this->name:$p_name;
$this->value=($p_value==null)?$this->value:$p_value;
if ( $this->readOnly==true) return $this->display();
$this->id=($this->id=="")?$this->name:$this->id;
$r=sprintf("
<INPUT TYPE=\"button\" onClick=\"search_reconcile(".dossier::id().",'%s','%s','%s')\" value=\"?\">
<INPUT TYPE=\"text\" style=\"color:black;background:lightyellow;border:solid 1px grey;\" NAME=\"%s\" ID=\"%s\" VALUE=\"%s\" SIZE=\"8\" readonly>
<INPUT TYPE=\"button\" onClick=\"$('%s').value=''\" value=\"X\">
",
$this->name,
$this->amount_id,
$this->paid,
$this->name,
$this->id,
$this->value,
$this->id
);
return $r;
}
| static IConcerned::test_me | ( | ) | [static] |
Definition at line 74 of file class_iconcerned.php.
{
}