yii2-activerecord-inheritance icon indicating copy to clipboard operation
yii2-activerecord-inheritance copied to clipboard

ActiveRecord Inheritance is an util to provide the Class Table Inheritance Pattern the to the Yii2 framework

Results 7 yii2-activerecord-inheritance issues
Sort by recently updated
recently updated
newest added

When trying to access a parent property for a newly created ActiveRecord, the whole server crashes without any error. It's working fine with the 2.0.44 version. I've tried with php...

Hi there, Are the parent rules supposed to be inherited by the child class? I'm assuming so since the properties theirselves are. However that's not working for me. Thanks

bug

```php class Parent extends ActiveRecord { $test = '123'; public function text() { echo $this->test; } } class Child extends ActiveRecord implements ActiveRecordInheritanceInterface { use ActiveRecordInheritanceTrait; $test = '456'; public...

Hello! First of all thank you for your work! I found a little issue. Trying explain it :) If i refresh child model then i see that there are one...

Hi @jlorente, Testing your trait with cascading inheritance, getAttributes not work correctly. In this case only returns the values of the attributes of the model and model parent. Grandparent attributes...

Hi! Is there any way to filter a GridView by parent attributes? I managed to do the sorting, but the filtering is not working. It's showing validation errors on each...

I think that should override `fields()` and `extraFields()` as necessary to serialize data in a RESTFul API.

enhancement