/** * Is enabled and allowes inline translations * * @param mixed $store * @return bool */ public function isAllowed($store = null) { if (Mage::getSingleton('core/session')->getInlineTranslationEnabled()) { return true; } return parent::isAllowed($store); }
public function testSetGetIsJson() { $this->assertFalse($this->_model->getIsJson()); $this->_model->setIsJson(true); $this->assertTrue($this->_model->getIsJson()); }