Post sheet |
Hello guys,
I have an webapp which the user insert a specific sheet. Those sheets are predefined by the admin. So... some sheets have 15 lines, other ones have 50. On submit, the user can to choose to SAVE or to SEND or to EXPORT or to PRINT the sheet. But, if the user choice be SEND or EXPORT or PRINT, the sheet need to save itself first. I am using something like that: PHP Code: Class Sheet { Of course I have a redundance in validating and saving the data into DB. I tried to do something like that PHP Code: public function send() { and also tried changing save to a static method PHP Code: public function send() { None work. Some suggestion? |
Messages In This Thread |
Post sheet - by juninhodeluca - 12-13-2014, 05:54 AM
RE: Post sheet - by InsiteFX - 12-13-2014, 06:59 AM
RE: Post sheet - by Narf - 12-14-2014, 08:49 AM
RE: Post sheet - by Rufnex - 12-13-2014, 07:49 AM
|