RedBeanModelMemberIndexMetadataAdapter Class Reference

Static Public Member Functions

static resolve (array &$indexMetadata)
static resolveRandomIndexName ($indexName, $unique=false)

Data Fields

const MAX_INDEX_NAME_LENGTH = 40

Detailed Description

Adapter class to generate index definition when provided with indexName and indexMetadata

Definition at line 40 of file RedBeanModelMemberIndexMetadataAdapter.php.


Member Function Documentation

static resolve ( array &$  indexMetadata  )  [static]

Provided indexName and metadata is resolved to match the requirements of schema definition

Parameters:
array $indexMetadata passed by reference, array containing index definition
Returns:
bool whether or not we were able to resolve index correctly

Definition at line 49 of file RedBeanModelMemberIndexMetadataAdapter.php.

static resolveRandomIndexName ( indexName,
unique = false 
) [static]

Resolved a random index name

Returns:
string

Definition at line 78 of file RedBeanModelMemberIndexMetadataAdapter.php.


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