PHP 클래스 Doctrine\OXM\Mapping\MappingException

부터: 2.0
저자: Richard Fullmer ([email protected])
상속: extends Doctrine\OXM\OXMException
파일 보기 프로젝트 열기: doctrine/oxm 1 사용 예제들

공개 메소드들

메소드 설명
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 )