I am new to magneto.I have local module and it has a observer(it has function). I need to call that observer function via url to check whether its working or not.
Config.xml
<config>
<modules>
<Magestore_Lesson17>
<version>0.1.0</version>
</Magestore_Lesson17>
</modules>
<global>
<models>
<lesson17>
<class>Magestore_Lesson17_Model</class>
</lesson17>
</models>
<helpers>
<lesson17>
<class>Magestore_Lesson17_Helper</class>
</lesson17>
</helpers>
<events>
<checkout_onepage_controller_success_action>
<observers>
<magestore_lesson17_obsever>
<type>singleton</type>
<class>lesson17/observer</class>
<method>getAlert</method>
</magestore_lesson17_obsever>
</observers>
</checkout_onepage_controller_success_action>
</events>
</config>
Observer.php
<?php
class Magestore_Lesson17_Model_Observer
{
public function getAlert($observer)
{
echo "Hello world";
}
}
?>