PHP Класс Doctrine\OXM\Mapping\MappingException

С версии: 2.0
Автор: Richard Fullmer ([email protected])
Наследование: extends Doctrine\OXM\OXMException
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
classIsNotAValidXmlEntity ( $className )
classIsNotAValidXmlEntityOrXmlMappedSuperClass ( $className )
couldNotInferGetterMethod ( $entityName, $fieldName )
couldNotInferSetterMethod ( $entityName, $fieldName )
customTypeWithoutNodeElement ( $className, $fieldName )
duplicateFieldMapping ( string $entity, string $fieldName )
duplicateXmlFieldName ( $className, $bindingName )
duplicateXmlNameBinding ( $className, $xmlName )
fieldGetMethodDoesNotExist ( $className, $fieldName, $getMethod )
fieldRequired ( $entityName, $fieldName )
fieldSetMethodDoesNotExist ( $className, $fieldName, $setMethod )
fieldTypeNotFound ( $className, $fieldName, $type )
fileMappingDriversRequiresConfiguredDirectoryPath ( $path = null )
invalidInheritanceType ( $entityName, $type )
invalidMapping ( string $fieldName ) Generic exception for invalid mappings.
mappingFileNotFound ( $entityName, $fileName )
mappingNotFound ( $className, $fieldName )
missingFieldForBinding ( $fieldName )
missingFieldName ( $entity )
missingFieldType ( $className, $fieldName )
noFieldNameFoundForXmlName ( $className, $column )
pathRequired ( )
propertyTypeIsRequired ( $className, $propertyName )
reflectionFailure ( string $entity, ReflectionException $previousException ) Exception for reflection exceptions - adds the entity name, because there might be long classnames that will be shortened within the stacktrace
xmlBindingTypeUnknown ( $fieldName, $bindingType )

Описание методов

classIsNotAValidXmlEntity() публичный статический Метод

public static classIsNotAValidXmlEntity ( $className )

classIsNotAValidXmlEntityOrXmlMappedSuperClass() публичный статический Метод

public static classIsNotAValidXmlEntityOrXmlMappedSuperClass ( $className )

couldNotInferGetterMethod() публичный статический Метод

public static couldNotInferGetterMethod ( $entityName, $fieldName )

couldNotInferSetterMethod() публичный статический Метод

public static couldNotInferSetterMethod ( $entityName, $fieldName )

customTypeWithoutNodeElement() публичный статический Метод

public static customTypeWithoutNodeElement ( $className, $fieldName )

duplicateFieldMapping() публичный статический Метод

public static duplicateFieldMapping ( string $entity, string $fieldName )
$entity string The entity's name
$fieldName string The name of the field that was already declared

duplicateXmlFieldName() публичный статический Метод

public static duplicateXmlFieldName ( $className, $bindingName )

duplicateXmlNameBinding() публичный статический Метод

public static duplicateXmlNameBinding ( $className, $xmlName )

fieldGetMethodDoesNotExist() публичный статический Метод

public static fieldGetMethodDoesNotExist ( $className, $fieldName, $getMethod )

fieldRequired() публичный статический Метод

public static fieldRequired ( $entityName, $fieldName )

fieldSetMethodDoesNotExist() публичный статический Метод

public static fieldSetMethodDoesNotExist ( $className, $fieldName, $setMethod )

fieldTypeNotFound() публичный статический Метод

public static fieldTypeNotFound ( $className, $fieldName, $type )

fileMappingDriversRequiresConfiguredDirectoryPath() публичный статический Метод

public static fileMappingDriversRequiresConfiguredDirectoryPath ( $path = null )

invalidInheritanceType() публичный статический Метод

public static invalidInheritanceType ( $entityName, $type )

invalidMapping() публичный статический Метод

Generic exception for invalid mappings.
public static invalidMapping ( string $fieldName )
$fieldName string

mappingFileNotFound() публичный статический Метод

public static mappingFileNotFound ( $entityName, $fileName )

mappingNotFound() публичный статический Метод

public static mappingNotFound ( $className, $fieldName )

missingFieldForBinding() публичный статический Метод

public static missingFieldForBinding ( $fieldName )

missingFieldName() публичный статический Метод

public static missingFieldName ( $entity )

missingFieldType() публичный статический Метод

public static missingFieldType ( $className, $fieldName )

noFieldNameFoundForXmlName() публичный статический Метод

public static noFieldNameFoundForXmlName ( $className, $column )

pathRequired() публичный статический Метод

public static pathRequired ( )

propertyTypeIsRequired() публичный статический Метод

public static propertyTypeIsRequired ( $className, $propertyName )

reflectionFailure() публичный статический Метод

Exception for reflection exceptions - adds the entity name, because there might be long classnames that will be shortened within the stacktrace
public static reflectionFailure ( string $entity, ReflectionException $previousException )
$entity string The entity's name
$previousException ReflectionException

xmlBindingTypeUnknown() публичный статический Метод

public static xmlBindingTypeUnknown ( $fieldName, $bindingType )