protected static $_observers = array(
        'examplex', // will call Observer_Example class for all events
    );
observer in classes/observer
namespace Kancelarske;
class Observer_Examplex extends \Orm\Observer
{
    public function before_save(Model $model)
    {
    }
}
when i saving..
ok i copied now last develop branch.. but now it have other problemJelmer Schreuder wrote on Thursday 26th of May 2011:Are you on the latest from the Orm develop branch?
yes it isJelmer Schreuder wrote on Thursday 26th of May 2011:Is the model in the same namespace?
when i set Kancelarske\\Observer_Examplex error is :Jelmer Schreuder wrote on Thursday 26th of May 2011:Have you tried adding the observer with a full classname: "Kancelarske\\Observer_Examplex"
public function before_save(Model $model)
    {
    }
public function before_save(\Orm\Model $model)
    {
    }
thanks tooJelmer Schreuder wrote on Thursday 26th of May 2011:Ahh, that's your fault. First take a look at the error you just posted and then at this method:
public function before_save(Model $model) { }
Your observer is in your own namespace so if you typehint Model from there it's expected to be an instance of Kancelarske\Model instead of Orm\Model. Thus the code should be:
public function before_save(\Orm\Model $model) { }
Really, errors often tell you exactly what you need to know.
		It looks like you're new here. If you want to get involved, click one of these buttons!