aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/pageowner.php
AgeCommit message (Collapse)Author
2013-02-09Doc fixes and inline type hints for variables (big static analysis cleanup)Steve Clay
2012-12-17Fixes #4720. Disabling access while finding / fetching page owners so group ↵Brett Profitt
gatekeepers work.
2012-01-08most of the comments in the engine now past the snifferCash Costello
2011-10-30setting $CONFIG->context earlier to avoid using the context functions before ↵Cash Costello
it is initialized
2011-10-08Fixes #3936 added @access private to internal functionsCash Costello
2011-03-26fixed notice in get_context() when no context is setcash
git-svn-id: http://code.elgg.org/elgg/trunk@8846 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-10Fixes #2228: Major cleanup of urls -- remove leading pg/ and trailing / from ↵ewinslow
most urls in core and plugins git-svn-id: http://code.elgg.org/elgg/trunk@8653 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-10fixed page owner setting for sites in a subdirectorycash
git-svn-id: http://code.elgg.org/elgg/trunk@8645 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-22Refs #2790 - fixes it for real this timecash
git-svn-id: http://code.elgg.org/elgg/trunk@8417 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-22Fixes #2790 adds fix from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@8416 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-21Default page owner code now ignores the query. Works for pages like ↵brettp
pg/bookmarks/add/34?address=http://google.com git-svn-id: http://code.elgg.org/elgg/trunk@8385 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-20added code to figure out page owner rather than explicitly setting in all ↵cash
the plugin page handlers git-svn-id: http://code.elgg.org/elgg/trunk@8370 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-08Refs #2543: Core uses the new functions from previous commit.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8078 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-01Moved functions from export.php - river.php into deprecated filesewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7980 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-01Reversing 7975ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7978 36083f99-b078-4883-b0ff-0f9b5a30f544
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