aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
AgeCommit message (Collapse)Author
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
2008-04-04Added better support for arrays of metadataben
git-svn-id: https://code.elgg.org/elgg/trunk@402 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-03Marcus Povey <marcus@dushka.co.uk>icewing
* Relationship related code moved to relationships.php * Added ElggRelationship class as wrapper (to help with import and export) * Import and Export relationship code added (NOT TESTED) git-svn-id: https://code.elgg.org/elgg/trunk@399 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-03Marcus Povey <marcus@dushka.co.uk>icewing
* Annotations and metadata now imported git-svn-id: https://code.elgg.org/elgg/trunk@393 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-03Marcus Povey <marcus@dushka.co.uk>icewing
* Bugfixes git-svn-id: https://code.elgg.org/elgg/trunk@392 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-03Marcus Povey <marcus@dushka.co.uk>icewing
* Added Iterator interface to override foreach behaviour git-svn-id: https://code.elgg.org/elgg/trunk@390 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-03Marcus Povey <marcus@dushka.co.uk>icewing
* Exception thrown if load fails git-svn-id: https://code.elgg.org/elgg/trunk@389 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-03Marcus Povey <marcus@dushka.co.uk>icewing
* Cut and paste is a killer git-svn-id: https://code.elgg.org/elgg/trunk@379 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-02Assorted entity fixesben
git-svn-id: https://code.elgg.org/elgg/trunk@376 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-02Small fix for get_entitiesben
git-svn-id: https://code.elgg.org/elgg/trunk@374 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-02Marcus Povey <marcus@dushka.co.uk>icewing
* Access id better handled git-svn-id: https://code.elgg.org/elgg/trunk@372 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-02Marcus Povey <marcus@dushka.co.uk>icewing
* Subtype is converted to its exportable string version git-svn-id: https://code.elgg.org/elgg/trunk@371 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-02Marcus Povey <marcus@dushka.co.uk>icewing
* BUGFIX: User creation * User import functionality working git-svn-id: https://code.elgg.org/elgg/trunk@358 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-02Marcus Povey <marcus@dushka.co.uk>icewing
* REMOVED DEBUG * WARNING!!! THERE IS A PHP BUG ON UBUNTU/APACHE2/PHP5 that will prevent metadata from functioning. Values appear to get unset. No fix known. git-svn-id: https://code.elgg.org/elgg/trunk@354 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-02git-svn-id: https://code.elgg.org/elgg/trunk@353 ↵icewing
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-02git-svn-id: https://code.elgg.org/elgg/trunk@349 ↵icewing
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-02git-svn-id: https://code.elgg.org/elgg/trunk@348 ↵icewing
36083f99-b078-4883-b0ff-0f9b5a30f544