aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/relationships.php
AgeCommit message (Collapse)Author
2013-03-10Fixes #4823 returning ElggRelationship from check_entity_relationship() ↵Cash Costello
rather than stdClass object
2013-02-09remove unused code: vars, foreach keys, etcSteve Clay
2013-02-09Small changes to remove static analysis noise and simplify flowSteve Clay
2013-02-09Doc fixes and inline type hints for variables (big static analysis cleanup)Steve Clay
2013-02-02Merge pull request #398 from jeabakker/#4880Steve Clay
#4880 - incorrect usage of elgg_get_entities_* parameters
2012-11-14Fixes #4861: allow lazy-loading for static method callbacks, allow more ↵Steve Clay
callables
2012-10-03correct singual usage of type in elgg_get_entities_* functions - foundJerome Bakker
more bad usage
2012-07-06Fixes #3046 adds documentation for requesting entities that do not have ↵Cash Costello
metadata or relationships
2012-04-24Fixes #4409. Selecting distinct across entities.* and ↵Brett Profitt
entity_relationships.id instead of r.* so entities loaded via elgg_get_entities_from_relationship() have the correct time_created.
2012-01-08coding standards fixes - commentsCash Costello
2011-11-18Fixes #4118 returning bool from leave group functionscash
2011-11-15Fixes #4090 removes double assignment - thanks to andres.fortierCash Costello
2011-11-01standardized the elgg_get_entities* function @return documentationcash
2011-10-08Fixes #3936 added @access private to internal functionsCash Costello
2011-10-02Merged docs update for getters from 1.7.Brett Profitt
2011-09-29Fixes #3827 updated documentation on @return for elgg_get_entities* functionscash
2011-06-26Fixes #3585 do not need to check parameters because was registered for only ↵Cash Costello
one event
2011-02-15Fixes #2860: Deprecated several registration functions that were using the ↵ewinslow
'callback-first' ordering git-svn-id: http://code.elgg.org/elgg/trunk@8257 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14Fixes #2914. Merged fix for r.time_created sorting to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8220 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #2610: Using call_user_func in url hooksewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8139 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-06fixed some minor documentation issuescash
git-svn-id: http://code.elgg.org/elgg/trunk@8050 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-01Moved functions from export.php - river.php into deprecated filesewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7980 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-06Fixes test for $relationship_guid in sql generating functioncash
git-svn-id: http://code.elgg.org/elgg/trunk@7845 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-31Refs #2583, #2754: Merged r7445-7446 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7794 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-11provided more flexibility in creating the relationships join sqlcash
git-svn-id: http://code.elgg.org/elgg/trunk@7596 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-08Refs #1411. Deprecated get_entities_by_relationship_count() and ↵brettp
list_entities_by_relationship_count(). git-svn-id: http://code.elgg.org/elgg/trunk@7569 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-08Refs #1411: Added elgg_get_entity_from_relationship_count().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7562 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-14Fixes #2334: Converted viewtype => listtype and viewtypetoggle => ↵ewinslow
listtypetoggle. Did my best to maintain backwards compatibility but might have missed something... git-svn-id: http://code.elgg.org/elgg/trunk@7311 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-10Fixes #2367: With fear and trepidation, converting events/plugin hooks to ↵ewinslow
use elgg_ prefixed versions git-svn-id: http://code.elgg.org/elgg/trunk@7284 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-06Refs #1411 fixes bug introduced in [7213] that broke listing relationshipscash
git-svn-id: http://code.elgg.org/elgg/trunk@7248 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Refs #1320. Updated core to use elgg_echo()'s native string replacement.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7227 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Refs #1411: Deprecated list_entities_from_relationship() in favor of ↵ewinslow
elgg_list_entities_from_relationship() git-svn-id: http://code.elgg.org/elgg/trunk@7213 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30Refs #2598: Converted virtually all uses of $CONFIG->wwwroot to ↵ewinslow
elgg_get_site_url() git-svn-id: http://code.elgg.org/elgg/trunk@7146 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-22Removed @license, @copyright, and @author from files. License and copyright ↵brettp
are covered by LICENSE.txt and COPYRIGHT.txt in root. git-svn-id: http://code.elgg.org/elgg/trunk@7118 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-15Refs #2220: Pulled remaining classes out of lib files. Core classes now ↵ewinslow
autoloaded via __autoload(). git-svn-id: http://code.elgg.org/elgg/trunk@6941 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
2010-08-22Merged r6757:6810 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6850 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6701:6756 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6849 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6684:6694 from 1.7 branch to trunk (pages plugin was manually merged ↵cash
due to standardization of code in trunk but not branch) git-svn-id: http://code.elgg.org/elgg/trunk@6848 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-21Merged r6534-6559 from 1.7 branch to trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6840 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-26Refs #1553: Corrected profile link in friending notification.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3974 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-17Fixes #1488: Removed use of deprecated functions in core. brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3947 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixes #1213: delete_relationship() triggers delete:relationship hook.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3883 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Add elgg_deprecated_notice() so we don't have to re-write all the elgg_log() ↵brettp
deprecated notices to register_error()s. Updated current ones to use this. git-svn-id: http://code.elgg.org/elgg/trunk@3874 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-29Fixes #1472: get_entity_relationships() supports inverse relationships.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3856 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-11Sanitising relationship in elgg_get_entities_from_relationship();brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3797 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-18Clarified the documentation for add_entity_relationship().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3771 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-09fixes #1323 and #1186 - PHP 5.3 requires magic methods to be publiccash
git-svn-id: http://code.elgg.org/elgg/trunk@3744 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-07fixed typo in get_entities_from_relationship()cash
git-svn-id: http://code.elgg.org/elgg/trunk@3732 36083f99-b078-4883-b0ff-0f9b5a30f544