Inheritance: extends Mage_Core_Helper_Abstract
Example #1
0
 protected function _printHeader()
 {
     $isActive = $this->_helper->isActive() ? $this->__getColoredString("tracking is active", self::TERM_COLOR_GREEN) : $this->__getColoredString("tracking is not active", self::TERM_COLOR_RED);
     $isAnonymous = $this->_helper->isAnonymousUser();
     $user = $this->_helper->getUser();
     $user = $this->__getColoredString("user is " . $user, $isAnonymous ? self::TERM_COLOR_YELLOW : self::TERM_COLOR_GREEN);
     printf("\r\nMageploy v %s - %s - %s\r\n\r\n", $this->__getVersion(), $isActive, $user);
 }
Example #2
0
 protected function _getPendingActionsCount()
 {
     return $this->_helper->getPendingActionsCount();
 }