Add StartTime and EndTime virtual fields for backwards compatability

This commit is contained in:
Isaac Connor
2020-11-06 11:15:12 -05:00
parent 68cdd2123d
commit 402b559b2c

View File

@@ -31,6 +31,10 @@ class Event extends AppModel {
*/
public $displayField = 'Name';
public $virtualFields = array(
'StartTime' => 'StartDateTime',
'EndTime' => 'EndDateTime'
);
//The Associations below have been created with all possible keys, those that are not needed can be removed