public function EntityMetadataArrayObject::__construct in Entity API 7
File
- includes/
entity.wrapper.inc, line 1249 - Provides wrappers allowing easy usage of the entity metadata.
Class
- EntityMetadataArrayObject
- An array object implementation keeping the reference on the given array so changes to the object are reflected in the passed array.
Code
public function __construct(&$array) {
$this->data =& $array;
}