Index
-
\com\setasign\Konquadrat
-
Object
- AbstractCachingDocument
- AbstractObject
- AbstractObjectInterface
- AbstractObjectSet
- Action
- ActionResolver
- ActionResolverInterface
- Custom
- Database
- DocumentInterface
- DocumentResolver
- DocumentResolverInterface
- GlobalDiWakeupObjectResolver
- History
- ImportInterface
- InitTraitResolver
- InitTraitResolverInterface
- InstancePool
- InstancePoolInterface
- InstancePoolManager
- ManualQueryBuilder
- MassActionResolver
- MassActionResolverInterface
- MessageList
- MissingConfigurationException
- ObjectConfig
- ObjectFactory
- ObjectFactoryInterface
- ObjectFinder
- ObjectManager
- ObjectSaveException
- ObjectSet
- ObjectSet
- ObjectTableManager
- Scope
- Selector
- SmartObjectSet
- TemporaryReference
- TransactionManager
- UnknownObjectException
- WakeupObjectResolverInterface
-
Object
com\setasign\Konquadrat\Object
ObjectConfig
File: /Konquadrat/src/Object/ObjectConfig.php
Class hierarchy
Summary
Methods
- __construct()
- findNeededFields()
- getAllDirectlyReferencingFields()
- getAllDirectlyReferencingFieldsOfTemplates()
- getAllFieldnames()
- getAllFields()
- getAllImplemented()
- getAllImplementing()
- getAllImplementingTemplates()
- getAllNotDefaultObjectsAndTemplates()
- getAllObjects()
- getAllReferenceFieldnames()
- getAllReferenceFields()
- getAllReferenceFieldsOfTemplates()
- getAllReferencingFields()
- getAllTableNames()
- getAllTableNamesAndColumnNames()
- getAllTemplates()
- getAllViews()
- getAllowedParent()
- getAllowedReference()
- getColumnNameByFieldName()
- getConfigOfObjectType()
- getDescription()
- getDetailsConfig()
- getField()
- getFieldImplementor()
- getFieldNameByColumnName()
- getGridConfig()
- getHideChilds()
- getHideInTree()
- getIdentifier()
- getName()
- getNeededFieldsForDetails()
- getTableNameByFieldName()
- getUseHistory()
- hasField()
- hasGridConfig()
- isConfigured()
- isDefault()
- isDeprecated()
- isImplemented()
- isInstanceOf()
- isObject()
- isParentRequired()
- isTemplate()
- replaceFieldsReferences()
- resolveReferenceFieldNames()
- resolveTypeListToObjects()
- sanitizeType()
Properties
$cache
Not a real cache, just keep the results in memory.
$objects
$templates
Methods
findNeededFields()
Parameters
- $config : \com\setasign\SetaFramework\Config\Config
getAllDirectlyReferencingFields()
This method returns all fields that can reference directly on $type.
Parameters
- $type : string
Return Values
Key: ObjectType Value: Array with all FieldNames
getAllFieldnames()
Returns the field names of an object or a template.
Parameters
- $name : string
Name of the object or template.
getAllFields()
Returns all fields of an object or a template.
Parameters
- $name : string
Name of the object or template.
getAllImplemented()
Return all names of the templates that the template/object $name uses.
The order is in the order of implementation.
Parameters
- $name : string
Name of the template or object
- $recursive : bool
getAllImplementing()
Returns all object names that implementing the template $name
Parameters
- $name : string
Name of the template
getAllImplementingTemplates()
Returns all templates which implement the template $name.
Parameters
- $name : string
getAllReferenceFieldnames()
Returns the names of the reference fields of an object or a template.
Parameters
- $name : string
Name of the object or template.
getAllTableNames()
Returns all table names for the template/object $name.
Parameters
- $type : string
Name of the template or object
getConfigOfObjectType()
Parameters
- $type : string
getFieldImplementor()
Returns the type which implements the field $fieldName.
Parameters
- $type : string
- $fieldName : string
getFieldNameByColumnName()
string $columnNameAndTableName
Parameters
- $type : string
- $columnNameAndTableName : string
hasField()
Checks whether the field exists.
Parameters
- $type : string
Name of the template or object
- $fieldName : string
Name of the field
isImplemented()
Checks whether $subType is implemented by $objectType
Parameters
- $objectType : string
- $subType : string
isInstanceOf()
Parameters
- $object : AbstractObjectInterface
- $subType : class-string<subType>
replaceFieldsReferences()
Parameters
- $detailsConfig : \com\setasign\SetaFramework\Config\Config
resolveReferenceFieldNames()
Parameters
- $fieldNames : string|array<string, string>|string[]
resolveTypeListToObjects()
Resolves a list of types to only the final objects.
Parameters
- $types : string[]
