I previously created the Biblio entity without the Entity API, and used Drupal's default Entity object structure. Using this structure, each field property is accessed using a nasty nested function. Example:
$biblio->biblio_title['und'][0]['value']
Above, $biblio is the object, biblio_title is the field name, 'und' is the language code of the field instance, 0 is the delta (only goes above 0 if field is multi-valued), and 'value' is the array key for the value of the field.
This is an ugly way to set/access a property of a biblio object, and I'm pretty sure the Entity API has its own structure using a "wrapper".
Look into this and see if there's a better way to set up the Biblio object's structure.

Comments

smithdalec’s picture

After a few hours of reading the [lack of] Entity API documentation, I was able to get the resolution for this issue started.
See http://drupalcode.org/project/biblio.git/commit/757766d

smithdalec’s picture

Status: Active » Fixed

Entity API metadata wrappers have been implemented.
Values can be set using $wrapper->field_or_property_name->set('value goes here');
Values can be retrieved using $wrapper->field_or_property_name->value();

smithdalec’s picture

Status: Fixed » Closed (fixed)