aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/relationships.php
AgeCommit message (Collapse)Author
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
2009-02-19Introduced get / list entities by relationship countben
git-svn-id: https://code.elgg.org/elgg/trunk@2818 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-09Added a new filter to delete relationship functionsben
git-svn-id: https://code.elgg.org/elgg/trunk@2691 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-23Refs #706marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2611 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-22Relationships no longer double addedmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2595 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-07Closes #410: Pagination parameter now passed in relationship list view.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2539 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-19Fixes #568: Exportable code now inclusive not exclusive.marcus
* Added extra function Exportable interface * OpenDD export modified * PHP & JSON export views modified * Default export view will still show all data if you are logged in as admin (since this view is used by the guidtool) git-svn-id: https://code.elgg.org/elgg/trunk@2467 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-06Some tidying of objects and opendd exportmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2412 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-03Minor tweaks 'cos case does matter...marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2379 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-07Removed pagination for the groups widgetben
git-svn-id: https://code.elgg.org/elgg/trunk@2213 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-06Refs #402 and #407: Extra fields added to system_logmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2188 36083f99-b078-4883-b0ff-0f9b5a30f544