aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/relationships.php
AgeCommit message (Collapse)Author
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
2009-11-21fixes #1374 - owner_guid wasn't being set correctly in options arraycash
git-svn-id: http://code.elgg.org/elgg/trunk@3697 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-29Deprecated get_entities_from_relationships_and_meta().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3603 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-29Fixed incorrect wrapper for get_entities_from_relationship() -> ↵brettp
elgg_get_entities_from_relationship(). git-svn-id: http://code.elgg.org/elgg/trunk@3600 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-28Deprecated get_entities_from_relationship()brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3599 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-15Standardized gobs of files.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3548 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-04Patch submitted for ticket #886 rolled back as it was causing #1205 -> #886 ↵dave
will need further investigating git-svn-id: https://code.elgg.org/elgg/trunk@3462 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-03missing comma addeddave
git-svn-id: https://code.elgg.org/elgg/trunk@3457 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-02order by bug fixed in get_entities_from_relationshipdave
git-svn-id: https://code.elgg.org/elgg/trunk@3453 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-31All line endings are now Unix-style.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3451 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-20Whoa nelly this is a big one: Removed license and copyright for files.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3427 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-29Updated get_*() functions ot return false if an invalid subtype is specified.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3360 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-05-07Refs #975: Get entities from metadata and relationship now behaves as expectedmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3265 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-27Closes #975: Now possible to search by metadata and relationshipmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3239 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-24Fix for previous, including a change to check_entity_relationships that ↵ben
actually returns the relationship object. git-svn-id: https://code.elgg.org/elgg/trunk@2934 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-24Introducing the 'delete relationship' event. Fixes #779ben
git-svn-id: https://code.elgg.org/elgg/trunk@2933 36083f99-b078-4883-b0ff-0f9b5a30f544