aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
AgeCommit message (Collapse)Author
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-22Fixes #733 - events now support PHP callbackscash
git-svn-id: http://code.elgg.org/elgg/trunk@7116 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-22better creation of event and plugin hook registration arrayscash
git-svn-id: http://code.elgg.org/elgg/trunk@7115 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-22Fixes #2466 - split events() into register and trigger functionscash
git-svn-id: http://code.elgg.org/elgg/trunk@7114 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-21Refs #733 - plugin hooks now support PHP callbackscash
git-svn-id: http://code.elgg.org/elgg/trunk@7113 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-17Fixes #2563 - setup autoload in elgglib.php so exceptions and other classes ↵cash
are available as soon as possible git-svn-id: http://code.elgg.org/elgg/trunk@7091 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-14Fixes #2339 - removes social library and deprecates its two functions (put ↵cash
it output.php for lack of a better location) git-svn-id: http://code.elgg.org/elgg/trunk@7078 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-14Fixes #2547: Plugins can now participate in autoloading classes.ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7074 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-10handling the database being down/busy or an incomplete install. Also cleaned ↵cash
up failsafe views git-svn-id: http://code.elgg.org/elgg/trunk@7044 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-06removed several parts of the old installer from the corecash
git-svn-id: http://code.elgg.org/elgg/trunk@7021 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-30Fixed typo in previous commit.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6980 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-29Checking for menu items before doing a foreach().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6979 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-16Refs #2450: Changed preferred syntax for talking about hooks / events ↵brettp
because :s are used in some names. Now using $name, $type. git-svn-id: http://code.elgg.org/elgg/trunk@6945 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-16Correct spaces issue in autoload function.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6944 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-15Refs #2220: Pulled remaining classes out of lib files. Core classes now ↵ewinslow
autoloaded via __autoload(). git-svn-id: http://code.elgg.org/elgg/trunk@6941 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-15Fixes #2366: Deprecated test_ip() and is_ip_in_array().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6934 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-15Refs #2450: Added documentation to elgglib.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6932 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-06Refs #2220: Pulled most classes / interfaces out of lib files (except ↵ewinslow
query.php and exception.php) into "classes" folder. Replaced inline classes with "require_once" statements for now. Ran unit tests to verify functionality before committing. git-svn-id: http://code.elgg.org/elgg/trunk@6908 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6757:6810 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6850 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6620:6653 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6846 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-21Merged r6534-6559 from 1.7 branch to trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6840 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-07-14Fixes #2195. 3rd and 4th params of page_draw() are now $page_shell and $vars.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6704 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-07-07Removing debug statements from previous commit.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6658 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-07-07Added elgg_sort_3d_array_by_value(). I do this often enough that a helper ↵brettp
function will be nice. git-svn-id: http://code.elgg.org/elgg/trunk@6657 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-06-14Merged [6485] and [6486] to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6487 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-06-04Merge r6301:6338 from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6356 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-06-01Added elgg_get_array_value() helper function.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6312 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-29Merged r6263:6271 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6285 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-28Refs #2115: Added elgg_is_valid_view_type(). Currently calculated at each ↵brettp
load but will want to cache like view paths. Cleaned up autoregister_views() and load_plugins() code. Added spaces between function params in numerous places. C'mon guys...spaces are free. git-svn-id: http://code.elgg.org/elgg/trunk@6274 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-25Updated documentation for register_plugin_hook().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6212 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-25Updated documentation and cleaned up code for trigger_plugin_hook().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6210 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-25Walled Garden login page is no longer tied to the default page shell.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@6209 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-18Ensuring the Walled Garden hook properly exits before plugins can continue ↵nickw
to extend view. git-svn-id: http://code.elgg.org/elgg/trunk@6087 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-14Merged 5928-6908 from 1.7 branch to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6059 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-14merge -r5898:5928 (not excluding riverdashboard, notifications, and ↵brettp
messageboard) from 1.7 to trunk. git-svn-id: http://code.elgg.org/elgg/trunk@6058 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-14merge -r5832:5898 from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6055 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-13To detect if a submenu item is selected, using output from full_url() ↵brettp
instead of $_SERVER['REQUEST_URI'] because the host isn't set in REQUEST_URI. git-svn-id: http://code.elgg.org/elgg/trunk@6033 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-12Creating a hook for plugin authors to register Walled Garden public sites.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@6016 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-11Do not display site pages when in Walled Garden mode, excepting ↵nickw
system-defined whitelist. git-svn-id: http://code.elgg.org/elgg/trunk@6004 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-11Fix admin area for overview and appearance.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5997 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-10Admin area now uses standard submenu tools.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5992 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-08Not setting $item->selected on a submenu item acts the same as setting it to ↵brettp
NULL for selected state guessing. Removed unused code in submenu system. git-svn-id: http://code.elgg.org/elgg/trunk@5983 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-08Added new submenu system.brettp
Added elgg_http_url_is_identical(). Moved canvas_header/submenu* to navigation/submenu*. Added UI test for submenu. git-svn-id: http://code.elgg.org/elgg/trunk@5982 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-21cleaning up [5822] - putting elgg_format_url() in the same location in ↵cash
elgglib.php git-svn-id: http://code.elgg.org/elgg/trunk@5824 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-20Merge previous to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5816 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-16Merged [5623]:head from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5760 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-13Added granular view hook view:$view_name instead of a monolithic ↵brettp
display:view hook. git-svn-id: http://code.elgg.org/elgg/trunk@5724 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-07Added optional html_encode parameter to elgg_add_action_tokens_to_url() so ↵brettp
it can be used in ajax calls. git-svn-id: http://code.elgg.org/elgg/trunk@5651 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-06Sanitise int on the offset.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5634 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-05Refs #1947: Do not require views to explicitly pass in the offset.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@5624 36083f99-b078-4883-b0ff-0f9b5a30f544