Tim Hunt
58b7986776
MDL-69507 duration form field: should return an int number of seconds
2020-08-20 11:30:41 +01:00
Tim Hunt
e5a0f11b5e
MDL-69507 duration form field: modernise coding style
2020-08-20 11:30:40 +01:00
Davo Smith
5079271b39
MDL-43156 formslib: newly-created repeat elements get the default values
2020-04-30 20:16:07 +02:00
Tim Hunt
87554981f0
MDL-46542 formslib: duration field option for which units to show
...
Based on the original work of Itamar Tzadok.
2020-01-30 17:08:29 +00:00
Eloy Lafuente (stronk7)
4621917c62
MDL-67114 core: php74 fix. Fix use of scalar as array in core
...
There are various places where it's not guaranteed that the
variable being used is array, and instead, can be null, bool, int...
We need to check that because php74 warns about it.
Where possible we have used the coalesce operator as
replacement for isset() ternary operations.
2020-01-03 11:33:15 +01:00
Marina Glancy
9f2c665999
MDL-67084 core_form: duration element should export arrays
2019-11-07 19:21:16 +08:00
Frederic Massart
fc7f69e7e8
MDL-51948 formslib: Support forcing LTR on form elements
...
Part of MDL-55071
2016-09-23 10:54:49 +01:00
Marina Glancy
721e2def56
MDL-55123 forms: do not call non-static methods statically
...
this breaks in PHP7.1
2016-09-12 12:06:18 +08:00
Marina Glancy
32fada5cb2
MDL-52081 forms: indicate usage of grandparent constructor
2015-12-10 13:38:04 +08:00
Marina Glancy
1a0df5535e
MDL-52081 forms: Use __construct() for constructors
2015-12-10 13:38:01 +08:00
Eloy Lafuente (stronk7)
444af7c65f
MDL-34853 code style fixes
2012-08-22 03:25:40 +02:00
Petr Škoda
090b173437
MDL-34853 add weeks unit to forms element duration
2012-08-22 03:00:11 +02:00
Rajesh Taneja
61cca0b7fc
MDL-32940 libraries: Replaced deprecated PARAM_NUMBER with PARAM_FLOAT
2012-07-23 17:21:05 +08:00
Petr Skoda
fabbf4398b
MDL-32094 some nasty quickforms hacks that should help with E_STRICT
...
Note: we have stopped tracking our QuickForms hacks long ago.
2012-03-18 18:39:37 +01:00
Sam Hemelryk
58b7d48f9a
MDL-30974 forms: Last minute phpdoc fixes
2012-02-21 12:39:35 +13:00
Rajesh Taneja
6c1fd30484
MDL-30974 form: Checked and updated docblock for form library
2012-02-15 12:55:06 +08:00
Petr Skoda
4a0e2e632f
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 11:42:23 +00:00
tjhunt
562b75b21f
formslib durations: MDL-18500 Let the form control the default unit.
2009-03-16 05:57:25 +00:00
tjhunt
f3a076ded4
MDL-18500 New formslib element type duration for periods of time.
2009-03-11 06:07:33 +00:00
tjhunt
32fa227255
duration formslib element: MDL-18500 crude initial version so I can commit some dependant quiz changes
...
This will be a formslib element for entering a time duration, like a quiz time limit. A better version to follow.
2009-03-10 06:46:34 +00:00