Doctrine - one to one against core type

Permalink
Q1: Where do i find a list of Core entity types? I'm trying to do an ORM one to one merge between one of my own tables and a concrete core table and i don't know how to reference the core table. I tried to find it looking at the existing source code, but, the core table is defined in db.xml using the old format so i can't leach it from there.

Q2: Here's the details of what i'm trying to do. If I were to write the SQL statement to do it, this is what it would look like:
SELECT assocId,pageTypeId,ptName FROM blogMailerAssociatedPageTypes JOIN pageTypes ON blogMailerAssociatedPageTypes.pageTypeId=pageTypes.ptId ORDER BY ptName


My ORM/doctrine table definition looks like this:
/**
 * @ORM\Entity
 * @ORM\Table(name="blogMailerAssociatedPageTypes")
 */
class AssociatedPageType
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue
     */
    protected $assocId;
    /**
     * @ORM\Column(type="integer")
     */


What do i put in the targetEntity to get this to work?

 
linuxoid replied on at Permalink Reply
linuxoid
If I'm not mistaken, there is no PageType Entity. All entities are listed here:

https://documentation.concrete5.org/api/8.5.2/Concrete/Core/Entity.h...