get dates between 2 dates and create entry for each excluding weekends and public holidays
HI, I need some help as to how can i get the business dates from start date and end date and creating entry in the mysql database for the calculated business dates between start and end date. I'm a newbie and any form of help is much appreciated. Thanks Para -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at https://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
How To / Example of OO Inheritance for CakePHP 3
how would one create a CakePHP3 app and what database tabels would i need to create an app that uses inheritance. for example fictional setup: [Person] <--- [Customer] [Person]<--- [Manager] All Persons have "name". Customer has "order_amount". Manager has "sales_total". Person has a method "getName()" , which is avavailable through inheritance in Customer and manager. Person is the parent class and Customer and manager are the child-classes. How would i implement this in CakePHP? I could create a customer and manager database table and bake this to two models. but that would mean that the getName() function would be implemented in both classes. Could somebody help me grasp this in cakephp? thanks. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at https://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.