public function getTags() {
        return implode(",", array_keys(ArrayHelper::map($this->owner->getModelTags()->asArray()->all(), 'name', 'name')));
    }
public function getTags() {
        return implode(",", array_keys(ArrayHelper::map($this->owner->getModelTags()->asArray()->all(), 'name', 'name')));
    }
public function getTags ( ) { return implode ( "," , array_keys ( ArrayHelper :: map ( $ this -> owner -> getModelTags ( ) -> asArray ( ) -> all ( ) , 'name' , 'name' ) ) ) ; }
Get the tags separated by ','. It uses the relation called modelTags from the model

@return string
Get the tags separated by . It uses the relation called modelTags from the model