public function getIndeces() { return $this->hasMany(Index::className(), ['indexid' => 'indid'])->viaTable('indiceslinks', ['quoteid' => 'qid']); }