class ModuleDemo implements WebModule { function getWidget() { // Create a basic date picker date_default_timezone_set('UTC');
$datePicker = new DatePicker(); $datePicker->setHeight(230); $datePicker->setFormat('dd/mm/YYYY'); $datePicker->setLocalize('ja'); $datePicker->setToday(); $datePicker->setMinDate("-16"); $datePicker->setMaxDate("+16");
// Create a DateBox $dateBox = new DateBox(); $dateBox->setLocalize('es');
// Combine the widgets into a panel and return them $vPanel = new VerticalPanel(); $vPanel->setSpacing(8); $vPanel->add(new HTML('<b>Permanent DatePicker:</b>')); $vPanel->add($datePicker); $vPanel->add(new HTML('<b>DateBox with popup DatePicker:</b>')); $vPanel->add($dateBox); return $vPanel; } } ?>
Info Message
+ filemtime(): Unable to find the wrapper ".http" - did you forget to enable it when you configured PHP?- filemtime(): Unable to find the wrapper ".http" - did you forget to enable it when you configured PHP?
+ filemtime(): Unable to find the wrapper ".http" - did you forget to enable it when you configured PHP?- filemtime(): Unable to find the wrapper ".http" - did you forget to enable it when you configured PHP?
+ filemtime(): stat failed for .http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/base/jquery-ui.css- filemtime(): stat failed for .http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/base/jquery-ui.css