public function testIsReadonly() { $this->assertFalse($this->_model->isReadOnly()); $this->_model->isReadOnly(true); $this->assertTrue($this->_model->isReadOnly()); }
/** * Make websites read-only * * @param Mage_Core_Model_Website $model */ public function coreWebsiteLoadAfter($model) { $model->isReadOnly(true); }