Changeset 922 for trunk/Common/Form/Types/DateTime.php
- Timestamp:
- Feb 28, 2022, 8:53:22 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Form/Types/DateTime.php
r887 r922 108 108 } 109 109 110 function OnCanLoad(array $Item): bool 111 { 112 return array_key_exists($Item['Name'].'-null', $_POST) or (array_key_exists($Item['Name'].'-day', $_POST) and 113 array_key_exists($Item['Name'].'-month', $_POST) and array_key_exists($Item['Name'].'-year', $_POST) and 114 array_key_exists($Item['Name'].'-hour', $_POST) and array_key_exists($Item['Name'].'-minute', $_POST) and 115 array_key_exists($Item['Name'].'-second', $_POST) 116 ); 117 } 118 110 119 function OnLoadDb(array $Item): ?string 111 120 {
Note:
See TracChangeset
for help on using the changeset viewer.