DataEnhancer Class Reference

Public Member Functions

 personHasBackOfCard ($person)
 getPersonBackOfCardLabel ()
 getPersonBackOfCardCloseLabel ()
 getPersonBackOfCardViewContent ($person)
 getPersonSocialNetworksViewContent ($person)
 getPersonDemographicViewContent ($person)
 getPersonAvatar ($person)

Detailed Description

Helper class for managing data enhancement to models. An example would be adding gender and age information for a person. Override as needed.

Definition at line 41 of file DataEnhancer.php.


Member Function Documentation

personHasBackOfCard ( person  ) 
Parameters:
User|Person $person
Returns:
bool

Definition at line 47 of file DataEnhancer.php.

getPersonBackOfCardLabel (  ) 

Override and return back of card label for person

Returns:
null | string

Definition at line 56 of file DataEnhancer.php.

getPersonBackOfCardCloseLabel (  ) 

Override and return back of card close label for person

Returns:
null | string

Definition at line 65 of file DataEnhancer.php.

getPersonBackOfCardViewContent ( person  ) 

Override and return back of card content for person

Parameters:
User|Person $person
Returns:
null | string

Definition at line 75 of file DataEnhancer.php.

getPersonSocialNetworksViewContent ( person  ) 

Override and return social networks content for person

Parameters:
User|Person $person
Returns:
null | string

Definition at line 85 of file DataEnhancer.php.

getPersonDemographicViewContent ( person  ) 

Override and return demographic content for person including age and gender

Parameters:
User|Person $person
Returns:
null | string

Definition at line 95 of file DataEnhancer.php.

getPersonAvatar ( person  ) 
Parameters:
User|Person $person
Returns:
null

Definition at line 104 of file DataEnhancer.php.


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