aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/pageowner.php
AgeCommit message (Collapse)Author
2009-10-15Standardized gobs of files.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3548 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-31All line endings are now Unix-style.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3451 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-20Whoa nelly this is a big one: Removed license and copyright for files.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3427 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-15Error logged on page forward due to missing page owner.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3209 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-09Forward user if a page owner is inaccessible (Refs #969)marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3200 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-30Context can now be assigned by defining a constant in the page.ben
git-svn-id: https://code.elgg.org/elgg/trunk@3175 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-23Refs #706marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2611 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-07Removed ElggDummy live code for now.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1783 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-07Refs #174: Introducing the ElggDummy class which returns false for all ↵marcus
methods and set variables called on it. This is what the logged out $_SESSION['user'] is set to and is also what page_owner_entity will return if page_owner is invalid. This means that calls to things like $_SESSION['user']->getGUID() are now safe and will no longer cause a parsing error. Please report any issues. git-svn-id: https://code.elgg.org/elgg/trunk@1770 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-22Groups now have usernames of a sortben
git-svn-id: https://code.elgg.org/elgg/trunk@1491 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-18Moved container_guid to entities, modified a bunch of functions.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1473 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-18Improvements to get_contextben
git-svn-id: https://code.elgg.org/elgg/trunk@1466 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-07page_owner() now works off owner_guid, not owner_idben
git-svn-id: https://code.elgg.org/elgg/trunk@1324 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-04Refs #109: Group members widget.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1294 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-16Sticky menu items, but also, much more intelligent context detection. Plugin ↵ben
authors need not bother with set_context() any more - the context should be set automatically. This is overruled by page handling settings, if set, which use the first element of the URL to determine context. Fixes #32 git-svn-id: https://code.elgg.org/elgg/trunk@940 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-22Plugins can now set contextben
git-svn-id: https://code.elgg.org/elgg/trunk@677 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-03Pages can now manually override the page ownerben
git-svn-id: https://code.elgg.org/elgg/trunk@383 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-02Smaller version of previousben
git-svn-id: https://code.elgg.org/elgg/trunk@329 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-02Introducing page_owner_entityben
git-svn-id: https://code.elgg.org/elgg/trunk@328 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-02Fix to previousben
git-svn-id: https://code.elgg.org/elgg/trunk@326 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-02Reverting page_ownerben
git-svn-id: https://code.elgg.org/elgg/trunk@325 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-01Update to docs for previousben
git-svn-id: https://code.elgg.org/elgg/trunk@320 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-01page_owner() now returns an ElggUser or falseben
git-svn-id: https://code.elgg.org/elgg/trunk@319 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-03-11Et voila: page ownership!ben
git-svn-id: https://code.elgg.org/elgg/trunk@160 36083f99-b078-4883-b0ff-0f9b5a30f544