Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Fatal error: Class 'Custom' contains 1 abstract method and must therefore be declared abstract or
Quote:
confused. Line 80 is last line of file. This happens when I initiate the class $boom = new CustomClass(); I got no paramaters in my constructor. it's more of a helper.
__________________
|
#2
|
||||
|
||||
Mysidia's Model class is abstract, so any classes that inherit it need to define its methods. The error is saying you do not have a save() method in customclass.php.
The class_model.php's save method: PHP Code:
PHP Code:
__________________
The calzones... betrayed me?
|
#3
|
|||
|
|||
Quote:
__________________
|
|
|
What's New? |
What's Hot? |
What's Popular? |