コード例 #1
0
ファイル: Gallery.php プロジェクト: phamviet1510/daitech-web
 public function getCategoryName()
 {
     return $this->hasOne(CategoryGallery::className(), ['category_id' => 'category_id']);
 }