Пример #1
0
 /**
  * This is invoked after the record is saved.
  */
 public function afterSave($insert, $changedAttributes)
 {
     parent::afterSave($insert, $changedAttributes);
     Tag::updateFrequency($this->_oldTags, $this->tags, strtolower($this->getClassName()));
 }