public function init()
 {
     $this->name = \skeeks\cms\shop\Module::t('app', 'Plans affiliate commissions');
     $this->modelShowAttribute = "name";
     $this->modelClassName = ShopAffiliatePlan::className();
     parent::init();
 }
Esempio n. 2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getPlan()
 {
     return $this->hasOne(ShopAffiliatePlan::className(), ['id' => 'plan_id']);
 }