aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
AgeCommit message (Collapse)Author
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-02-04ticket #732 committeddave
git-svn-id: https://code.elgg.org/elgg/trunk@2636 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-03patch number #724 applieddave
git-svn-id: https://code.elgg.org/elgg/trunk@2631 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-02Fixed bug in get_entities allowing for multiple subtypes.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2629 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-30Moving over to use file_exists to check for default entity icons, which ↵ben
should be lighter to load and produce fewer errors. git-svn-id: https://code.elgg.org/elgg/trunk@2627 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-27Added container_guid to ElggEntity->save() and update_entity() functions. ↵ben
Fixes #711 git-svn-id: https://code.elgg.org/elgg/trunk@2620 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-09Minor variable name and comment change.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2555 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-08Minor error message improvementmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2552 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-08Added extra belts and braces check (minor)marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2551 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-08Added extra belts and braces check (minor)marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2550 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-08Refs #640: Renamed and moved entities.php:disable_entities to ↵marcus
user.php:disable_user_entities git-svn-id: https://code.elgg.org/elgg/trunk@2545 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-08Delete replaced by disable in disable_entitymarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2544 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-05* Added addRelationship to ElggEntity... bit of an omission! marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2532 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-26Closes #571: Widgets now use private store for settingsmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2490 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-25Hook for future geocoding library added.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2488 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-20Refs #452: Calendar interface on entitiesmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2480 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-20Introducing get_entities_from_private_setting();marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2479 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-20Refs #571. Fixes #569, #570: marcus
* Plugin functions set to use private data store. * Fixed some db queries * Modified plugin class overriding get/set functions git-svn-id: https://code.elgg.org/elgg/trunk@2475 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-20Refs #569, #570, #571: Corrected and optimised insert querymarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2473 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-20Refs #569, #570, #571: dbprefix not prefix;marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2471 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-20Refs #569, #570, #571: Added remove_all_private_settings()marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2470 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-20Refs #569, #570, #571: Added get_all_private_settings();marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2469 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-19Fixes #568: Exportable code now inclusive not exclusive.marcus
* Added extra function Exportable interface * OpenDD export modified * PHP & JSON export views modified * Default export view will still show all data if you are logged in as admin (since this view is used by the guidtool) git-svn-id: https://code.elgg.org/elgg/trunk@2467 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-19Base private setting functions, commit 2ben
git-svn-id: https://code.elgg.org/elgg/trunk@2466 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-19Base private setting functions, commit 1ben
git-svn-id: https://code.elgg.org/elgg/trunk@2465 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-12git-svn-id: https://code.elgg.org/elgg/trunk@2445 ↵marcus
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-07Refs #529: Experimental object level cachingmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2419 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-06Reverted limited caching back to array since caching objects don't work so ↵marcus
well for these. git-svn-id: https://code.elgg.org/elgg/trunk@2418 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-04Moved caching to function so it can be easily replacedmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2390 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-03Refs #514: Entity and subtype caching marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2389 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-03Minor tweaks 'cos case does matter...marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2379 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-24Revert.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2303 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-24Improvements for container overrides.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2302 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-08Default icon overrides.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2226 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-08Simple hook to allow for default user and entity icons.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2225 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-08git-svn-id: https://code.elgg.org/elgg/trunk@2224 ↵marcus
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-08Closes #417 & #418marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2223 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-08Closes #301: Profile icons now use getIcon() API. Overrides now possible:marcus
For themes to override, create a plugin hook listening to 'entity:icon:url' and object 'user'. In the hook return a different url. To replace default user icons in a plugin one might create a hook: function profile_usericon_hook($hook, $entity_type, $returnvalue, $params) { if ((!$returnvalue) && ($params['entity'] instanceof ElggUser)) { // return your default graphic here. } } And set it to priority 900 (lower priority than the code that displays a pretty icon for users but higher than the default object display code in entities.php) git-svn-id: https://code.elgg.org/elgg/trunk@2221 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-07Minor tweaks to the getIcon code:marcus
* Default now running on priority 1000 * Renamed default hook to a better name Marcus Povey git-svn-id: https://code.elgg.org/elgg/trunk@2214 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-06Closes #405: If -> else if. Nice spot.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2183 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-15Closes #346: More granularity on enable/disable. marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2082 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-18Removing a user disables their entitiesben
git-svn-id: https://code.elgg.org/elgg/trunk@1997 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-16Code also uselessmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@1960 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-16Salt free dietmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@1959 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-15The front page now only shows content and groups.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1929 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-13Closes #227 and #243: Hopefully this has the fscking thing nailed to the wall. marcus
Please report any problems, especially is they relate to access permissions (granted when you shouldn't or denied when you should) git-svn-id: https://code.elgg.org/elgg/trunk@1912 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-13Reverted changes so users can now register again.marcus
There are critical issues with enable/disable. Primarily: 1) A number of functions do not use the access controls, these throw an exception when accessing a disabled entity. 2) #243 does not seem possible. git-svn-id: https://code.elgg.org/elgg/trunk@1909 36083f99-b078-4883-b0ff-0f9b5a30f544