aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggEntity.php
AgeCommit message (Collapse)Author
2013-10-23replaced all references to trac.elgg.org to the correct GitHub issuesJerome Bakker
2013-06-07Fixes #5600: Entities are kept out of entity cache during saveSteve Clay
2013-04-13cleanup of entity caching codecash
2013-03-15more coding standard fixescash
2013-02-09remove unused code: vars, foreach keys, etcSteve Clay
2013-02-09Doc fixes and inline type hints for variables (big static analysis cleanup)Steve Clay
2012-09-03Fixes #4290: adds volatile metadata cache, unit tests, and pre-loading for ↵Steve Clay
fetched entities
2012-05-17Fixes #4249: Removes links to non-existent documentation.Evan Winslow
2012-05-10Fixes #2776. Overriding permissions to delete metadata when overwriting ↵Brett Profitt
multiple values.
2012-05-10Refs #2776. Cleaned up ElggEntity::setMetaData().Brett Profitt
2012-02-04Fixes #2112 not loading data from entities table twicecash
2012-01-09coding standard fixes to engineCash Costello
2011-11-18Fixes #4111 guid is now an intcash
2011-10-29Fixes #3201 updates rss view type for core Elggcash
2011-10-29Fixes #3920 profile plugin adds a fast loading of user avatarsCash Costello
2011-09-10Fixes #3782 only deleting metadata if the entity has been savedCash Costello
2011-09-04Refs #3661. Merged lat/long metadata fixes to master.Brett Profitt
2011-06-26Fixes #3614 updated use of elgg_view_entity() throughout coreCash Costello
2011-06-25Fixes #3609 removed use of deprecated trigger_plugin_hook()cash
2011-06-07Refs #3510, #3433. Ported r9062 to trunk. Fix for comment hook returning 0 ↵brettp
comments. git-svn-id: http://code.elgg.org/elgg/trunk@9139 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-14fixes warnings in ElggEntity::getMetadata() (hellekin)cash
git-svn-id: http://code.elgg.org/elgg/trunk@8992 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-14making sure ElggEntity::getAnnotations() returns an array, check if ↵cash
temporary annotation exists before returning, and added a warning about annotating unsaved entities git-svn-id: http://code.elgg.org/elgg/trunk@8990 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-02Fixes #3208 setting time_created on updatecash
git-svn-id: http://code.elgg.org/elgg/trunk@8904 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-21oof -- how did that happen?ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8806 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-21Added documentation of magic properties to ElggEntityewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8805 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-20Fixes #3192, refs #650. ElggEntity->getMetaData() sets the limit to 0 for ↵brettp
array-based metadata. git-svn-id: http://code.elgg.org/elgg/trunk@8780 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-12improved documentation of can write to container method/functioncash
git-svn-id: http://code.elgg.org/elgg/trunk@8656 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-09Fixes #3058 pulls likes out as a plugincash
git-svn-id: http://code.elgg.org/elgg/trunk@8639 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-21fixes #2885 #2569 likes controlled by canAnnotate() with plugin hookcash
git-svn-id: http://code.elgg.org/elgg/trunk@8382 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-21Fixes #2971 added canComment() method and implemented it for ElggBlogcash
git-svn-id: http://code.elgg.org/elgg/trunk@8381 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-20Fixes #2963: Rewrote ElggEntity->setMetadata() because yikes. Wrote unit ↵brettp
tests for setting metadata on saved / unsaved entities. git-svn-id: http://code.elgg.org/elgg/trunk@8359 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14Removed last of deprecated metadata calls in trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8224 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14Updated trunk to use new annotation functions. Added checks for ↵brettp
annotations_* options vs annotation_* options because it's so easy to confuse. git-svn-id: http://code.elgg.org/elgg/trunk@8223 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14Fixes #2918. Moved annotation/metadata delete functions from ElggUser to ↵brettp
ElggEntity. When deleted, entities now correctly delete metadata they own as well as metadata on them. Removed uses of deprecated functions. git-svn-id: http://code.elgg.org/elgg/trunk@8222 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Deprecated ElggEntity->clearMetadata() by ElggEntity->deleteMetadata(). ↵brettp
Disabling entities now disables their annotations and metadata. Enabling entities enables annotations and metadata. Fixes #1115. git-svn-id: http://code.elgg.org/elgg/trunk@8213 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Refs #2907. DRY'd up and abstracted out a lot of metadata / annotation ↵brettp
functions so I can implement #1115 with a clean conscious. git-svn-id: http://code.elgg.org/elgg/trunk@8207 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #650. Replaced count_annotations().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8188 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Updated a few recent calls to elgg_get_annotations() to use ↵brettp
'reverse_order_by' => true. git-svn-id: http://code.elgg.org/elgg/trunk@8186 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #650. Replaced calls to get_annotations() by elgg_get_annotations().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8182 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #650. Replaced uses for get_metadata_byname() by elgg_get_metadata()brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8180 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #650: Replaced uses of get_metadata_for_entity() by elgg_get_metadata().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8177 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-08Refs #2543: Core uses the new functions from previous commit.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8078 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-06moved the count comments and likes functions into the ElggEntity classcash
git-svn-id: http://code.elgg.org/elgg/trunk@8047 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-05Fixes #2559 refs #2475 added ElggEntity:getIconURL() and ↵cash
elgg_view_entity_icon() git-svn-id: http://code.elgg.org/elgg/trunk@8039 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-05supporting private settings before an entity is savedcash
git-svn-id: http://code.elgg.org/elgg/trunk@8032 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-02Refs #2490. Using array_key_exists() instead of isset() in get() overrides ↵brettp
to prevent a check for (invalid) metadata with the name of an attribute if that attribute evaluates to !isset(). git-svn-id: http://code.elgg.org/elgg/trunk@7815 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-29Refs #2668: Deprecated ElggEntity::setContainer() for setContainerGUID()brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7474 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Fixes #2629: Pulled old initialise_attributes() into ElggData and added a ↵brettp
default param to emit a deprecation notice if called. git-svn-id: http://code.elgg.org/elgg/trunk@7387 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Refs #2668 adds getContainerGUID()cash
git-svn-id: http://code.elgg.org/elgg/trunk@7379 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Fixes #2668 adding getOwnerGUID()cash
git-svn-id: http://code.elgg.org/elgg/trunk@7378 36083f99-b078-4883-b0ff-0f9b5a30f544