Closed rhertogh closed 9 years ago
The relations between the ActiveRecords have unclear names E.g.
//LanguageTranslate.php public function getId0() { return $this->hasOne(LanguageSource::className(), ['id' => 'id']); } public function getLanguage0() { return $this->hasOne(Language::className(), ['language_id' => 'language']); }
I would expect:
public function getLanguageSource() { ... } public function getLanguage() { ... }
Is this done with a specific reason?
The function cannot be called getLanguage due to a name conflict.
Thanks for the comment.
The relations between the ActiveRecords have unclear names E.g.
I would expect:
Is this done with a specific reason?