47 $this->
style=
' class="input_text" ';
48 $this->autofocus=
false;
118 throw new Exception(
"IDATE1: invalide data");
126 public function input($p_name=
null, $p_value=
null)
128 $this->
name=($p_name==
null)?$this->
name:$p_name;
129 $this->
value=($p_value==
null)?$this->
value:$p_value;
134 $onchange=
'onchange="format_date(this)"';
136 <input type="text" name="%s" id="%s"
138 size="10" style="width:6em"
142 pattern="[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{4}"
145 <span class="smallbutton icon"
155 $r.=sprintf(
'<script type="text/javascript">
158 ifFormat : "%%d.%%m.%%Y",
159 button : "%s_trigger",
175 $r=
"<span> ".$this->value;
176 $r.=
'<input type="hidden" name="'.$this->name.
'"'.
177 'id="'.$this->id.
'"'.
178 ' value = "'.$this->value.
'"></span>';
catch(Exception $exc) if(! $g_user->can_write_action($ag_id)) $r
Html Input : Input a date format dd.mm.yyyy The property title should be set to indicate what it is e...
set_autofocus($autofocus)
__construct($name='', $value='', $p_id="")
display()
print in html the readonly value of the widget
static set_firstDate($firstDate)
input($p_name=null, $p_value=null)
show the html input of the widget
set_placeholder($placeholder)