aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
AgeCommit message (Collapse)Author
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
2008-04-30Fixing some functions relating to relationshipsben
git-svn-id: https://code.elgg.org/elgg/trunk@584 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-30get_entities returns false if the subtype name couldn't be found.ben
git-svn-id: https://code.elgg.org/elgg/trunk@579 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-30Introducing getEntitiesFromRelationship and countEntitiesFromRelationship ↵ben
methods on ElggEntity git-svn-id: https://code.elgg.org/elgg/trunk@577 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-29Marcus Povey <marcus@dushka.co.uk>icewing
* BUGFIX: Import functionality works, removed update but no change error on update git-svn-id: https://code.elgg.org/elgg/trunk@553 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-29Marcus Povey <marcus@dushka.co.uk>icewing
* Fixed incorrect if condition logic git-svn-id: https://code.elgg.org/elgg/trunk@550 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-25Marcus Povey <marcus@dushka.co.uk>icewing
* Crude deleteall method added git-svn-id: https://code.elgg.org/elgg/trunk@539 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-25Marcus Povey <marcus@dushka.co.uk>icewing
* Objects can be accessed as arrays git-svn-id: https://code.elgg.org/elgg/trunk@535 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-25Marcus Povey <marcus@dushka.co.uk>icewing
* Removed all namespacing code git-svn-id: https://code.elgg.org/elgg/trunk@523 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-25Marcus Povey <marcus@dushka.co.uk>icewing
* Namespacing stuff (aborted), committed for record only. git-svn-id: https://code.elgg.org/elgg/trunk@522 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-24git-svn-id: https://code.elgg.org/elgg/trunk@515 ↵icewing
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-24Marcus Povey <marcus@dushka.co.uk>icewing
* Generated now published * Metadata and annotations use time from db * Attributes use time from entity git-svn-id: https://code.elgg.org/elgg/trunk@514 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-21Fixed user GUID and multiple metadata bugsben
git-svn-id: https://code.elgg.org/elgg/trunk@510 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-21Minor update to the default entity URLsben
git-svn-id: https://code.elgg.org/elgg/trunk@506 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-21git-svn-id: https://code.elgg.org/elgg/trunk@504 ↵icewing
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-21can_edit_entity now always returns false if the user is logged outben
git-svn-id: https://code.elgg.org/elgg/trunk@500 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-18If you feed an entity a metadata array, it assumes multiple values are allowedben
git-svn-id: https://code.elgg.org/elgg/trunk@492 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-16ElggEntity->getOwnerUser() -> ElggEntity->getOwnerEntity()ben
git-svn-id: https://code.elgg.org/elgg/trunk@477 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-16Added the getURL and getOwnerUser methods to ElggEntity (gets the URL to ↵ben
display the current entity and the ElggUser entity that represents the owner respectively) git-svn-id: https://code.elgg.org/elgg/trunk@475 36083f99-b078-4883-b0ff-0f9b5a30f544