public function saveSeoContent() {
		$model = $this->getSeoContentModel();
		if (!$model->is_global) {
			$model->title = $this->owner->{$this->titleAttribute};
			$model->keywords = $this->owner->{$this->keywordsAttribute};
			$model->description = $this->owner->{$this->descriptionAttribute};
			$model->save();
		}
	}
public function saveSeoContent() {
		$model = $this->getSeoContentModel();
		if (!$model->is_global) {
			$model->title = $this->owner->{$this->titleAttribute};
			$model->keywords = $this->owner->{$this->keywordsAttribute};
			$model->description = $this->owner->{$this->descriptionAttribute};
			$model->save();
		}
	}
public function saveSeoContent ( ) { $ model = $ this -> getSeoContentModel ( ) ; if ( ! $ model -> is_global ) { $ model -> title = $ this -> owner -> { $ this -> titleAttribute } ; $ model -> keywords = $ this -> owner -> { $ this -> keywordsAttribute } ; $ model -> description = $ this -> owner -> { $ this -> descriptionAttribute } ; $ model -> save ( ) ; } }
Saving seo content
Saving seo content