aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metadata.php
AgeCommit message (Collapse)Author
2009-10-28Updated documentation for elgg_get_entity_metadata_where_sql()brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3596 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-28Deprecated get_entities_from_metadata() and get_entities_from_metadata_multi().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3592 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-27Fixed get_entities_from_metadata() wrapper when passing case_sensitive = FALSE.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3586 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-27Created elgg_get_entities_from_metadata() and made get_entities_from_metadata().brettp
Made elgg_get_entities() accept extra joins and wheres in the options. Created a helper function elgg_normalise_plural_options_array() to rewrite shortcut singular options to plurals. git-svn-id: http://code.elgg.org/elgg/trunk@3584 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-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-07-24Fixes #1144: Added comma between order by fields.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3412 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-02order by now works on get entities from metadatadave
git-svn-id: https://code.elgg.org/elgg/trunk@3379 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-01Metadata delete now passing correct object, also handles missing metadata ↵marcus
entity. git-svn-id: https://code.elgg.org/elgg/trunk@3372 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-06-04Closes #998 : Operator selection on get by metadata multimarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3318 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-04-09Closes #974: Owner_guid may now be an arraymarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3198 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-31Closes #896: Error thrown if user not validate. Metadata physically removed ↵marcus
rather than simply blanked when validation is requested. Note: update_metadata no longer seems to support anonymous metadata which is likely to have knock on issues elsewhere... git-svn-id: https://code.elgg.org/elgg/trunk@3184 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-24Syntax improvements for the get_metadata functionsben
git-svn-id: https://code.elgg.org/elgg/trunk@2935 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-10Closes #757: Removed strtolower as it is not UTF8 safe. See ↵marcus
http://www.phpwact.org/php/i18n/utf-8 for further discussion. git-svn-id: https://code.elgg.org/elgg/trunk@2705 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-24Fixing access controls on multi-metadatamarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2614 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-22Closes #701: Blank tags not returned by string_to_tag_arraymarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2597 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-08Closes #667: Minor tweak, an e should be an mmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2540 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-12-30Closes #643: Confirmed bug, applied fix as suggested.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2523 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-24Closes #580: Fixed tagging trim and strtolowermarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2486 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-20Fixes #531: Access permissions enforcedmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2468 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-14* Introducing get_loggedin_user() and get_loggedin_userid()marcus
* ACLs now using get_loggedin_user* * Some logic cleaned up * Some "Undefined..." messages cleaned up git-svn-id: https://code.elgg.org/elgg/trunk@2459 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-07Refs #529: Experimental memcaching for metadatamarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2425 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-06Introduced a way to either tether metadata access to entities, or to make ↵ben
them independent - in either case, explicitly. git-svn-id: https://code.elgg.org/elgg/trunk@2197 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-06You can now remove pagination from a listben
git-svn-id: https://code.elgg.org/elgg/trunk@2192 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-01Closes #379marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2159 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-01Closes #389marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2158 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-24Metadata permissions now work as advertised, but had to remove caching in ↵ben
the process. Will attempt to re-enable it shortly. git-svn-id: https://code.elgg.org/elgg/trunk@2109 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-17Short circuit added for missing values.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2094 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-09Closes #338: You're quite right, this is was an error on our part. Nice spot!marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2065 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-08-04Hidden viewtype toggle on search.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1679 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-01The metadata permissions check now passes along (optionally) the specific ↵ben
piece of metadata. Refs #104 git-svn-id: https://code.elgg.org/elgg/trunk@1648 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-30Introducing url handlers for extenders.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1598 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-30Extender getURL() support (no overide as of yet)marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1591 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-22More owner_guid to container_guid transferben
git-svn-id: https://code.elgg.org/elgg/trunk@1494 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-22Updated further functions to work from container_guids rather than owner_guidsben
git-svn-id: https://code.elgg.org/elgg/trunk@1493 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-16Closes #116: Groups join clears invite flags marcus
http://trac.elgg.org/elgg/ticket/116 git-svn-id: https://code.elgg.org/elgg/trunk@1434 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-07Administration tweaks; fixed users online functions, as well as last_action ↵ben
functions, and the 'make admin' functionality git-svn-id: https://code.elgg.org/elgg/trunk@1326 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-07Introducing canEditMetadataben
git-svn-id: https://code.elgg.org/elgg/trunk@1318 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-27Added a 'display full view' parameter to all of the listings functionsben
git-svn-id: https://code.elgg.org/elgg/trunk@1170 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-25Search and metadata functions now support multiple user GUIDsben
git-svn-id: https://code.elgg.org/elgg/trunk@1134 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-25Fixes #87 & #88marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1125 36083f99-b078-4883-b0ff-0f9b5a30f544