Welcome Guest, Not a member yet? Register   Sign In
Help with updating to 3.0
#9

MY_Model:
Quote:public function save($data, $id = NULL) {
Siteconfig:
Quote:public function save($key, $value) {

The second one has to be compatible with the first, meaning Siteconfig:Confusedave() must have a default value on the second argument.

The comment made by dbui earlier about the name of the __construct method should be addressed as well.
Reply


Messages In This Thread
Help with updating to 3.0 - by MattafixTM - 02-15-2015, 05:37 AM
RE: Help with updating to 3.0 - by MattafixTM - 02-15-2015, 10:35 AM
RE: Help with updating to 3.0 - by rocks - 02-15-2015, 11:31 PM
RE: Help with updating to 3.0 - by mwhitney - 02-16-2015, 10:14 AM
RE: Help with updating to 3.0 - by MattafixTM - 02-19-2015, 08:25 PM
RE: Help with updating to 3.0 - by MattafixTM - 02-22-2015, 08:53 AM
RE: Help with updating to 3.0 - by dbui - 02-22-2015, 11:06 PM
RE: Help with updating to 3.0 - by MattafixTM - 02-23-2015, 06:18 AM
RE: Help with updating to 3.0 - by mwhitney - 02-24-2015, 01:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB