aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metastrings.php
AgeCommit message (Collapse)Author
2013-05-30Fixes #5564 count works with elgg_get_entities_from_annotation_calculation()cash
2013-05-02Fixes #5418 adds enabled clause for annotationscash
2013-03-06Fixes #4393 working around the overloaded 'count' parametercash
2013-02-09Lots of new @todos :(Steve Clay
2013-02-09Remove unnecessary get_data() callbackSteve Clay
2013-02-09remove unused code: vars, foreach keys, etcSteve Clay
2013-02-09Doc fixes and inline type hints for variables (big static analysis cleanup)Steve Clay
2012-05-10Fixes #4512. Passing inc_offset only for deleting / disabling callbacks in ↵Brett Profitt
metastring functions.
2012-05-10Documented that elgg_delete_metadata/annotations() returns null for no ops.Brett Profitt
2012-01-25Refs #4269. Using ElggBatch to delete annotations / metadata again.Brett Profitt
2012-01-10Fixes #4269. Not using ElggBatch to delete metadata / annotations. Added ↵Brett Profitt
unit tests for deleting annotations/md. Fixed an annoying inconsistency with "metastring/s" option in private functions.
2012-01-09Fixes #4243. Added docs for metadata_calculation option to elgg_get_metadata().Brett Profitt
2011-11-18Fixes #4131 elgg_delete_metastring_based_object_by_id() should return a boolcash
2011-10-08Fixes #3936 added @access private to internal functionsCash Costello
2011-09-28Fixes #3713. elgg_get_entities() and friends return false if passed invalid ↵Brett Profitt
options.
2011-04-21Refs #3195. Selectively joining certain tables for performance with ↵brettp
annotation calculations. git-svn-id: http://code.elgg.org/elgg/trunk@9011 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-21Reverting the annotation changes because they're not ready yet.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@9010 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-21Fixed a problem with the annotation batch operation test.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@9009 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-18Fixes #2046. Applied Franz' patch for sanitize_int().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@9004 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-14Refs #3195. Changed the way annotation calculations are performed. Seems to ↵brettp
be working better, but will want to test more before closing. git-svn-id: http://code.elgg.org/elgg/trunk@9000 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-14handles empty array in get_metastring_id() (hellekin)cash
git-svn-id: http://code.elgg.org/elgg/trunk@8994 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-07Fixes #3232 removed unnecessary distinct plus variable in select for ↵cash
metastrings calculation git-svn-id: http://code.elgg.org/elgg/trunk@8951 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-01Refs #3245 pulling in https://github.com/Elgg/Elgg/pull/11 and thanks also ↵cash
to gprasanth git-svn-id: http://code.elgg.org/elgg/trunk@8891 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-19Fixing pluralization of singular options for elgg_get_metadata() and ↵brettp
elgg_get_annotations(). git-svn-id: http://code.elgg.org/elgg/trunk@8761 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Fixes #2808: elgg_get_array_value => elgg_extractewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8247 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14Updated trunk to use new annotation functions. Added checks for ↵brettp
annotations_* options vs annotation_* options because it's so easy to confuse. git-svn-id: http://code.elgg.org/elgg/trunk@8223 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14More fixes to annotations/metadata changes. Now all function support getting ↵brettp
via a metastring id. git-svn-id: http://code.elgg.org/elgg/trunk@8221 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Allowing metastrings_type for metastring-based object functions.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8211 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Removed worthless function from previous commit.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8208 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Refs #2907. DRY'd up and abstracted out a lot of metadata / annotation ↵brettp
functions so I can implement #1115 with a clean conscious. git-svn-id: http://code.elgg.org/elgg/trunk@8207 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #2906. Missed a file.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8185 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #650: Deprecated find_metadata() with elgg_get_metadata(). Deprecated ↵brettp
get_metadata_for_entity() and get_metadata_byname() <twitch>. Added elgg_get_metastrings_based_objects() to deal with the commonalities between the metadata and annotation getter functions. git-svn-id: http://code.elgg.org/elgg/trunk@8174 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-01Reversing 7975ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7978 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-01Refs #2839: moved deprecated functions from access.php - ↵ewinslow
private_settings.php to deprecated.php. Still have to do relationships.php - xml.php. Deleted documentation for these functions since 1) it was using up precious bytes, and 2) documentation should not be needed since people should not be trying to use these if they are using 1.8, and 3) I assume the documentation will exist as archived 1.7 docs. git-svn-id: http://code.elgg.org/elgg/trunk@7975 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-23Refs #2804 #2805 pulling changes in trunk from 1.7 branchcash
git-svn-id: http://code.elgg.org/elgg/trunk@7915 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
2009-11-07fixes #1227 - this one has been causing nasty problems for far too longcash
git-svn-id: http://code.elgg.org/elgg/trunk@3630 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-26Rewriting metastrings search query for simplicity.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3583 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-21Allowing entities to be retrieved by case-insensitive search.nickw
Adding a new unit test for ElggMetadata. git-svn-id: http://code.elgg.org/elgg/trunk@3568 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-16Rewriting core debug messages to be more informative.nickw
Introducing the concept of levels for Elgg debugging: notices, warnings and errors are displayed when the appropriate debugging level is enabled. An additional level of "debug" exists to differentiate from errors. git-svn-id: http://code.elgg.org/elgg/trunk@3560 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-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-05Closes #639: marcus
* Metastrings can be searched either case sensitive or insensitive modes. * Tags now have case lowered in a UTF8 safe way (requires mbstring support). * Introducing mb_wrapper.php containing multibyte wrapper functions. * Version bump. * Introduces #1043 for consideration. git-svn-id: https://code.elgg.org/elgg/trunk@3322 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-19Closes #691: Should have been is_memcache_available()marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2577 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-14"Undefined" messages tidied upmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2451 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-07Refs #529: Experimental caching of metastringsmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2420 36083f99-b078-4883-b0ff-0f9b5a30f544