/**
  * @return \yii\db\ActiveQuery
  */
 public function getGlHeaders()
 {
     return $this->hasMany(GlHeader::className(), ['id_periode' => 'id_periode']);
 }
Exemple #2
0
 public static function modelClass()
 {
     return GlHeader::className();
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getIdGl()
 {
     return $this->hasOne(GlHeader::className(), ['id_gl' => 'id_gl']);
 }