aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggEntity.php
AgeCommit message (Collapse)Author
2012-04-25Upgraded to Elgg 1.8.4.Sem
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
2010-11-20Fixes #2490: attributes initialize to NULL instead of empty string or 0. ↵ewinslow
Updated tests to reflect this git-svn-id: http://code.elgg.org/elgg/trunk@7376 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Fixes #2473: removes initialise_entity_cache()ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7365 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-14No comment...ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7309 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-14Wow, what a blunder -- what to go deleting random methods, Winslowewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7308 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-14Refs #2486: Added support for the 'recursive' parameter to ElggEntity::delete()ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7306 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-14Added comments to several undocumented methodsewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7305 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Fixes #2050: Added subtype parameter to can_write_to_container functions and ↵ewinslow
hooks git-svn-id: http://code.elgg.org/elgg/trunk@7221 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Fixes #2134: Moved getContainerEntity() method to ElggEntityewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7219 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-31Refs #2597: Pushed getOwner and getOwnerEntity into ElggEntity and ElggExtenderewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7172 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-31Refs #2597: Pulled __set, __get, __isset magic functions definitions into ↵ewinslow
ElggData git-svn-id: http://code.elgg.org/elgg/trunk@7163 36083f99-b078-4883-b0ff-0f9b5a30f544