47 $this->
style=
' class="input_text" ';
48 $this->autofocus=
false;
49 $this->
javascript=
'onchange="format_date(this)"';
93 return self::$firstDate;
102 throw new Exception(
"IDATE1: invalide data");
110 public function input($p_name=
null, $p_value=
null)
112 $this->
name=($p_name==
null)?$this->
name:$p_name;
113 $this->
value=($p_value==
null)?$this->
value:$p_value;
121 <input type="text" name="%s" id="%s"
123 size="10" style="width:6em"
127 pattern="[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{4}"
131 <span class="smallbutton icon"
132 style="color:cornflowerblue"
143 $r.=sprintf(
'<script type="text/javascript">
146 ifFormat : "%%d.%%m.%%Y",
147 button : "%s_trigger",
163 $r=
"<span> ".$this->value;
164 $r.=
'<input type="hidden" name="'.$this->name.
'"'.
165 'id="'.$this->id.
'"'.
166 ' 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