aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metastrings.php
AgeCommit message (Collapse)Author
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
2008-10-31Closes #493: Moved database queries out of module and in to core in line ↵marcus
with best practice. git-svn-id: https://code.elgg.org/elgg/trunk@2369 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-08Adjusted contributors file.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1806 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-08Removing annoying warning messagesben
git-svn-id: https://code.elgg.org/elgg/trunk@1328 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-27git-svn-id: https://code.elgg.org/elgg/trunk@1190 ↵marcus
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-27Metastrings now keeps a record of strings it knows aren't present and so ↵marcus
removes the need to futher look for them. Refs #101 git-svn-id: https://code.elgg.org/elgg/trunk@1189 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-27Minor textual changesmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@1183 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-27Refs #86 - Better debugmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@1159 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-27Closes #86marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1158 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-22Introducing elgg_view_annotationben
git-svn-id: https://code.elgg.org/elgg/trunk@1046 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-15Removing the multiple slash problem on metastrings in extendersben
git-svn-id: https://code.elgg.org/elgg/trunk@458 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-03-14Marcus Povey <marcus@dushka.co.uk>icewing
* Metastrings modified for new schema git-svn-id: https://code.elgg.org/elgg/trunk@217 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-03-12Marcus Povey <marcus@dushka.co.uk>icewing
* Subtyping on annotations and metadata git-svn-id: https://code.elgg.org/elgg/trunk@187 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-03-11Marcus Povey <marcus@dushka.co.uk>icewing
* Added metadata/metastrings tag stuff. Lorks. git-svn-id: https://code.elgg.org/elgg/trunk@151 36083f99-b078-4883-b0ff-0f9b5a30f544