aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/annotations.php
AgeCommit message (Collapse)Author
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-11-03Fixes #2606: Abstracted elgg_list_entities. Takes an optional second ↵ewinslow
argument for the 'getter', defaulting to 'elgg_get_entities'. Converted current elgg_list_entities* functions to use it git-svn-id: http://code.elgg.org/elgg/trunk@7212 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-29Merged [6875] from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6878 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6812:6837 from 1.7 branch to trunk (skipping some changes to plugins ↵cash
like groups and wire) git-svn-id: http://code.elgg.org/elgg/trunk@6851 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 r6614:6617 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6845 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-06-08elgg_get_entities_from_metadata() and egef_annotations() support singular -> ↵brettp
plural rewrites. (Why didn't I add this originally?!) git-svn-id: http://code.elgg.org/elgg/trunk@6390 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-06-02Mathematical calculations on annotations will return false for non-existent ↵nickw
entity subtypes. git-svn-id: http://code.elgg.org/elgg/trunk@6334 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-06-02Requesting annotations from a non-existent subtype will now return nothing ↵nickw
instead of everything. This functionality is required to preserve context. git-svn-id: http://code.elgg.org/elgg/trunk@6331 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-19Refs #2165: Added elgg_list_entities_from_annotations() to deprecate ↵brettp
list_entities_from_annotations(). git-svn-id: http://code.elgg.org/elgg/trunk@6102 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-05Merged 5530:5604 from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5622 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-25Cleaned up the likes interface a bit.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5508 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-22Merged 1.7 bugfixes back into core. (5376:HEAD).brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5471 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-21generic like this functionality addeddave
git-svn-id: http://code.elgg.org/elgg/trunk@5456 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-01Fixes #1558: Applied Cash's patch. Added unit tests to test for regressions ↵brettp
for any bugs fixed in trac. git-svn-id: http://code.elgg.org/elgg/trunk@3979 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixed incorrect deprecated warning.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3878 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-27Fixes #1419: Added remove_from_river_by_annotation(). Deleting annotations ↵brettp
now deletes their river entry. git-svn-id: http://code.elgg.org/elgg/trunk@3850 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-10Fixes #1399: Case sensitivity was never in the deprecated function, so no ↵brettp
need to add it. Use the new functions if required. git-svn-id: http://code.elgg.org/elgg/trunk@3794 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-05get_entities_from_annotations was ignoring group_guid - setting ↵cash
container_guid now git-svn-id: http://code.elgg.org/elgg/trunk@3730 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-11-13Properly ordering annotation objects returned by Elgg methods.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3679 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-02Deprecated elgg_get_entities_from_annotations().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3614 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-09Standardized annotations.php.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3525 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-06Fixing a spacing issue with constructed SQL query.nickw
Closes #1295. git-svn-id: http://code.elgg.org/elgg/trunk@3510 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-21New river code added to allow user comment to be pulled out and displayeddave
git-svn-id: http://code.elgg.org/elgg/trunk@3490 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-26Added entity_owner_guid to get_annotations()brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3443 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-08-11Added timelower and timeupper to get_annotations() and ↵brettp
__get_annotations_calculate_x() and its helpers. git-svn-id: https://code.elgg.org/elgg/trunk@3423 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-03Added starttime and endtime for get_entities_from_annotation().brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3418 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-01Short circuit on delete annotations to avoid error messagemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3373 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-29Closes #337: Added checking for metastrings in __get_annotations_calculate_x() brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3361 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-17Closes #719: More options on annotation count functions.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3343 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-05-27Delete event now triggered on metadata and annotation deletemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3305 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-22Deleting correct data + using correct tablesmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3228 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-22Closes #957: Annotations and metadata owned by a deleted user are now also ↵marcus
deleted. git-svn-id: https://code.elgg.org/elgg/trunk@3227 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-23RSS for group topics, including fixes for annotation getURL() overrideben
git-svn-id: https://code.elgg.org/elgg/trunk@2898 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-20Fixes an annoying problem in countAnnotations.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2866 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-09Added the 'annotate' event on entities.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2694 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-04Moves access permissions references over to using the ACCESS_* constants ↵ben
defined in access.php. Refs #687 git-svn-id: https://code.elgg.org/elgg/trunk@2639 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-26Fixed pagination issue with count annotations function.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2616 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-21Introducing a function that orders by sums of an annotation AND limits by a ↵ben
metadata value git-svn-id: https://code.elgg.org/elgg/trunk@2590 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-20Added toggling for the annotation sum list functions.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2587 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-20Added to and fixed the list by annotation count functions.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2586 36083f99-b078-4883-b0ff-0f9b5a30f544