Attribute

Aggrosoft\WAWIBundle\Entity\Attribute
9
Columns
6
Relations
20
Properties

Relationships

Click entity to navigate
erDiagram
    Attribute {
                string id PK
                string foreignId
                string title
                integer sort
                boolean hidden
                text allowedValues
                        ___ ___more___
            }
                Attribute }o--o{ Product : "products"
        Product {
        int id PK
    }
                Attribute ||--o{ AttributeValue : "attributevalues"
        AttributeValue {
        int id PK
    }
                Attribute }o--o{ Client : "clients"
        Client {
        int id PK
    }
                Attribute ||--o{ AttributeMetaField : "metafields"
        AttributeMetaField {
        int id PK
    }
                Attribute }o--o{ ObjectGroup : "groups"
        ObjectGroup {
        int id PK
    }
                Attribute }o--|| Client : "mainClient"
        Client {
        int id PK
    }
                    

Metadaten

Tabelle attribute
Bundle WAWIBundle
Repository Aggrosoft\WAWIBundle\Entity\Repository\AttributeRepository
Interfaces
IMultiClientable IMetaExtendable IMainClientable Translatable IGroupable IUpdateTimeTrackable IHasLanguage
Property Column Type Flags Twig Access
id id string(36)
PK AUTO
{{ entity.id }}
foreignId foreign_id string(36)
{{ entity.foreignId }}
title title string(255)
{{ entity.title }}
sort sort integer(11)
{{ entity.sort }}
hidden hidden boolean
{{ entity.hidden }}
allowedValues allowedValues text
{{ entity.allowedValues }}
allowMultipleValues allowMultipleValues boolean
{{ entity.allowMultipleValues }}
multipleValuesSeparator multipleValuesSeparator string(5)
{{ entity.multipleValuesSeparator }}
updated updated datetime
{{ entity.updated }}

Tipp: Diese Properties sind über Getter/Setter-Methoden in Twig verfügbar. Verwende {{ entity.propertyName }} zum Lesen.

Property Access Twig Usage Methods Return Type
clients DB
read
{{ entity.clients }}
getClients()
\Doctrine\Common\Collections\Collection
activeClient Computed
read
{{ entity.activeClient }}
getActiveClient()
-
id DB
read
{{ entity.id }}
getId()
string
foreignId DB
read write
{{ entity.foreignId }}
getForeignId()
setForeignId()
string
title DB
read write
{{ entity.title }}
getTitle()
setTitle()
string
sort DB
read write
{{ entity.sort }}
getSort()
setSort()
integer
products DB
read
{{ entity.products }}
getProducts()
\Doctrine\Common\Collections\Collection
attributevalues DB
read
{{ entity.attributevalues }}
getAttributevalues()
\Doctrine\Common\Collections\Collection
metafields DB
read
{{ entity.metafields }}
getMetafields()
\Doctrine\Common\Collections\Collection
translatableLocale Computed
write

setTranslatableLocale()
-
mainClient DB
read write
{{ entity.mainClient }}
getMainClient()
setMainClient()
\Aggrosoft\WAWIBundle\Entity\Client
groups DB
read
{{ entity.groups }}
getGroups()
\Doctrine\Common\Collections\Collection
allowedValues DB
read write
{{ entity.allowedValues }}
getAllowedValues()
setAllowedValues()
string
allowMultipleValues DB
read write
{{ entity.allowMultipleValues }}
getAllowMultipleValues()
setAllowMultipleValues()
boolean
hidden DB
read write
{{ entity.hidden }}
getHidden()
setHidden()
boolean
entityLocale Computed
read
{{ entity.entityLocale }}
getEntityLocale()
-
multipleValuesSeparator DB
read write
{{ entity.multipleValuesSeparator }}
getMultipleValuesSeparator()
setMultipleValuesSeparator()
string
updated DB
read write
{{ entity.updated }}
getUpdated()
setUpdated()
\DateTime
selectedLanguage Computed
read write
{{ entity.selectedLanguage }}
getSelectedLanguage()
setSelectedLanguage()
-
language Computed
read
{{ entity.language }}
getLanguage()
-
Property Type Target Entity Mapped By Inversed By Cascade Twig Access
products ManyToMany Product attributes - - {{ entity.products }}
attributevalues OneToMany AttributeValue attribute -
persist remove
{{ entity.attributevalues }}
clients ManyToMany Client - attributes - {{ entity.clients }}
metafields OneToMany AttributeMetaField attribute -
persist remove
{{ entity.metafields }}
groups ManyToMany ObjectGroup - attributes - {{ entity.groups }}
mainClient ManyToOne Client - - - {{ entity.mainClient }}
Index Name Columns Type
search_idx
foreign_id
INDEX