RedBeanModelMemberRulesToColumnsAdapter Class Reference

Static Public Member Functions

static resolve ($modelClassName, array $members, array $rules, &$messageLogger)

Detailed Description

Adapter class to generate column definitions when provided with members, rules, modelClassName

Definition at line 40 of file RedBeanModelMemberRulesToColumnsAdapter.php.


Member Function Documentation

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

Provided a modelClassName, members and corresponding rules columns array is generated for schema generation. Members with unique validators are tracked separately to be used with index array generation later.

Parameters:
string $modelClassName
array $members
array $rules
$messageLogger 
Returns:
array
Exceptions:
CException 

Definition at line 52 of file RedBeanModelMemberRulesToColumnsAdapter.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Sep 22 07:10:29 2017