Search
API Documentation
- Doctrine
- Doctrine-association
- Doctrine-association-manytomany
- Doctrine-association-onetomany
- Doctrine-association-onetoone
- Doctrine-classmetadata
- Doctrine-classmetadata-yamldriver
- Doctrine-configurable
- Doctrine-configuration
- Doctrine-connectionfactory
- Doctrine-connection-unitofwork
- Doctrine-entitymanager
- Doctrine-entitymanagerfactory
- Doctrine-entitypersister-abstract
- Doctrine-entitypersister-joinedsubclass
- Doctrine-eventmanager
- Doctrine-eventsubscriber
- Doctrine-internal-commitordercalculator
- Doctrine-internal-commitordernode
- Doctrine-query-parserresultdummy
- Abstract
- Access
- Adapter
- Auditlog
- Builder
- Cache
- Classmetadata
- Cli
- Collection
- Compiler
- Connection
- Data
- Datadict
- Entity
- Entityrepository
- Event
- Eventlistener
- Exception
- Export
- Expression
- File
- Filefinder
- Formatter
- Hook
- Hydrate
- Hydrator
- I18n
- Import
- Inflector
- Lib
- Locking
- Log
- Manager
- Migration
- Node
- Null
- Overloadable
- Pager
- Parser
- Plugin
-
Query
- Query
- Abstract
- AbstractResult
- CacheHandler
- Exception
- Filter
- Chain
- Interface
- Parser
- ParserResult
- Printer
- Production
- ProductionParamHolder
- AggregateExpression
- Atom
- BetweenExpression
- ComparisonExpression
- ComparisonOperator
- ConditionalExpression
- ConditionalFactor
- ConditionalPrimary
- ConditionalTerm
- DeleteClause
- DeleteStatement
- ExistsExpression
- Expression
- Factor
- FieldIdentificationVariable
- FromClause
- Function
- GroupByClause
- GroupByItem
- HavingClause
- IdentificationVariable
- IdentificationVariableDeclaration
- IndexBy
- InExpression
- Join
- LikeExpression
- LimitClause
- NullComparisonExpression
- OffsetClause
- OrderByClause
- OrderByItem
- PathExpression
- PathExpressionEndingWithAsterisk
- Primary
- QuantifiedExpression
- QueryLanguage
- RangeVariableDeclaration
- SelectClause
- SelectExpression
- SelectStatement
- SimpleConditionalExpression
- SimpleSelectClause
- Subselect
- Term
- UpdateClause
- UpdateItem
- UpdateStatement
- VariableDeclaration
- WhereClause
- QueryResult
- Registry
- Scanner
- SqlBuilder
- Abstract
- MultiTableUpdate
- Token
- Tokenizer
- Rawsql
- Record
- Relation
- Search
- Sequence
- Singletabledeleteupdate
- Spyc
- Task
- Template
- Transaction
- Tree
- Validator
- View
Development Doctrine_ClassMetadata_Factory
- Home
- Documentation
- Development API Documentation
- Doctrine_ClassMetadata_Factory
Doctrine ClassMetadata Factory
The metadata factory is used to create ClassMetadata objects that contain all the metadata of a class.
Method Summary
| Returns | Name | Description |
|---|---|---|
| Doctrine_Metadata | getMetadataFor | |
| _addInheritedFields | ||
| _addInheritedRelations | ||
| _initIdentifier | ||
| _loadClasses | ||
| _loadMetadata | ||
| __construct | Creates a new factory instance that uses the given connection and metadata driver implementations. |
Method Details
-
$className The name of the class. (Doctrine_Metadata) getMetadataFor($className)
Returns the metadata object for a class.
-
_addInheritedFields($subClass, $parentClass)
-
_addInheritedRelations($subClass, $parentClass)
-
$class The metadata container of the class in question. _initIdentifier(( ) $class)
Initializes the class identifier(s)/primary key(s).
-
$name The name of the class for which the metadata should get loaded. $tables The metadata collection to which the loaded metadata is added. _loadClasses($name, [[[amp]]]$classes, $tables)
Loads the metadata of the class in question and all it's ancestors whose metadata is still not loaded.
-
$class The container for the metadata. $name The name of the class for which the metadata will be loaded. _loadMetadata(( ) $class, $name)
Loads the metadata of a specified class.
-
$em The connection to use. $driver The metadata driver to use. __construct(( ) $em, ($driver) $driver)
Constructor.
Creates a new factory instance that uses the given connection and metadata driver implementations.




Comments (0) [ add comment ]
No Comments
Add Comment