create a function in your Controller of the module you are using. I called mine testAction(). In there, use the following example:
public function testAction()
{
$observer = Mage::getModel('something/observer');
print_r($observer->functionname());
//echo 'hello';
}
To call that function in the browser, use something like http://address/something/controllername/test
No comments:
Post a Comment