Exemple #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSender0()
 {
     return $this->hasOne(Section::className(), ['id' => 'sender']);
 }
Exemple #2
0
 public function getDepart_role()
 {
     return $this->hasOne(Section::className(), ['id' => 'location']);
 }
Exemple #3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSections()
 {
     return $this->hasMany(Section::className(), ['updated_by' => 'user_id']);
 }
Exemple #4
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSectionsdata()
 {
     return $this->hasMany(Section::className(), ['sec_id' => 'usec_section_id'])->via('sections');
 }
Exemple #5
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSection()
 {
     return $this->hasOne(Section::className(), ['sec_id' => 'usec_section_id']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSections()
 {
     return $this->hasMany(Section::className(), ['catalog_id' => 'id_catalog']);
 }
Exemple #7
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSectionwithguests()
 {
     $query = $this->hasMany(Section::className(), ['sec_cnf_id' => 'cnf_id'])->with('guests');
     return $query;
 }