I have a user model in a Magento user model with a static function:
class ABC_Module_Model_ClassName
{
static public function send ( $something)
{
}
}
Now I call the function as follows:
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 to call static methods, something like this:
Mage::getModel('abc/module_className')::send($something);
Mage::getModel('abc/module_className', send($something));
source
share