Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

RedBeanModelMulitpleSameModelRelationsTest Class Reference

Inheritance diagram for RedBeanModelMulitpleSameModelRelationsTest:
BaseTest

Public Member Functions

 testMultipleHasOnesToTheSameModel ()
 testMultipleHasManysToTheSameModel ()
 testAssumptiveLinkWithARelationNameThatIsNotTheModelClassName ()
 testSearchQueryFormulatesProperlyForAssumptiveLink ()
 testMultipleManyManysToTheSameModel ()
 testMultipleManyManysToTheSameModelSearchQueryFormsCorrectly ()
 testMultipleBelongsToTheSameModel ()
 testAreRelationsValidWithOnlyOneAssumptiveLinkAgainstASingleModel ()
 testMoveThisSomewhereElse ()
 testHasOneBelongsToSupportsSpecificLinks ()

Static Public Member Functions

static getDependentTestModelClassNames ()

Detailed Description

This test class tests various relationship scenarios where there are 2 relationships pointing to the same model. For example Model A has a relationship b1 that goes to B and also has a relationship b2 that goes to B. This presents new challenges that are tested in this class.

Definition at line 42 of file RedBeanModelMulitpleSameModelRelationsTest.php.


Member Function Documentation

testSearchQueryFormulatesProperlyForAssumptiveLink (  ) 

Test that search where clause is generated properly when the assumptive link is for a relation with a different name than the model class name testAssumptiveLinkWithARelationNameThatIsNotTheModelClassName

Definition at line 211 of file RedBeanModelMulitpleSameModelRelationsTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 25 07:11:00 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8