aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/pageowner.php
AgeCommit message (Collapse)Author
2011-02-01Refs #2839: moved deprecated functions from access.php - ↵ewinslow
private_settings.php to deprecated.php. Still have to do relationships.php - xml.php. Deleted documentation for these functions since 1) it was using up precious bytes, and 2) documentation should not be needed since people should not be trying to use these if they are using 1.8, and 3) I assume the documentation will exist as archived 1.7 docs. git-svn-id: http://code.elgg.org/elgg/trunk@7975 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-29fixed typo in deprecation noticecash
git-svn-id: http://code.elgg.org/elgg/trunk@7955 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-26changed elgg_get_page_owner() to elgg_get_page_owner_entity() to be more ↵cash
consistent git-svn-id: http://code.elgg.org/elgg/trunk@7943 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-10Fixes #2367: With fear and trepidation, converting events/plugin hooks to ↵ewinslow
use elgg_ prefixed versions git-svn-id: http://code.elgg.org/elgg/trunk@7284 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30Refs #2128 - added stack context functionscash
git-svn-id: http://code.elgg.org/elgg/trunk@7153 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-28Standardized code in all of core, not including language files, tests, or ↵brettp
core mods. git-svn-id: http://code.elgg.org/elgg/trunk@7124 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-22Removed @license, @copyright, and @author from files. License and copyright ↵brettp
are covered by LICENSE.txt and COPYRIGHT.txt in root. git-svn-id: http://code.elgg.org/elgg/trunk@7118 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-28Refs #1439 added better page owner functionscash
git-svn-id: http://code.elgg.org/elgg/trunk@6866 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-05Fixes #1212: Removed unused code.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3906 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixes #1211: page_owner() sets the page owner after figuring it out.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3882 36083f99-b078-4883-b0ff-0f9b5a30f544
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