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