자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
/** * Customer validate after load * * @param Mage_Customer_Model_Customer $model * @return void */ public function customerLoadAfter($model) { if (!$this->_role->hasWebsiteAccess($model->getWebsiteId(), true)) { $model->setIsReadonly(true); $model->setIsDeleteable(false); } }