aboutsummaryrefslogtreecommitdiff
path: root/engine/classes
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-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 #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-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-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
2011-02-08Fixes #2858: is_plugin_enabled() is deprecated by elgg_is_active_plugin() ↵brettp
instead of ElggPlugin::isActive(). git-svn-id: http://code.elgg.org/elgg/trunk@8081 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-08Fixes #2869: User settings for plugins work again.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8080 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-08Fixes #2863: Can now use all 6 dep types with conflicts.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8071 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-08Added suggests to the plugins deps system. It parallels the requires system, ↵brettp
but doesn't affect if the plugin can be enabled and only shows up in the deps table on the advanced view. git-svn-id: http://code.elgg.org/elgg/trunk@8070 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-08Running plugins' blurb, description, name, and screenshot->description ↵brettp
through elgg_echo(). git-svn-id: http://code.elgg.org/elgg/trunk@8069 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-06fixed some minor documentation issuescash
git-svn-id: http://code.elgg.org/elgg/trunk@8050 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-06Fixed bug when trying to set a plugin's priority to 1 without using "first."brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8048 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-06moved the count comments and likes functions into the ElggEntity classcash
git-svn-id: http://code.elgg.org/elgg/trunk@8047 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-05Fixes #2559 refs #2475 added ElggEntity:getIconURL() and ↵cash
elgg_view_entity_icon() git-svn-id: http://code.elgg.org/elgg/trunk@8039 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-05Fixes #2852: Checking other plugins' conflicts to see if plugin is able to ↵brettp
be activated in ElggPluginPackage->checkDependencies(). Some language clarification in admin panel. git-svn-id: http://code.elgg.org/elgg/trunk@8034 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-05supporting private settings before an entity is savedcash
git-svn-id: http://code.elgg.org/elgg/trunk@8032 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-05using setPrivateSetting() and getPrivateSetting() instead of procedural ↵cash
functions git-svn-id: http://code.elgg.org/elgg/trunk@8031 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-04Fixed typo that caused ElggPlugin->path not to be correctly set when loading ↵brettp
from a plugin id. git-svn-id: http://code.elgg.org/elgg/trunk@8020 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-04Renamed 'name' to 'plugin' for priority req. Updated unit tests and docs.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8019 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-04Added new priority 'requires' for plugin dep system. You can now say that a ↵brettp
plugin is required to be after / before another plugin in the system. git-svn-id: http://code.elgg.org/elgg/trunk@8016 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-04I'm a dummy -- getType and getSubtype are taken care of by Loggable...ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8015 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-04Added type and subtype abstract functions to ElggDataewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8014 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-04Fixes #2820, Fixes #2823. Using elgg_get_plugins() in ↵brettp
elgg_get_plugins_provides(). Fixed plugin conflicts system. Removed cruft from ElggPluginPackage. Fixed deprecated get_installed_plugins() to honor the type requested. git-svn-id: http://code.elgg.org/elgg/trunk@8010 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-03changed elgg_get_plugin_path() to elgg_get_plugins_path()cash
git-svn-id: http://code.elgg.org/elgg/trunk@8001 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-22Fixes #2586 ErrorResult has PHP5 constructor nowcash
git-svn-id: http://code.elgg.org/elgg/trunk@7910 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-22fixed bug with plugin settings because of assignment operator confusioncash
git-svn-id: http://code.elgg.org/elgg/trunk@7896 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-22Fixes #2812 - correct check for guid nowcash
git-svn-id: http://code.elgg.org/elgg/trunk@7894 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-22fixed backward compatibility issue with $CONFIG in plugins' start.phpcash
git-svn-id: http://code.elgg.org/elgg/trunk@7893 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-07Refs #2781: Checking if a dir was passed as a plugin package. Need to do ↵brettp
this to allow packages to be loaded outside of plugin_dir. git-svn-id: http://code.elgg.org/elgg/trunk@7860 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-07Refs #2781: Using same technique to check for full plugin path in ElggPlugin.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7859 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-07Refs #2781 path checking in ElggPluginPackage constructor should work for ↵cash
both *nix and Windows now git-svn-id: http://code.elgg.org/elgg/trunk@7854 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-05Fixes #2760. Refs #2759. Updated plugin admin actions to use the new system. ↵brettp
Added plugin dependency views in admin. ElggPluginPackage->checkDependencies() now returns the detected value. git-svn-id: http://code.elgg.org/elgg/trunk@7838 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-05Refs #2759: Added elgg_version to 1.7 manifest parser.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7837 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-03Removed experimental duplicate code from ElggPlugin.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7822 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-03Added ElggPlugin::getPath().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7821 36083f99-b078-4883-b0ff-0f9b5a30f544