You are here

public function SocialContent::fields in Social Content 7.2

Fields to save from the row.

Get fields to save. Implementing /Extending classes should provide atleast the fields returned here.

Return value

array List of fields to save.

12 calls to SocialContent::fields()
SocialContent::getFieldMappings in ./social_content.class.inc
Remote fields map to local fields.
SocialContentFacebook::fields in modules/facebook/social_content_facebook.class.inc
Fields to save from the row.
SocialContentFlickr::fields in modules/flickr/social_content_flickr.class.inc
Fields to save from the row.
SocialContentInstagram::fields in modules/instagram/social_content_instagram.class.inc
Fields to save from the row.
SocialContentLinkedin::fields in modules/linkedin/social_content_linkedin.class.inc
Fields to save from the row.

... See full list

11 methods override SocialContent::fields()
SocialContentFacebook::fields in modules/facebook/social_content_facebook.class.inc
Fields to save from the row.
SocialContentFlickr::fields in modules/flickr/social_content_flickr.class.inc
Fields to save from the row.
SocialContentInstagram::fields in modules/instagram/social_content_instagram.class.inc
Fields to save from the row.
SocialContentLinkedin::fields in modules/linkedin/social_content_linkedin.class.inc
Fields to save from the row.
SocialContentPicasa::fields in modules/picasa/social_content_picasa.class.inc
Fields to save from the row.

... See full list

File

./social_content.class.inc, line 772
Social Content class.

Class

SocialContent
TODO: Table names should be a property for ease of change Separate this class into smaller classes.

Code

public function fields() {
  return array(
    'id' => NULL,
    'created' => NULL,
  );
}