Welcome Guest, Not a member yet? Register   Sign In
Problems with a model
#7

[eluser]Mat-Moo[/eluser]
Code:
class groups_model extends Model {
    //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    function groups_model()
    {
        // Call the Model constructor
        parent::Model();
        log_message('debug', 'groups_model created');
    }

&

class reminders_model extends Model {
    //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    function reminders_model()
    {
        // Call the Model constructor
        parent::Model();
        log_message('debug', 'reminders_model created');
    }
Both just extend base classes - I didn't realise you could have "Child objects though"? How does this happen, and how do you prevent it? And how can I check?

(Thanks for move)


Messages In This Thread
Problems with a model - by El Forum - 01-09-2009, 07:44 AM
Problems with a model - by El Forum - 01-09-2009, 08:21 AM
Problems with a model - by El Forum - 01-09-2009, 08:33 AM
Problems with a model - by El Forum - 01-09-2009, 01:03 PM
Problems with a model - by El Forum - 01-09-2009, 01:08 PM
Problems with a model - by El Forum - 01-09-2009, 01:44 PM
Problems with a model - by El Forum - 01-09-2009, 02:03 PM
Problems with a model - by El Forum - 01-09-2009, 02:08 PM
Problems with a model - by El Forum - 01-09-2009, 02:10 PM
Problems with a model - by El Forum - 01-09-2009, 02:22 PM
Problems with a model - by El Forum - 01-09-2009, 02:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB