aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
AgeCommit message (Collapse)Author
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
2008-04-16Generic entity view systemben
git-svn-id: https://code.elgg.org/elgg/trunk@474 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-15get_entities now allows for arrays of GUIDs to be supplied as an owner, and ↵ben
can be asked to count entities rather than return them; as a result, get_user_friends_objects and count_* functionality is also now available git-svn-id: https://code.elgg.org/elgg/trunk@468 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-15Marcus Povey <marcus@dushka.co.uk>icewing
* Removed canedit shortcut git-svn-id: https://code.elgg.org/elgg/trunk@462 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-15Marcus Povey <marcus@dushka.co.uk>icewing
* Blocking create and update dates from ODD export, since these don't make sense to export. git-svn-id: https://code.elgg.org/elgg/trunk@453 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-15Marcus Povey <marcus@dushka.co.uk>icewing
* Added optional set multiple on metadata git-svn-id: https://code.elgg.org/elgg/trunk@452 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-15Marcus Povey <marcus@dushka.co.uk>icewing
* Belts and braces git-svn-id: https://code.elgg.org/elgg/trunk@451 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-15Marcus Povey <marcus@dushka.co.uk>icewing
* Entity import. git-svn-id: https://code.elgg.org/elgg/trunk@450 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-14Marcus Povey <marcus@dushka.co.uk>icewing
* ODD Annotation and Metadata export git-svn-id: https://code.elgg.org/elgg/trunk@439 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-11Marcus Povey <marcus@dushka.co.uk>icewing
* Fixed subclass git-svn-id: https://code.elgg.org/elgg/trunk@437 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-11Marcus Povey <marcus@dushka.co.uk>icewing
* Entity ODD export git-svn-id: https://code.elgg.org/elgg/trunk@435 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-09Fixed some bugs including a load order patch from Rolando, and an update issueben
git-svn-id: https://code.elgg.org/elgg/trunk@426 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-08Misja Hoebe <misja@curverider.co.uk> More docstring fixesmisja
git-svn-id: https://code.elgg.org/elgg/trunk@421 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-07Further adventures in getting things to delete correctlyben
git-svn-id: https://code.elgg.org/elgg/trunk@413 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-07Further delete and event trigger fixesben
git-svn-id: https://code.elgg.org/elgg/trunk@412 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-07Triggering events on create, update and delete actions on entitiesben
git-svn-id: https://code.elgg.org/elgg/trunk@411 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-07Much better handling for deleting entities and metadataben
git-svn-id: https://code.elgg.org/elgg/trunk@409 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-04Added $entity->canEdit() (true|false)ben
git-svn-id: https://code.elgg.org/elgg/trunk@405 36083f99-b078-4883-b0ff-0f9b5a30f544