public function getRelatedProperties() { return $this->hasMany(CmsTreeTypeProperty::className(), ['tree_type_id' => 'id'])->via('treeType')->orderBy(['priority' => SORT_ASC]); //return $this->cmsContent->cmsContentProperties; }