abstract class EntityShareMediasAbstract in Entity Share 7
Class EntityShareMediasAbstract.
Hierarchy
- class \EntityShareMediasAbstract
Expanded class hierarchy of EntityShareMediasAbstract
File
- modules/
entity_share_medias/ includes/ entity_share_medias.inc, line 50 - Class for handling Medias.
View source
abstract class EntityShareMediasAbstract {
/**
* Field data.
*
* @var array
* Data of the field.
*/
protected $fieldData;
/**
* Name of the field.
*
* @var string
* Machine name of the field.
*/
protected $fieldName;
/**
* Type of the field.
*
* @var string
* Type of the field.
*/
protected $fieldType;
/**
* Entity object.
*
* @var object
* Entity.
*/
protected $entity;
/**
* Metadatas of the field.
*
* @var array
* Field info.
*/
protected $fieldInfo;
/**
* Constructor. Initialize properties.
*
* @param array $field_data
* Datas of the field.
* @param string $field_name
* Name of the field.
* @param string $field_type
* Type of the field.
* @param object $entity
* Entity to export/import.
* @param array $field_info
* Informations o the field.
*/
public function __construct(array &$field_data, $field_name, $field_type, $entity, array $field_info) {
$this->fieldData =& $field_data;
$this->fieldName = $field_name;
$this->fieldType = $field_type;
$this->entity = $entity;
$this->fieldInfo = $field_info;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityShareMediasAbstract:: |
protected | property | Entity object. | |
EntityShareMediasAbstract:: |
protected | property | Field data. | |
EntityShareMediasAbstract:: |
protected | property | Metadatas of the field. | |
EntityShareMediasAbstract:: |
protected | property | Name of the field. | |
EntityShareMediasAbstract:: |
protected | property | Type of the field. | |
EntityShareMediasAbstract:: |
public | function | Constructor. Initialize properties. |