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

AddLinkViewMetadataRules Class Reference

Static Public Member Functions

static resolveElementMetadata ($elementInformation, &$elementMetadata)

Static Protected Member Functions

static getAcceptableModelsForAttributeNames ()

Detailed Description

Autopopulate a link element if available. Tries to find a name field or fullName field and attaches a link property to it.

Definition at line 42 of file AddLinkViewMetadataRules.php.


Member Function Documentation

static resolveElementMetadata ( elementInformation,
&$  elementMetadata 
) [static]

This method relies on some assumptions that might not always be true. It assumes if you are using a related link, the type is exactly named as the model. This might not be true, but for now this is the best way to handle this.

Parameters:
array $elementInformation
array $elementMetadata

Definition at line 51 of file AddLinkViewMetadataRules.php.


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