aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggEntity.php
AgeCommit message (Collapse)Author
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
2010-10-31Refs #2597: Auto-initialize temp_metadata, temp_annotations, and volatile as ↵ewinslow
arrays git-svn-id: http://code.elgg.org/elgg/trunk@7162 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-31Refs #2597: Moved "implements Exportable" up to {{{ElggData}}}ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7161 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-31Refs #2597: ElggEntity::initializeAttributes calls into parent ↵ewinslow
initializeAttributes() git-svn-id: http://code.elgg.org/elgg/trunk@7160 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-31Improved initializeAttributes implementationsewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7159 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-31Refs #2597: Added getURL(), getTimeCreated(), and initializeAttributes() to ↵ewinslow
{{{ElggData}}} git-svn-id: http://code.elgg.org/elgg/trunk@7157 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30Refs #2597: pulled getOwner and getOwnerEntity functions into ElggDataewinslow
I thought this would be OK even though relationships don't technically have owners because ElggRelationship implemented the getObectOwnerGUID method git-svn-id: http://code.elgg.org/elgg/trunk@7156 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30Refs #2597: Pulled Loggable functions with identical implementations into ↵ewinslow
ElggData git-svn-id: http://code.elgg.org/elgg/trunk@7155 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30Refs #2597: Pulled identical {{{Iterator}}} and {{{ArrayAccess}}} ↵ewinslow
implementations into {{{ElggData}}} git-svn-id: http://code.elgg.org/elgg/trunk@7154 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30Refs #2597: Added a new ElggData class that ElggEntity, ElggExtender, and ↵ewinslow
ElggRelationship all extend git-svn-id: http://code.elgg.org/elgg/trunk@7152 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-28Standardized code in all of core, not including language files, tests, or ↵brettp
core mods. git-svn-id: http://code.elgg.org/elgg/trunk@7124 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-10ElggEntity::disable() and enable() now update the attributes so you don't ↵brettp
have stale data on the object. git-svn-id: http://code.elgg.org/elgg/trunk@7048 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-22Converted line endings to unix.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6957 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-22Refs #2450: ElggEntity documented.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6954 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-06Refs #2220: Pulled most classes / interfaces out of lib files (except ↵ewinslow
query.php and exception.php) into "classes" folder. Replaced inline classes with "require_once" statements for now. Ran unit tests to verify functionality before committing. git-svn-id: http://code.elgg.org/elgg/trunk@6908 36083f99-b078-4883-b0ff-0f9b5a30f544