PHP Classes

HtmlForm.FormElement.JsDateTime.class.php

Recommend this page to a friend!

      HtmlForm PHP 5  >  All threads  >  HtmlForm.FormElement.JsDateTime.class...  >  (Un) Subscribe thread alerts  
Subject:HtmlForm.FormElement.JsDateTime.class...
Summary:different GET
Messages:3
Author:w. studer
Date:2014-05-22 13:23:43
Update:2014-05-22 13:42:44
 

  1. HtmlForm.FormElement.JsDateTime.class...   Reply   Report abuse  
Picture of w. studer w. studer - 2014-05-22 13:23:43
Hi, me again ;-)

I noticed a small issue in HtmlForm.FormElement.JsDateTime.class.php

public static function get($name, $id){
$res = new JsDateTime($name, $id);
return $res;
}
result on a STRICT error.


When changing to
public static function get($name, $id = ''){
$res = new JsDateTime($name, $id);
return $res;
}
it works well.

Notice the $id = ''

  2. Re: HtmlForm.FormElement.JsDateTime.class...   Reply   Report abuse  
Picture of Sebastian Schlapkohl Sebastian Schlapkohl - 2014-05-22 13:38:10 - In reply to message 1 from w. studer
Thanks. I fixed that and comitted it to the rep.

  3. Re: HtmlForm.FormElement.JsDateTime.class...   Reply   Report abuse  
Picture of w. studer w. studer - 2014-05-22 13:42:44 - In reply to message 2 from Sebastian Schlapkohl
You're welcome.

Any plans to release version 1 soon ?