aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
AgeCommit message (Collapse)Author
2008-07-01Added site_guid to internal db fieldsmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@1215 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-30Fixed minor cache counting issuemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@1207 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-27Caching (most) subtype queries, drastically reduces database queries in most ↵marcus
use cases, refs #101 git-svn-id: https://code.elgg.org/elgg/trunk@1193 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-27Short circuited query if could not possibly return a value. Refs #101marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1175 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-27Added a 'display full view' parameter to all of the listings functionsben
git-svn-id: https://code.elgg.org/elgg/trunk@1170 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-24Removing an annoying noticeben
git-svn-id: https://code.elgg.org/elgg/trunk@1107 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-18Fixes #15: Ban user functionalitymarcus
git-svn-id: https://code.elgg.org/elgg/trunk@981 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-18Removing some error noticesben
git-svn-id: https://code.elgg.org/elgg/trunk@978 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-18Added generic listing and pagination functionsben
git-svn-id: https://code.elgg.org/elgg/trunk@964 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-13added $order to docsdave
git-svn-id: https://code.elgg.org/elgg/trunk@919 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-13Fixed typoben
git-svn-id: https://code.elgg.org/elgg/trunk@918 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-13getAnnotations now has an extra param $orderdave
git-svn-id: https://code.elgg.org/elgg/trunk@917 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-13Marcus Povey: CLOSED - # 9: FilePluginFile not found marcus
http://trac.elgg.org/ticket/9 git-svn-id: https://code.elgg.org/elgg/trunk@908 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-12Some extra entity documentationben
git-svn-id: https://code.elgg.org/elgg/trunk@883 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-11Edit permissions changes for adminsben
git-svn-id: https://code.elgg.org/elgg/trunk@878 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-11Marcus Povey <marcus@dushka.co.uk>icewing
* Default of can_edit_entity trigger plugin hook set to true. git-svn-id: https://code.elgg.org/elgg/trunk@872 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-11Marcus Povey <marcus@dushka.co.uk>icewing
* Basic site admin git-svn-id: https://code.elgg.org/elgg/trunk@871 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-10register_event_handler and trigger_event have been renamed to ↵ben
register_elgg_event_handler and trigger_elgg_event respectively. git-svn-id: https://code.elgg.org/elgg/trunk@848 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-10Marcus Povey <marcus@dushka.co.uk>icewing
* Removed debug git-svn-id: https://code.elgg.org/elgg/trunk@845 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-10Marcus Povey <marcus@dushka.co.uk>icewing
* Bugfixed canEdit and isFullyLoaded git-svn-id: https://code.elgg.org/elgg/trunk@844 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-09Marcus Povey <marcus@dushka.co.uk>icewing
* Caching complete git-svn-id: https://code.elgg.org/elgg/trunk@843 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-09git-svn-id: https://code.elgg.org/elgg/trunk@840 ↵icewing
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-09git-svn-id: https://code.elgg.org/elgg/trunk@838 ↵icewing
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-09Marcus Povey <marcus@dushka.co.uk>icewing
* Added table counter git-svn-id: https://code.elgg.org/elgg/trunk@837 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-09Marcus Povey <marcus@dushka.co.uk>icewing
* Added caching to entities. Please report any problems. git-svn-id: https://code.elgg.org/elgg/trunk@831 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-09Interim fix for user savingben
git-svn-id: https://code.elgg.org/elgg/trunk@830 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-09Fixed previously-introduced entity save issue.ben
git-svn-id: https://code.elgg.org/elgg/trunk@827 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-09There are line breaks in my query. Hrm.ben
git-svn-id: https://code.elgg.org/elgg/trunk@826 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-09Fixed issue on saveben
git-svn-id: https://code.elgg.org/elgg/trunk@825 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-06Marcus Povey <marcus@dushka.co.uk>icewing
* Limit to specific users and/or relationships git-svn-id: https://code.elgg.org/elgg/trunk@818 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-05Marcus Povey <marcus@dushka.co.uk>icewing
* Partial internationalisation of exceptions git-svn-id: https://code.elgg.org/elgg/trunk@801 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-03Marcus Povey <marcus@dushka.co.uk>icewing
* Fixed annotations not returning anything * Access control on db now disabled when run from privileged code block. git-svn-id: https://code.elgg.org/elgg/trunk@780 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-23Slight tweak to the entities getEntitiesFromRelationship method. We need ↵ben
inverse relationships! git-svn-id: https://code.elgg.org/elgg/trunk@709 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-23Marcus Povey <marcus@dushka.co.uk>icewing
* Support for river entries git-svn-id: https://code.elgg.org/elgg/trunk@701 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-23Marcus Povey <marcus@dushka.co.uk>icewing
* System log event code git-svn-id: https://code.elgg.org/elgg/trunk@691 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-23An improvement to the clearMetadata method on ElggEntities - specify a name ↵ben
and it only clears metadata of that type. git-svn-id: https://code.elgg.org/elgg/trunk@688 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-22Rearranging events: stage 1ben
git-svn-id: https://code.elgg.org/elgg/trunk@680 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-21And againben
git-svn-id: https://code.elgg.org/elgg/trunk@676 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-21Minor fix for setting metadataben
git-svn-id: https://code.elgg.org/elgg/trunk@675 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-21Entities now clear all associated relationships on deleteben
git-svn-id: https://code.elgg.org/elgg/trunk@672 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-21Metadata can now be added to before an entity is saved. It will be added to ↵ben
the db on save. git-svn-id: https://code.elgg.org/elgg/trunk@667 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-20Marcus Povey <marcus@dushka.co.uk>icewing
* BUGFIX: get_subtype_id now shortcircuits returning unmodified $subtype if $subtype is "" git-svn-id: https://code.elgg.org/elgg/trunk@663 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-20Marcus Povey <marcus@dushka.co.uk>icewing
* Fixed strange regression in get_entities, now returns all stuff even if subtype is blank. git-svn-id: https://code.elgg.org/elgg/trunk@661 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-08Marcus Povey <marcus@dushka.co.uk>icewing
* BUGFIX: Moved shortcut so that subtype of "" doesn't cause fail. git-svn-id: https://code.elgg.org/elgg/trunk@636 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-02Removed a debug messageben
git-svn-id: https://code.elgg.org/elgg/trunk@633 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-02A fix for get_entities, which was borking if the subtype of object specified ↵ben
didn't exist. git-svn-id: https://code.elgg.org/elgg/trunk@632 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-02The system now uses the site GUID to get and set entity data. Also, ↵ben
installation is a great deal more visual. git-svn-id: https://code.elgg.org/elgg/trunk@621 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-01Marcus Povey <marcus@dushka.co.uk>icewing
* BUGFIX: Typo git-svn-id: https://code.elgg.org/elgg/trunk@596 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-01Marcus Povey <marcus@dushka.co.uk>icewing
* Fixed regression on custom class loader git-svn-id: https://code.elgg.org/elgg/trunk@590 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-30Slight correction to the count entities from relationship alias in ElggEntityben
git-svn-id: https://code.elgg.org/elgg/trunk@587 36083f99-b078-4883-b0ff-0f9b5a30f544