I have a custom model in a custom Magento model with a static function:
class ABC_Module_Model_ClassName
{
static public function send ( $something)
{
// do something static
}
}
Now I call the function like this:
ABC_Module_Model_ClassName::send($something); // works and is nothing wrong with it
More for consistency purposes, I would like to know if Mage has an internal way of calling static methods, something like this:
Mage::getModel('abc/module_className')::send($something); // this is wrong
// or
Mage::getModel('abc/module_className', send($something)); // with a callback or something