aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
AgeCommit message (Collapse)Author
2010-01-13Creating a helper function to return INI values in bytes.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3804 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-11Always generating action tokens with output/confirmlink.nickw
Includes a check for actions already defining the tokens. git-svn-id: http://code.elgg.org/elgg/trunk@3799 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-20fixed bug where array of messages passed to system_messages caused execution ↵cash
to stop - also displaying only errors if they exist rather than having success and error messages overlapping each other git-svn-id: http://code.elgg.org/elgg/trunk@3776 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-17get_submenu was throwing out tons of notices - this should be fixed nowcash
git-svn-id: http://code.elgg.org/elgg/trunk@3763 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-07fixed issue where php notices were written to log on any debug level and ↵cash
added a plugin hook so plugins can direct elgg_log messages where they want git-svn-id: http://code.elgg.org/elgg/trunk@3735 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-04fixes #1273 - replaced previous hack with call to getTypecash
git-svn-id: http://code.elgg.org/elgg/trunk@3725 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-03Trimming the paths when detecting which nav item to mark as selected.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3718 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-02Changed the way the sidebar nav "selected" class is applied. Should yield ↵brettp
more accurate results if the URIs aren't exactly the same. git-svn-id: http://code.elgg.org/elgg/trunk@3716 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-11fixes #1339 - elgg_view_exists now handles view extensions for non-default ↵cash
viewtypes (for one level of recursion) git-svn-id: http://code.elgg.org/elgg/trunk@3666 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-11get_views deprecated for elgg_get_views (just to be consistent with views api)cash
git-svn-id: http://code.elgg.org/elgg/trunk@3665 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-10elgg_extend_view() replaces extend_view()cash
git-svn-id: http://code.elgg.org/elgg/trunk@3661 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-10updated documentation of functions used in creating the topbar tools ↵cash
dropdown menu git-svn-id: http://code.elgg.org/elgg/trunk@3660 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-09Removed old code from get_submenu().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3643 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-30Cleaning up logic regarding view error notices.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3604 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-27Fixes #1161: Views now default to 'default' if not found.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3585 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-27Created elgg_get_entities_from_metadata() and made get_entities_from_metadata().brettp
Made elgg_get_entities() accept extra joins and wheres in the options. Created a helper function elgg_normalise_plural_options_array() to rewrite shortcut singular options to plurals. git-svn-id: http://code.elgg.org/elgg/trunk@3584 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-24Cleaned up some code in elgg_view().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3578 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-22Pulling in MITRE's search core. Fo'rizzle this time. Yo.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3572 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-21Reducing the output level of log messages set to "DEBUG".nickw
Debug level messages will be logged at the same level as warnings. Additionally, users will be notified when attempting to run the test suite without first placing the site in debug mode. git-svn-id: http://code.elgg.org/elgg/trunk@3567 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-19Adding debug options to admin site settings.nickw
Debugging errors and warnings to screen. If notice level is enabled, output is sent to system log file. git-svn-id: http://code.elgg.org/elgg/trunk@3563 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-16Rewriting core debug messages to be more informative.nickw
Introducing the concept of levels for Elgg debugging: notices, warnings and errors are displayed when the appropriate debugging level is enabled. An additional level of "debug" exists to differentiate from errors. git-svn-id: http://code.elgg.org/elgg/trunk@3560 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-13Standardize elgglib.phpbrettp
git-svn-id: http://code.elgg.org/elgg/trunk@3532 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-09Reverted back to previous copy removing Justin's search because of views ↵brettp
problems in plugins. git-svn-id: http://code.elgg.org/elgg/trunk@3521 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-09Pulled in Justin's search changes from github.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3520 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-08-04Fixed a security issues when simple cache is off.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3420 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-08Refs #427: Added $vars array to hook call.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3397 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-24Closes #427: Original view name passed to plugin hook.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3352 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-17Refs #964: Correct detection of type.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3341 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-17Refs #964: Tidied plugin hook into framework function, changed hook to ↵marcus
entity:annotate. git-svn-id: https://code.elgg.org/elgg/trunk@3338 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-16Marcus Povey 20090616:marcus
* Closes #964: Introduces a plugin hook 'annotations:view', $entity_class (object/user/group/site) called elgg_view_entity on FULL view. This lets you return annotations to an entity and control the order in which they're displayed. Existing views remain un-effected but should probably be retrofitted. * Version bump. git-svn-id: https://code.elgg.org/elgg/trunk@3337 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-05-05Closes #994: elgg_view_exists will now check to see if a view exists by dint ↵marcus
of being extended. git-svn-id: https://code.elgg.org/elgg/trunk@3264 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-05-05Removing spurious error log messagesmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3263 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-10Removing viewtype autoforward, because it broke installs.ben
git-svn-id: https://code.elgg.org/elgg/trunk@3204 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-09Non-default view types now preserved when forwarding.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3199 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-08Close #968: View path cache can now be turned on and offmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3197 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-08Removed unused experimental cache functionsmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3196 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-08Refs #968 & #946: Tidied filepath cache stuff by placing them in function calls.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3194 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-30Closes #897: Memcache datalists correctly saved on first loadmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3179 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-13Fixes #877: Minor typo addressed. Note: This function is currently not used.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3158 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-04Added contentWrapper viewben
git-svn-id: https://code.elgg.org/elgg/trunk@3063 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-04Fixed river RSS viewsben
git-svn-id: https://code.elgg.org/elgg/trunk@3058 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-04Improvements to elgg_view, plus river dashboard RSS feedben
git-svn-id: https://code.elgg.org/elgg/trunk@3053 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-03Moving to a smaller chunk size.ben
git-svn-id: https://code.elgg.org/elgg/trunk@3051 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-03Echoing the large output buffer in chunksmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3048 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-03Stub for experimental view caching (disabled)marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3045 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-03Using faster array concatinationmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3043 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-03$vars is once again populated with session databen
git-svn-id: https://code.elgg.org/elgg/trunk@3041 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-03Removed utterly pointless linesmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3040 36083f99-b078-4883-b0ff-0f9b5a30f544