private function getObserverType(array $observer, $area)
{
// singleton is the default type Mage_Core_Model_App::dispatchEvent
$type = 'singleton';
if ('crontab' === $area) {
// direct model name is the default type Mage_Core_Model_Config::loadEventObservers in crontab area
// '' means that no Mage::get___() will be used
$type = '';
}
if (isset($observer['type'])) {
$type = $observer['type'];
}
$type = str_pad($type, 11, ' ', STR_PAD_RIGHT);
return $type;
}