protected function afterSave() { parent::afterSave(); self::extraAfterSave($this); }
protected function afterSave() { parent::afterSave(); if ($this->isNewRecord) { Object::saveMetaValue('price', $this->price, $this, true); } else { Object::saveMetaValue('price', $this->price, $this, false); } }