aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
AgeCommit message (Collapse)Author
2010-12-31added a proper gallery view - still need to wire up the elgg_view_list_item ↵cash
functions and remove the use of context git-svn-id: http://code.elgg.org/elgg/trunk@7784 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-30adding ability to override access regardless of whether the entity is saved ↵cash
in the database yet git-svn-id: http://code.elgg.org/elgg/trunk@7777 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-14Pulling in hellekin's commit to fix typos in log messages: ↵cash
https://github.com/lorea/Elgg/commit/90e94fc594a25b93429fbc8f746d99a047c41b0d git-svn-id: http://code.elgg.org/elgg/trunk@7619 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-11fixed spelling error in documentationcash
git-svn-id: http://code.elgg.org/elgg/trunk@7598 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-09Refs #1411: Can specify custom row callbacks with 'row_callback' options in ↵brettp
elgg_get_entities(). git-svn-id: http://code.elgg.org/elgg/trunk@7585 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-09DRY'd up elgg_get_entities() where clause helper functions. Added ability ↵brettp
to specify guids in elgg_get_entity*() functions. git-svn-id: http://code.elgg.org/elgg/trunk@7575 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-08Fixed a bug that wouldn't let you specify multiple selects in get_entities().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7570 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Fixes #2668 adding getOwnerGUID()cash
git-svn-id: http://code.elgg.org/elgg/trunk@7378 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Fixes #2473: removes initialise_entity_cache()ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7365 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-14Fixes #2334: Converted viewtype => listtype and viewtypetoggle => ↵ewinslow
listtypetoggle. Did my best to maintain backwards compatibility but might have missed something... git-svn-id: http://code.elgg.org/elgg/trunk@7311 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-11-06pulled private settings out into a separate libcash
git-svn-id: http://code.elgg.org/elgg/trunk@7249 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Moved list_entities_groups to groups.php and deprecated in favor of ↵ewinslow
elgg_list_entities git-svn-id: http://code.elgg.org/elgg/trunk@7232 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Refs #1320. Updated core to use elgg_echo()'s native string replacement.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7227 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Refs #2050: Added missing docblock parametersewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7222 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Fixes #2050: Added subtype parameter to can_write_to_container functions and ↵ewinslow
hooks git-svn-id: http://code.elgg.org/elgg/trunk@7221 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Set return type of get_entity to ElggEntityewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7220 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Fixes #2606: Abstracted elgg_list_entities. Takes an optional second ↵ewinslow
argument for the 'getter', defaulting to 'elgg_get_entities'. Converted current elgg_list_entities* functions to use it git-svn-id: http://code.elgg.org/elgg/trunk@7212 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2463: Added URL normalization support for entity and extender url handlersewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7203 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2463: Fixed typo of elgg_normalize_url functionewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7201 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2463: Removed some more instances of $CONFIG->url. Added support for ↵ewinslow
elgg_normalize_url to elgg_add_action_tokens_to_url git-svn-id: http://code.elgg.org/elgg/trunk@7200 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2538: Renamed elgg.extendUrl to elgg.normalize_urlewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7188 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30Fixed an invalid call to get_pageowner_guid() in can_edit_entity().brettp
Removed the call to the validation function in useradd. git-svn-id: http://code.elgg.org/elgg/trunk@7132 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-14Fixes #2403 - adds unregister_entity_type()cash
git-svn-id: http://code.elgg.org/elgg/trunk@7077 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-10Checking for a valid entity before using its methods in update_entity().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7049 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-30Refs #2344 - moves entities directory to pages directorycash
git-svn-id: http://code.elgg.org/elgg/trunk@6988 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-22Refs #2450: Changed the subpackage and fixed a typo.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6953 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-16Refs #2450: Documented entities.phpbrettp
git-svn-id: http://code.elgg.org/elgg/trunk@6943 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-11Merged get_entities() is_numeric() fix to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6925 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-28added escaping to get_entities_from_private_setting_multi()cash
git-svn-id: http://code.elgg.org/elgg/trunk@6872 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6812:6837 from 1.7 branch to trunk (skipping some changes to plugins ↵cash
like groups and wire) git-svn-id: http://code.elgg.org/elgg/trunk@6851 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 r6684:6694 from 1.7 branch to trunk (pages plugin was manually merged ↵cash
due to standardization of code in trunk but not branch) git-svn-id: http://code.elgg.org/elgg/trunk@6848 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6671:6683 from 1.7 branch to trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6847 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-22Merged [6600],[6601],[6605],[6606],[6607],[6608],[6611] from 1.7 branch into ↵cash
trunk git-svn-id: http://code.elgg.org/elgg/trunk@6843 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-06-23Added optional 4th argument 'class' for elgg_instanceof().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6556 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-26Fix problem rewriting type_subtype_pair -> type_subtype_pairs in ↵brettp
elgg_get_entities(). git-svn-id: http://code.elgg.org/elgg/trunk@6238 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-20create_entity() now adds a default last_action set to the same as ↵brettp
time_created. This solves a problem of having to specify an order by of last_action desc, time_created desc on each call. Standardized update_entity_last_action() and moved it from river.php to entities.php. git-svn-id: http://code.elgg.org/elgg/trunk@6117 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-04-17Updated docs for types and subtypes in elgg_get_entities().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5796 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-16Merged type_subtype_pair fix from 1.7 branch.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5789 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-05Merged 5605:5622 from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5623 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-05Merged 5530:5604 from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5622 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-05Merged 5487:5525 from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5621 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-23Added remove_subtype() and update_subtype().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5488 36083f99-b078-4883-b0ff-0f9b5a30f544