aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
AgeCommit message (Collapse)Author
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
2008-08-05Tagging issue on unsaved entities: solved.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1708 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-05Speculative fix for metadata issue.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1707 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-05Actually fixes #202marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1706 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-05Fixes #202 : Listen to plugin hook 'entity:icon:url', which passes parameters:marcus
'entity' The entity 'viewtype' The view (eg 'default') 'size' The size (eg, large, tiny etc) You should return a url for the object's icon if you can.. otherwise return nothing at all. git-svn-id: https://code.elgg.org/elgg/trunk@1705 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-04Further changes to the admin panelben
git-svn-id: https://code.elgg.org/elgg/trunk@1694 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-04Fixed the container_guid override.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1684 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-01Changed so that validated_email flag written as null user. Refs #190.marcus
Also confirms fix and closes #104. git-svn-id: https://code.elgg.org/elgg/trunk@1649 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-01The metadata permissions check now passes along (optionally) the specific ↵ben
piece of metadata. Refs #104 git-svn-id: https://code.elgg.org/elgg/trunk@1648 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-31Closes #151: Introducing getIcon($size)marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1629 36083f99-b078-4883-b0ff-0f9b5a30f544