PHP 클래스 LeanMapper\Relationship\HasMany

저자: Vojtěch Kohout
파일 보기 프로젝트 열기: tharos/leanmapper 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string | null $columnReferencingSourceTable, string | null $relationshipTable, string | null $columnReferencingTargetTable, string | null $targetTable, string $strategy )
getColumnReferencingSourceTable ( ) : string | null Gets name of column referencing source table
getColumnReferencingTargetTable ( ) : string | null Gets name of column referencing target table
getRelationshipTable ( ) : string | null Gets name of relationship table
getStrategy ( ) : string Gets strategy used to get referencing result
getTargetTable ( ) : string | null Gets name of target table

메소드 상세

__construct() 공개 메소드

public __construct ( string | null $columnReferencingSourceTable, string | null $relationshipTable, string | null $columnReferencingTargetTable, string | null $targetTable, string $strategy )
$columnReferencingSourceTable string | null
$relationshipTable string | null
$columnReferencingTargetTable string | null
$targetTable string | null
$strategy string

getColumnReferencingSourceTable() 공개 메소드

Gets name of column referencing source table

getColumnReferencingTargetTable() 공개 메소드

Gets name of column referencing target table

getRelationshipTable() 공개 메소드

Gets name of relationship table
public getRelationshipTable ( ) : string | null
리턴 string | null

getStrategy() 공개 메소드

Gets strategy used to get referencing result
public getStrategy ( ) : string
리턴 string strategy

getTargetTable() 공개 메소드

Gets name of target table
public getTargetTable ( ) : string | null
리턴 string | null