PHP 클래스 Nextras\Orm\Entity\Reflection\EntityMetadata

상속: extends Nette\Object
파일 보기 프로젝트 열기: nextras/orm 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $className )
getClassName ( )
getPrimaryKey ( ) : array
getProperties ( ) : PropertyMetadata[]
getProperty ( string $name ) : PropertyMetadata
hasProperty ( string $name ) : boolean
setPrimaryKey ( array $primaryKey )
setProperty ( string $name, PropertyMetadata $property )

메소드 상세

__construct() 공개 메소드

public __construct ( $className )

getClassName() 공개 메소드

public getClassName ( )

getPrimaryKey() 공개 메소드

public getPrimaryKey ( ) : array
리턴 array

getProperties() 공개 메소드

public getProperties ( ) : PropertyMetadata[]
리턴 PropertyMetadata[]

getProperty() 공개 메소드

public getProperty ( string $name ) : PropertyMetadata
$name string
리턴 PropertyMetadata

hasProperty() 공개 메소드

public hasProperty ( string $name ) : boolean
$name string
리턴 boolean

setPrimaryKey() 공개 메소드

public setPrimaryKey ( array $primaryKey )
$primaryKey array

setProperty() 공개 메소드

public setProperty ( string $name, PropertyMetadata $property )
$name string
$property PropertyMetadata