Exemple #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getIdCarpeta()
 {
     return $this->hasOne(Carpeta::className(), ['id' => 'id_carpeta']);
 }
Exemple #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCarpetas()
 {
     return $this->hasMany(Carpeta::className(), ['id_perfil' => 'id']);
 }