Hi,

1. I'd like to create module by extending Module class - can I make
somehow function initialize to be executed automaticaly ? I'd like to
have a code like that:

class MyModel extends Model
{
    public function initialize($context)
    {
        return parent::initialize($context);
    }
   
    public function dump()
    {
        var_dump($this->getContext());
    }
}

Do you think I should avoid Model accessing some other classess (like
User) directly ? Sometimes it comes handy, but I think that reusability
of module suffers because of that.

2. Should we extend include path for %AG_WEBAPP_DIR%/lib by default ?
Wombert's tutorial on how to integrate Agavi & Propel won't work, unless
user will set it.

_______________________________________________
agavi-dev mailing list
[email protected]
http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev

Reply via email to