RedBeanModelRelationsToColumnsAdapter Class Reference

Static Public Member Functions

static resolve ($modelClassName, array $relations, &$messageLogger)

Detailed Description

Adapter class to generate column definitions when provided with relations, modelClassName

Definition at line 40 of file RedBeanModelRelationsToColumnsAdapter.php.


Member Function Documentation

static resolve ( modelClassName,
array $  relations,
&$  messageLogger 
) [static]

Generates column definitions and/or junction tables depending on relationships

Parameters:
string $modelClassName
array $relations
$messageLogger 
Returns:
array
Exceptions:
CException 

Definition at line 50 of file RedBeanModelRelationsToColumnsAdapter.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Nov 23 07:10:29 2017