aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metadata.php
AgeCommit message (Collapse)Author
2011-12-23Fixes #682 not deleting metadata when update, metadata event handlers return ↵Cash Costello
false
2011-11-01standardized the elgg_get_entities* function @return documentationcash
2011-10-08Fixes #3936 added @access private to internal functionsCash Costello
2011-10-02Merged docs update for getters from 1.7.Brett Profitt
2011-09-29Fixes #3827 updated documentation on @return for elgg_get_entities* functionscash
2011-03-26Refs #3238 fix for updating name of metadata for trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@8850 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-26added defaults for value_type and owner_guid to create_metadata - refs ↵cash
https://github.com/lorea/Elgg/commit/451d79f8b88023bfea40167027345d226b928dcf git-svn-id: http://code.elgg.org/elgg/trunk@8844 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-26Closes #3202 'count' already supported, added unit testscash
git-svn-id: http://code.elgg.org/elgg/trunk@8840 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Fixes #2860: Deprecated several registration functions that were using the ↵ewinslow
'callback-first' ordering git-svn-id: http://code.elgg.org/elgg/trunk@8257 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14Removed last of deprecated metadata calls in trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8224 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-14Refs #2912. Added checks for constraints in dangerous functions. Unit tests ↵brettp
no longer remove all metadata/annotations. git-svn-id: http://code.elgg.org/elgg/trunk@8215 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 #650. Changed elgg_get_metadata_by_id() to elgg_get_metadata_from_id() ↵brettp
to be consistent with other functions. git-svn-id: http://code.elgg.org/elgg/trunk@8179 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #650. Replaced get_metadata() by elgg_get_metadata_by_id()brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8178 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #650: Replaced uses of get_metadata_for_entity() by elgg_get_metadata().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8177 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Deprecated get_metadata() by elgg_get_metadata_by_id() to avoid confusion ↵brettp
with elgg_get_metadata(). Not in love with the name...had considered elgg_get_metadatum(). Open to suggestions. git-svn-id: http://code.elgg.org/elgg/trunk@8175 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-11Refs #650. Deprecated get_annotations() for elgg_get_annotations().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8109 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-01Moved functions from export.php - river.php into deprecated filesewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7980 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-06Fixes #2774 - fixes several E_NOTICE issues - mostly due to accessign array ↵cash
indexes git-svn-id: http://code.elgg.org/elgg/trunk@7844 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-01Fixes #2698 not sanitizing strings to prevent double encodingcash
git-svn-id: http://code.elgg.org/elgg/trunk@7798 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-31Merged r7272 from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7791 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-24Deprecated list_entities_from_metadata_multiewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7437 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-12Updating ElggEntity::clearMetaData() to fail when passed a non-existent ↵nickw
metadata name. Fixes #2273 git-svn-id: http://code.elgg.org/elgg/trunk@7301 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-09Refs #2632 - cleaned up documentation on metadatacash
git-svn-id: http://code.elgg.org/elgg/trunk@7273 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 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 r6671:6683 from 1.7 branch to trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6847 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6620:6653 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6846 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged [6600],[6601],[6605],[6606],[6607],[6608],[6611] from 1.7 branch into ↵cash
trunk git-svn-id: http://code.elgg.org/elgg/trunk@6843 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-08-21Merging r6517:6520 from 1.7 branchcash
git-svn-id: http://code.elgg.org/elgg/trunk@6839 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-04-07Ensuring malformed offset/limit values are ignored by ↵nickw
elgg_list_entities_from_metadata(). Refs #2046 git-svn-id: http://code.elgg.org/elgg/trunk@5644 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-05Metadata lists will default offset and limit to existing url elements.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@5628 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-05Passing entity list options on to view.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@5625 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