示例#1
0
文件: Edocument.php 项目: poykub/wph
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSender0()
 {
     return $this->hasOne(Section::className(), ['id' => 'sender']);
 }
示例#2
0
文件: Comstock.php 项目: poykub/wph
 public function getDepart_role()
 {
     return $this->hasOne(Section::className(), ['id' => 'location']);
 }
示例#3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSections()
 {
     return $this->hasMany(Section::className(), ['updated_by' => 'user_id']);
 }
示例#4
0
文件: User.php 项目: mosedu/confprof
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSectionsdata()
 {
     return $this->hasMany(Section::className(), ['sec_id' => 'usec_section_id'])->via('sections');
 }
示例#5
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSection()
 {
     return $this->hasOne(Section::className(), ['sec_id' => 'usec_section_id']);
 }
示例#6
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSections()
 {
     return $this->hasMany(Section::className(), ['catalog_id' => 'id_catalog']);
 }
示例#7
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSectionwithguests()
 {
     $query = $this->hasMany(Section::className(), ['sec_cnf_id' => 'cnf_id'])->with('guests');
     return $query;
 }