You are here

abstract protected function RealisticDummyContentAttribute::ValueFromFile_ in Realistic Dummy Content 7

Given a RealisticDummyContentFileGroup object, get a structured property

This function is not meant to called directly; rather, call ValueFromFile(). This function must be overriden by subclasses.

Parameters

$file: An object of type RealisticDummyContentFileGroup.

Return value

Returns structured data to be added to the entity object, or NULL if such data can't be creatd.

Throws

Exception.

1 call to RealisticDummyContentAttribute::ValueFromFile_()
RealisticDummyContentAttribute::ValueFromFile in api/includes/RealisticDummyContentAttribute.inc
Given a RealisticDummyContentFileGroup object, get structured property if extentions ok.
6 methods override RealisticDummyContentAttribute::ValueFromFile_()
RealisticDummyContentImageField::ValueFromFile_ in api/includes/RealisticDummyContentImageField.inc
Given a RealisticDummyContentFileGroup object, get a structured property
RealisticDummyContentTermReferenceField::ValueFromFile_ in api/includes/RealisticDummyContentTaxonomyTermReferenceField.inc
Given a RealisticDummyContentFileGroup object, get a structured property
RealisticDummyContentTextProperty::ValueFromFile_ in api/includes/RealisticDummyContentTextProperty.inc
Given a RealisticDummyContentFileGroup object, get a structured property
RealisticDummyContentTextWithSummaryField::ValueFromFile_ in api/includes/RealisticDummyContentTextWithSummaryField.inc
Given a RealisticDummyContentFileGroup object, get a structured property
RealisticDummyContentUserPicture::ValueFromFile_ in api/includes/RealisticDummyContentUserPicture.inc
Given a RealisticDummyContentFileGroup object, get a structured property

... See full list

File

api/includes/RealisticDummyContentAttribute.inc, line 224
Define RealisticDummyContentAttribute autoload class.

Class

RealisticDummyContentAttribute
Represents either a field or a property for an entity.

Code

protected abstract function ValueFromFile_($file);