/** * @return \yii\db\ActiveQuery */ public function getOcorrencias() { return $this->hasMany(Ocorrencia::className(), ['idCategoria' => 'idCategoria']); }
/** * @return \yii\db\ActiveQuery */ public function getIdOcorrencia0() { return $this->hasOne(Ocorrencia::className(), ['idOcorrencia' => 'idOcorrencia']); }
public function getOcorrencias() { return $this->hasMany(Ocorrencia::className(), ['cpfUsuario' => 'cpf']); }
/** * @return \yii\db\ActiveQuery */ public function getOcorrencias() { return $this->hasMany(Ocorrencia::className(), ['idSubLocal' => 'idSubLocal']); }