aboutsummaryrefslogtreecommitdiff
path: root/engine
AgeCommit message (Collapse)Author
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-13Refs #2301 demoting type:subtype warnings to noticescash
git-svn-id: http://code.elgg.org/elgg/trunk@8205 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Fixes #2848 pulls user settings code out of actions into functions. We ↵cash
should investigate putting them in a library that is only loaded on demand git-svn-id: http://code.elgg.org/elgg/trunk@8204 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13user settings library is now user_settings.phpcash
git-svn-id: http://code.elgg.org/elgg/trunk@8203 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13documentation update for admin functionscash
git-svn-id: http://code.elgg.org/elgg/trunk@8202 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13admin menu uses weights for orderingcash
git-svn-id: http://code.elgg.org/elgg/trunk@8201 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Additional checking in ElggBatch for valid key.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8200 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Added ability to get results of callback function in ElggBatch.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8197 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Fixed ElggBatch problems when specifying a limit of 0. Fixed a shoot ↵brettp
yourself in the foot situation if passing a dumb number to chunk size. git-svn-id: http://code.elgg.org/elgg/trunk@8196 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Added ElggBatch class for more efficient batch operations on large sets of ↵brettp
Elgg* objects. git-svn-id: http://code.elgg.org/elgg/trunk@8195 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #650. Replaced count_annotations().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8188 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Updated a few recent calls to elgg_get_annotations() to use ↵brettp
'reverse_order_by' => true. git-svn-id: http://code.elgg.org/elgg/trunk@8186 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-12Fixes #2906. Added elgg_sql_reverse_order_by() and wired it up to ege() and ↵brettp
ega(). Pass 'reverse_order_by' => true in option arrays. git-svn-id: http://code.elgg.org/elgg/trunk@8184 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #650. Replaced calls to get_annotations() by elgg_get_annotations().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8182 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #650. Replaced uses for get_metadata_byname() by elgg_get_metadata()brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8180 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-12Refs #2898: Updated docs and test manifest for the xmlns changes.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8171 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #2898: Using an XML namespace instead of version attribute on plugin ↵brettp
manifests. git-svn-id: http://code.elgg.org/elgg/trunk@8170 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12fixed bug in elgg_format_attributes() that caused none string values to be ↵cash
ignored git-svn-id: http://code.elgg.org/elgg/trunk@8152 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12register_entity_url_handler => elgg_register_entity_url_handler (because ↵ewinslow
every other reigstration function asks for the callback last) git-svn-id: http://code.elgg.org/elgg/trunk@8140 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #2610: Using call_user_func in url hooksewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8139 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Page handler uses call_user_func (so methods of classes can be used as page ↵ewinslow
handlers) git-svn-id: http://code.elgg.org/elgg/trunk@8138 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Added elgg_get_entities_from_plugin_user_settings(). Added a name_prefix ↵brettp
option to elgg_get_entities_from_private_settings(). git-svn-id: http://code.elgg.org/elgg/trunk@8136 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Fixes #2904: Converted most elgg_view('layout/objects/module') instances to ↵ewinslow
elgg_view_module() git-svn-id: http://code.elgg.org/elgg/trunk@8135 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Added an elgg_view_module shortcut function -- now to try it out!ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8133 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Added missing @deprecated tags to a couple functionsewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8131 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12set_view_location => elgg_set_view_location (to match elgg_get_view_location)ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8130 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12One more conversion to elgg_view_formewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8128 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-11Typo correction: @deprecate => @deprecatedewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8124 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-11Fixes #2888: Plugins are checked for validity in elgg_get_plugins(). It ↵brettp
won't return broken plugins unless specifically requested. git-svn-id: http://code.elgg.org/elgg/trunk@8121 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-11Bah Didn't hit save on annotations.php before I commited the previous change.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8120 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-11Moved list_entities_from_annotation_count_by_metadata() to deprecated-18.php.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8119 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-11Refs #650. Added 'annotation_calculation' to elgg_get_annotations(). ↵brettp
Deprecated list_annotations() by elgg_list_annotations(). Deprecated get_annotations_*() by elgg_get_annotations() and passing annotation_calculation. git-svn-id: http://code.elgg.org/elgg/trunk@8118 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-11Added $viewer callback option for elgg_list_entities().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8117 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-11Fixed doc spacing that was throwing errors in PHP Code Sniffer.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8116 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-11Moved get_annotations() to deprecated-1.8.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8110 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-11Fixes #2872 - returned plugin settings menu to working ordercash
git-svn-id: http://code.elgg.org/elgg/trunk@8107 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-10fixed access issue on menu namecash
git-svn-id: http://code.elgg.org/elgg/trunk@8092 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-09Refs #2874. Finished removing calls to deprecated plugin mgmt functions in ↵brettp
core and core plugins. git-svn-id: http://code.elgg.org/elgg/trunk@8090 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-09Refs #2874: More removal of deprecated function user in plugins systems.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8089 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-09Refs #2869, #2874. Renamed ElggPlugin::remove* functions to unset*. Added ↵brettp
ElggPlugin::getAllUserSettings() and getAllSettings(). Deprecated all plugin settings and user setting functions with correctly named functions. git-svn-id: http://code.elgg.org/elgg/trunk@8088 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-09Refs #2869: Fixed problems when deleting user settings using wrapper function.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8085 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-09Refs #2874: Using elgg_get_plugins() instead of get_installed_plugins().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8084 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-09Fixed typo that break ElggPlugin::isActive().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8083 36083f99-b078-4883-b0ff-0f9b5a30f544