Closed ardi-n closed 13 years ago
Thank you!
Tell me if you think I can improve the entire thing somehow.
Hello, I was thinking of a sort of interface/Doctrine_Template for models that can be events. Following this concept a Doctrine Record Listener is registered on those and when such a model object is saved/deleted, listener feeds event table with updated info or deletes an event. What's more, an admin can choose what models are displayed inside of calendar dm widget. This way models that are not connected and are separately managed can be mixed in common calendar if such need emerges. Cheers!
The multiple models is a good feature to implement. I'm continuing the discsussion at #2.
In line 9 add check if $choices has at least one element. This way array_combine() won't raise a warning