コード例 #1
0
ファイル: Humour.php プロジェクト: sayi21cn/yt-for-coding
 /**
  * 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()));
 }