- Feb 04, 2011
-
-
Wolfgang Ziegler authored
-
- Feb 01, 2011
-
-
Wolfgang Ziegler authored
-
- Jan 19, 2011
-
-
Wolfgang Ziegler authored
-
- Jan 18, 2011
-
-
Wolfgang Ziegler authored
-
- Jan 11, 2011
-
-
Wolfgang Ziegler authored
-
- Jan 04, 2011
-
-
Wolfgang Ziegler authored
#1008810 overhauled exportable entities so that all entities are stored in the database. Upgrade for modules making use of exportable entities is required, see #1008810-8.
-
- Jan 02, 2011
-
-
Wolfgang Ziegler authored
-
- Dec 29, 2010
-
-
Wolfgang Ziegler authored
-
- Dec 28, 2010
-
-
Wolfgang Ziegler authored
-
Wolfgang Ziegler authored
#708268 some metadata wrapper improvements, in particular fixed property updates to be properly reflected in parent data structures. API change: value() now doesn't throw an exception for not set properties any more, but returns NULL.
-
- Dec 21, 2010
-
-
Wolfgang Ziegler authored
-
- Dec 16, 2010
-
-
Wolfgang Ziegler authored
#988780 API Change: merged both modules into a single one. Read http://drupal.org/node/988780#comment-3834560 for a detailed description of the changes.
-
- Dec 13, 2010
-
-
Wolfgang Ziegler authored
-
- Sep 20, 2010
-
-
Wolfgang Ziegler authored
-
- Aug 16, 2010
-
-
Wolfgang Ziegler authored
-
- Jul 27, 2010
-
-
Wolfgang Ziegler authored
-
- Jul 21, 2010
-
-
Wolfgang Ziegler authored
#710650 Entity Metadata: added validation to ensure the data type of set property values match. Also added support for an additional property info key that allows the specification of a validation callback. Improved the provided metadata to validate mail addresses and ids to be positive and improved the tests to test validation.
-
Wolfgang Ziegler authored
-
- Jul 08, 2010
-
-
Wolfgang Ziegler authored
Instead of the previous fake 'system' entity, modules may provide metadata using hook_entity_propertiy_info() for the 'site', which is not registered as fake entity any more. 'system' has been renamed to 'site' in order to be consistent with the existing tokens. Also fixed token integration to properly work with 'site' tokens and to properly chain through in case of properties referencing to entities.
-
- Jul 05, 2010
-
-
Wolfgang Ziegler authored
-
- Jun 04, 2010
-
-
Wolfgang Ziegler authored
renamed key for additional metadata for data structures from 'data info' to 'property info' to reflect its content equals the returned info of hook_entity_property_info(). Therefore also removed the dataInfo() method, instead use getPropertyInfo() without arguments. added method entityInfo() to the entity wrapper.
-
- Apr 21, 2010
-
-
Wolfgang Ziegler authored
fix E_STRICT compatibility by cleaning up references. As now references cannot be used optionally getters cannot return data by reference any more. If "references" are required though the EntityMetadataArrayObject may be used to wrap arrays so that changes to the wrapper are reflected in the passed array immmediately. also remove the reference from the data argument of entity_metadata_wrapper() as it not needed any more
-
- Mar 28, 2010
-
-
Wolfgang Ziegler authored
-
- Mar 11, 2010
-
-
Wolfgang Ziegler authored
#716060 Provide tokens for entity properties that don't have tokens yet. Thus this adds tokens for single-valued fields.
-
- Mar 03, 2010
-
-
Wolfgang Ziegler authored
-
- Feb 19, 2010
-
-
Wolfgang Ziegler authored
important bugfix: unsaved changes of entities were dropped. Fixed that and improved the tests to cover it.
-
Wolfgang Ziegler authored
-
- Feb 16, 2010
-
-
Wolfgang Ziegler authored
-
Wolfgang Ziegler authored
#715934 improve serialization of metadata wrappers and add a test case to ensure it's working right
-
Wolfgang Ziegler authored
-
Wolfgang Ziegler authored
changed entity_metadata_entity_create() to return a wrapper instance and support chaining for the save() and delete() method. That allows for calls like = entity_metadata_entity_create(..)->save()->value();
-
Wolfgang Ziegler authored
-
Wolfgang Ziegler authored
Removed identifier flag in favour of supporting only the identifier mode. Thus entities are internally represented by their ids, thus setters/getters have to return those. Setting entities using the wrapper now is possible by using the identifier or the object. Also it's possible to retrieve a list of entity ids by passing the option array('identifier' => TRUE) to the list wrappers value() method.
-
Wolfgang Ziegler authored
improve taxonomy metadata to make use of identifier and [] for adding new list values. Improved term parents to be a list of terms and to be settable.
-
Wolfgang Ziegler authored
-
Wolfgang Ziegler authored
Support setting new entities by passing either the entity object or its identifier.
-
- Feb 13, 2010
-
-
Wolfgang Ziegler authored
fixed the tests to correctly use the temporary upload directory for the file upload, so it runs on any right configured environment
-
Wolfgang Ziegler authored
make using underscores for getting property wrappers possible, e.g. $w->taxonomy_tags so {} are required less often.
-
- Feb 06, 2010
-
-
Wolfgang Ziegler authored
-
- Jan 24, 2010
-
-
Wolfgang Ziegler authored
-