Buenos días,
trabajando con el componente toba_ei_calendario estoy viendo estos warnings:
Strict Standards: Declaration of calendario::setEventContent() should be compatible with that of activeCalendar::setEventContent() in .../toba_ei_calendario.php on line 299 Strict Standards: Declaration of calendario::showMonth() should be compatible with that of activeCalendar::showMonth() in .../toba_ei_calendario.php on line 299 Strict Standards: Declaration of calendario::mkDatePicker() should be compatible with that of activeCalendar::mkDatePicker() in .../toba_ei_calendario.php on line 299 Strict Standards: Declaration of calendario::mkMonthBody() should be compatible with that of activeCalendar::mkMonthBody() in .../toba_ei_calendario.php on line 299 Strict Standards: Declaration of calendario::mkWeek() should be compatible with that of activeCalendar::mkWeek() in .../toba_ei_calendario.php on line 299 Strict Standards: Declaration of calendario::mkDay() should be compatible with that of activeCalendar::mkDay() in .../toba_ei_calendario.php on line 299
Por lo que se puede ver, en toba_ei_calendario se extendió la clase activecalendar y se reimplementó algunos de sus métodos pero no se respetó la definición original de los mismos (hubo una divergencia interesante jeje). Hay varias soluciones, pero la que me parece mas simple es tomar el contenido de la clase activecalendar y trasladar lo necesario a la clase calendario, de modo que no sea necesario hacer dicha herencia y así prescindir de la libreria completa activecalendar… por supuesto se pondría la referencia a la clase original.
Si les parece bien, puedo hacer los ajustes necesarios y luego adjunto la clase a este hilo asi lo toman como base para toba ![]()