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