/** * @return \yii\db\ActiveQuery */ public function getHeader() { return $this->hasOne(GlHeader::className(), ['id' => 'header_id']); }
/** * @return \yii\db\ActiveQuery */ public function getGlHeaders() { return $this->hasMany(GlHeader::className(), ['id_branch' => 'id_branch']); }
/** * @return \yii\db\ActiveQuery */ public function getGlHeaders() { return $this->hasMany(GlHeader::className(), ['periode_id' => 'id']); }