PHP 클래스 RedUNIT\Base\Association

저자: Gabor de Mooij and the RedBeanPHP Community
상속: extends RedUNIT\Base
파일 보기 프로젝트 열기: gabordemooij/redbean

공개 메소드들

메소드 설명
testCrossAssociation ( ) : void Test self-referential associations.
testErrorHandling ( ) : void Tests error handling related to association.
testFastTrackDeletion ( ) : void Test fast-track deletion, i.e. bypassing FUSE.
testMultiAssociationDissociation ( ) : void Test multiple assiociation.
testMySQL ( ) : void MySQL specific tests.
testOneToOne ( ) : void Test limited support for 1-to-1 associations.
testPoly ( ) : void Test limited support for polymorph associations.
testSingleColUniqueConstraint ( ) : void Test single column bases unique constraints.

메소드 상세

testCrossAssociation() 공개 메소드

Test self-referential associations.
public testCrossAssociation ( ) : void
리턴 void

testErrorHandling() 공개 메소드

On database systems providing informative SQL STATE error codes RedBeanPHP should not mind non-existing tables or columns in fluid mode.
public testErrorHandling ( ) : void
리턴 void

testFastTrackDeletion() 공개 메소드

For link beans.
public testFastTrackDeletion ( ) : void
리턴 void

testMultiAssociationDissociation() 공개 메소드

Test multiple assiociation.

testMySQL() 공개 메소드

Test MySQL specific issues with constraints.
public testMySQL ( ) : void
리턴 void

testOneToOne() 공개 메소드

The rule is, one-to-ones are supposes to be in the same table, this is just for some legacy tables not designed to work with RedBeanPHP at all.
public testOneToOne ( ) : void
리턴 void

testPoly() 공개 메소드

RedBeanPHP does not really feature polymorph relations since they are not really compatible with traditional relational databases. However a light-weight, basic implementation has been added for those circumstances where you can't live without... i.e... possible legacy systems and so on.
public testPoly ( ) : void
리턴 void

testSingleColUniqueConstraint() 공개 메소드

Test single column bases unique constraints.