protected function _title($text = null, $resetIfExists = true) { if (Mage::helper('ambase')->isVersionLessThan(1, 4)) { return $this; } return parent::_title($text, $resetIfExists); }
protected function _title($text = null, $resetIfExists = true) { if (!Mage::helper('sarp')->checkVersion('1.4.0.0')) { return $this; } return parent::_title($text, $resetIfExists); }
protected function _title($text = null, $resetIfExists = true) { $helper = Mage::helper('massimporterpro'); if ($helper->checkVersion('1.3.2.4', '<=')) { return $this; } else { return parent::_title($text, $resetIfExists); } }
/** * Add an extra title to the end or one from the end, or remove all * * Usage examples: * $this->_title('foo')->_title('bar'); * => bar / foo / <default title> * * $this->_title()->_title('foo')->_title('bar'); * => bar / foo * * $this->_title('foo')->_title(false)->_title('bar'); * bar / <default title> * * @see self::_renderTitles() * * @param null $text * @param bool $resetIfExists * * @return $this|Mage_Core_Controller_Varien_Action */ protected function _title($text = null, $resetIfExists = true) { if (method_exists('Mage_Adminhtml_Controller_Action', '_title')) { return parent::_title($text, $resetIfExists); } if (is_string($text)) { $this->_titles[] = $text; } elseif (-1 === $text) { if (empty($this->_titles)) { $this->_removeDefaultTitle = true; } else { array_pop($this->_titles); } } elseif (empty($this->_titles) || $resetIfExists) { if (false === $text) { $this->_removeDefaultTitle = false; $this->_titles = array(); } elseif (null === $text) { $this->_removeDefaultTitle = true; $this->_titles = array(); } } return $this; }
protected function _title($text = null, $resetIfExists = true) { if (version_compare(Mage::getVersion(), '1.4.2') < 0) { return $this; } return parent::_title($text, $resetIfExists); }
protected function _title($text = null, $resetIfExists = true) { if (Mage::helper('xtcore/utils')->mageVersionCompare(Mage::getVersion(), '1.4.0.0', '>=')) { return parent::_title($text, $resetIfExists); } return $this; }