aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
AgeCommit message (Collapse)Author
2011-10-04Fixes #3753 removed deprecated functions from delete_entity()cash
2011-10-02Merged docs update for getters from 1.7.Brett Profitt
2011-09-28Fixes #3713. elgg_get_entities() and friends return false if passed invalid ↵Brett Profitt
options.
2011-09-04Fixes #3661. Pulled in recursive delete fixes to master.Brett Profitt
2011-09-04Refs #3661. Merged XSS fixes in search to master.Brett Profitt
2011-06-24Refs #1253 using 'list_type' string instead of boolean 'gallery' for entity ↵cash
listing
2011-04-18Fixes #2046. Applied Franz' patch for sanitize_int().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@9004 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-12Fixes #3347 fixes comment typo for egecash
git-svn-id: http://code.elgg.org/elgg/trunk@8984 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-02Refs #3277 merged fix for recursive delete and disabled entities into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@8909 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-02Fixes #3208 setting time_created on updatecash
git-svn-id: http://code.elgg.org/elgg/trunk@8904 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-26Fixes typo in variable name: ↵cash
https://github.com/lorea/Elgg/commit/4bdbaa793ad45a544fd6759fd0d9d3e7524d8577 git-svn-id: http://code.elgg.org/elgg/trunk@8845 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-20Fixes #3114 added the rss link back to pagescash
git-svn-id: http://code.elgg.org/elgg/trunk@8784 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-15Refs #2814 can now check if an entity exists indepedent of access permissionscash
git-svn-id: http://code.elgg.org/elgg/trunk@8720 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-12improved documentation of can write to container method/functioncash
git-svn-id: http://code.elgg.org/elgg/trunk@8656 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-04added a hint about 0 meaning no limit for egecash
git-svn-id: http://code.elgg.org/elgg/trunk@8572 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-18Fixing list_registered_entities() from displaying things it should. You now ↵brettp
must explicitly register object subtypes to get them to display. git-svn-id: http://code.elgg.org/elgg/trunk@8297 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Removed all calls to deprecated register_entity_typeewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8261 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Fixes #2777: delete_entity is now recursiveewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8258 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Fixes #2860: Deprecated several registration functions that were using the ↵ewinslow
'callback-first' ordering git-svn-id: http://code.elgg.org/elgg/trunk@8257 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Fixes #2476: update_entity_last_action() sanitizes posted time.ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8255 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Replaced all occurrences of register_page_handler in core with ↵ewinslow
elgg_register_page_handler git-svn-id: http://code.elgg.org/elgg/trunk@8244 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14Fixes #2918. Moved annotation/metadata delete functions from ElggUser to ↵brettp
ElggEntity. When deleted, entities now correctly delete metadata they own as well as metadata on them. Removed uses of deprecated functions. git-svn-id: http://code.elgg.org/elgg/trunk@8222 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Deprecated ElggEntity->clearMetadata() by ElggEntity->deleteMetadata(). ↵brettp
Disabling entities now disables their annotations and metadata. Enabling entities enables annotations and metadata. Fixes #1115. git-svn-id: http://code.elgg.org/elgg/trunk@8213 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Refs #2907. DRY'd up and abstracted out a lot of metadata / annotation ↵brettp
functions so I can implement #1115 with a clean conscious. git-svn-id: http://code.elgg.org/elgg/trunk@8207 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Refs #2301 demoting type:subtype warnings to noticescash
git-svn-id: http://code.elgg.org/elgg/trunk@8205 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Fixes #2906. Added elgg_sql_reverse_order_by() and wired it up to ege() and ↵brettp
ega(). Pass 'reverse_order_by' => true in option arrays. git-svn-id: http://code.elgg.org/elgg/trunk@8184 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12register_entity_url_handler => elgg_register_entity_url_handler (because ↵ewinslow
every other reigstration function asks for the callback last) git-svn-id: http://code.elgg.org/elgg/trunk@8140 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #2610: Using call_user_func in url hooksewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8139 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-11Added $viewer callback option for elgg_list_entities().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8117 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-06fixed some minor documentation issuescash
git-svn-id: http://code.elgg.org/elgg/trunk@8050 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-05Fixes #2559 refs #2475 added ElggEntity:getIconURL() and ↵cash
elgg_view_entity_icon() git-svn-id: http://code.elgg.org/elgg/trunk@8039 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-01Moving deprecated functions out of files access.php - entities.php. This ↵ewinslow
time into two files based on version deprecated and maintaining documentation git-svn-id: http://code.elgg.org/elgg/trunk@7979 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-23Refs #2804 #2805 pulling changes in trunk from 1.7 branchcash
git-svn-id: http://code.elgg.org/elgg/trunk@7915 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-07Changed callback function option from 'row_callback' to 'callback' for ↵brettp
elgg_get_entities(). git-svn-id: http://code.elgg.org/elgg/trunk@7856 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-06Fixes #1242: elgg_get_data() correctly returns an empty array on no results. ↵brettp
It still returns false on error, but I consider that the correct behavior. Please reopen if it needs discussion. git-svn-id: http://code.elgg.org/elgg/trunk@7850 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-31Refs #2684, #2754: Merged r7701 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7796 36083f99-b078-4883-b0ff-0f9b5a30f544
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