Zmiany pomiędzy wersją 23 and wersją 24 dla DeployerGuide/Developer
- Data i czas:
- 09/18/14 11:39:54 (10 years temu)
Legend:
- Bez zmian
- Dodane
- Usunięte
- Zmienione
-
DeployerGuide/Developer
v23 v24 441 441 $rows = $db->select('types_of_processes_states', 'tpstid, dscrpt', 'clsnam = \'FKDEMANDELEMENT\' ORDER BY dscrpt', false, PGSQL_NUM); 442 442 443 $t his->tpstid = new DBSelect('yourTpstidSelectName');444 $t his->tpstid->top = '10px';445 $t his->tpstid->left = '70px';446 $t his->tpstid->width = '200px';443 $tpstid = new DBSelect('yourTpstidSelectName'); 444 $tpstid->top = '10px'; 445 $tpstid->left = '70px'; 446 $tpstid->width = '200px'; 447 447 448 448 if (is_array($rows) && !empty($rows) { 449 $t his->tpstid->addAssocArray($rows, 0, 1);449 $tpstid->addAssocArray($rows, 0, 1); 450 450 } 451 451 }}} … … 459 459 $defaultValue = date('Y-m-d', time()); 460 460 461 $ this->adddat = new CalendarInput('yourInputName', $defaultValue);462 $ this->adddat->top = '10px';463 $ this->adddat->left = '10px';464 $ this->adddat->width = '90px';461 $adddat = new CalendarInput('yourInputName', $defaultValue); 462 $adddat->top = '10px'; 463 $adddat->left = '10px'; 464 $adddat->width = '90px'; 465 465 466 466 /* Wersja tylko z datą */ 467 $ this->adddat->dateFormat = 'y-m-d';467 $adddat->dateFormat = 'y-m-d'; 468 468 469 469 /* Wersja z datą i godziną */ 470 $ this->adddat->dateFormat = 'y-m-d h:i';471 }}} 470 $adddat->dateFormat = 'y-m-d h:i'; 471 }}}