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

RedBeanModelRelationToColumnAdapter Class Reference

Static Public Member Functions

static resolvePolymorphicColumnsByTableName ($tableName)
static resolve ($modelClassName, $relationName, array $relationMetadata, &$messageLogger)

Data Fields

const CACHE_KEY = 'RedBeanModelRelationToColumnAdapter_polymorphicColumns'

Static Protected Member Functions

static setColumnsForPolymorphicLink ($relatedModelClassName, $linkName)
static resolvePolymorphicTypeColumnByLinkName ($linkName)

Detailed Description

Adapter class to generate column definition when provided with relationMetadata

Definition at line 40 of file RedBeanModelRelationToColumnAdapter.php.


Member Function Documentation

static resolvePolymorphicColumnsByTableName ( tableName  )  [static]

Return column definition for any polymorphic relationships to provided tableName

Parameters:
string $tableName
Returns:
null|array

Definition at line 52 of file RedBeanModelRelationToColumnAdapter.php.

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

Generates a column definition or processes junctions table depending on relation and link type.

Parameters:
string $modelClassName
string $relationName
array $relationMetadata
$messageLogger 
Returns:
array|null

Definition at line 70 of file RedBeanModelRelationToColumnAdapter.php.


Field Documentation

const CACHE_KEY = 'RedBeanModelRelationToColumnAdapter_polymorphicColumns'

Key to cache polymorphic columns for tables

Definition at line 45 of file RedBeanModelRelationToColumnAdapter.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 18 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