Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Inheritance not extending correctly #572

drodil opened this Issue · 2 comments

2 participants


Here is my schema:

<table name="object">
    <column name="ID" phpName="Id" type="INTEGER" size="10" sqlType="int(10) unsigned" primaryKey="true" autoIncrement="true" required="true"/>
    <column name="ObjectTypeID" type="integer" inheritance="single">
        <inheritance key="1" class="Person" extends="Object"/>
<table name="person">
    <column name="Forename" phpName="Forename" type="VARCHAR" size="45" required="true"/>
    <column name="Surname" phpName="Surname" type="VARCHAR" size="45" required="true"/>

When I run the schema update and check the BasePerson class it does not extend the ChildObject correctly thus the PersonQuery class correctly extends the ObjectQuery class. Is this a bug or am I doing something wrong?


I guess the Base\Person should just not be generated as it's nowhere in use.


The question is: For what do you need BasePerson?

@marcj marcj closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.