PHP Класс RedUNIT\Base\Association

Автор: Gabor de Mooij and the RedBeanPHP Community
Наследование: extends RedUNIT\Base
Показать файл Открыть проект

Открытые методы

Метод Описание
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.
public testMultiAssociationDissociation ( ) : void
Результат void

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.
public testSingleColUniqueConstraint ( ) : void
Результат void