コード例 #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
ファイル: User.php プロジェクト: aoopvn/EduSec4.0.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
ファイル: Usersection.php プロジェクト: mosedu/confprof
 /**
  * @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
ファイル: Conference.php プロジェクト: mosedu/confprof
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSectionwithguests()
 {
     $query = $this->hasMany(Section::className(), ['sec_cnf_id' => 'cnf_id'])->with('guests');
     return $query;
 }