public function getFiles() { $fileQuery = File::find()->where(['itemId' => $this->owner->id, 'model' => $this->getModule()->getShortClass($this->owner)]); $fileQuery->orderBy(['id' => SORT_ASC]); return $fileQuery->all(); }