Reply to comment

Lucjan Wilczewski's picture
Lucjan Wilczewski - Wed, 03/02/2010 - 12:09:

baobazacustommodule/observer is a typical model class alias, so the first part - baobazacustommodule - is what you have defined in <models> section of config.xml as alias for Baobaz_ACustomModule_Model (points at path /Baobaz/ACustomModule/Model), and second part - observer - is telling the name of the file within /Baobaz/ACustomModule/Model folder, which is Observer.php.

An example to make the explanation clear:
<models>
  <baobazacustommodule>
    <class>Baobaz_ACustomModule_Model</class>
  </baobazacustommodule>
</models>

Reply

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <p> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options