PHP 클래스 ApiPlatform\SchemaGenerator\GoodRelationsBridge

저자: Kévin Dunglas ([email protected])
파일 보기 프로젝트 열기: api-platform/schema-generator 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$datatypePropertiesTable array
$objectPropertiesTable array
$relations SimpleXMLElement[]

공개 메소드들

메소드 설명
__construct ( array $relations )
exist ( string $id ) : boolean Checks if a property exists in GoodRelations.
extractCardinality ( string $id ) : string | boolean Extracts cardinality from the Good Relations OWL.

비공개 메소드들

메소드 설명
convertPropertyId ( string $id ) : string Converts Schema.org's id to Good Relations id.
getPropertyUrl ( string $id ) : string Gets a property URL.

메소드 상세

__construct() 공개 메소드

public __construct ( array $relations )
$relations array

exist() 공개 메소드

Checks if a property exists in GoodRelations.
public exist ( string $id ) : boolean
$id string
리턴 boolean

extractCardinality() 공개 메소드

Extracts cardinality from the Good Relations OWL.
public extractCardinality ( string $id ) : string | boolean
$id string
리턴 string | boolean

프로퍼티 상세

$datatypePropertiesTable 보호되어 있는 정적으로 프로퍼티

protected static array $datatypePropertiesTable
리턴 array

$objectPropertiesTable 보호되어 있는 정적으로 프로퍼티

protected static array $objectPropertiesTable
리턴 array

$relations 보호되어 있는 프로퍼티

protected SimpleXMLElement[] $relations
리턴 SimpleXMLElement[]