aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
AgeCommit message (Collapse)Author
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
2008-08-13Correct menus being usedmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@1907 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-13Refs #237: Added option, now just needs a search listing banned users.marcus
Depends #243 git-svn-id: https://code.elgg.org/elgg/trunk@1904 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-13Closes #227. Depends on #243 to work.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1903 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-13Actually closes #46marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1901 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-13Added a reason for disabled objects.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1891 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-13Closes #46: Method for activating an entity. No hookup yet.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1890 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-11Added latest content to the front pageben
git-svn-id: https://code.elgg.org/elgg/trunk@1847 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-11Added a search submenu.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1819 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-08Solved write issues in groups for non-admin users.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1808 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-07Centralised set and get magic functions to the tlc. Added isset and unset ↵marcus
magic methods. Report any problems! git-svn-id: https://code.elgg.org/elgg/trunk@1776 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-06Edited container-related permissions.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1737 36083f99-b078-4883-b0ff-0f9b5a30f544