aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/objects.php
AgeCommit message (Collapse)Author
2010-10-22Removed @license, @copyright, and @author from files. License and copyright ↵brettp
are covered by LICENSE.txt and COPYRIGHT.txt in root. git-svn-id: http://code.elgg.org/elgg/trunk@7118 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-15Refs #2220: Pulled remaining classes out of lib files. Core classes now ↵ewinslow
autoloaded via __autoload(). git-svn-id: http://code.elgg.org/elgg/trunk@6941 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-06Refs #2220: Pulled most classes / interfaces out of lib files (except ↵ewinslow
query.php and exception.php) into "classes" folder. Replaced inline classes with "require_once" statements for now. Ran unit tests to verify functionality before committing. git-svn-id: http://code.elgg.org/elgg/trunk@6908 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6757:6810 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6850 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-22Fixes #1528: Correctly throwing exceptions for objects, groups, and users.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3968 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-17Fixes #1488: Removed use of deprecated functions in core. brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3947 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Add elgg_deprecated_notice() so we don't have to re-write all the elgg_log() ↵brettp
deprecated notices to register_error()s. Updated current ones to use this. git-svn-id: http://code.elgg.org/elgg/trunk@3874 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-31Deprecated old search functions and views.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3872 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-12closes #1145 - deprecated current "copy constructor" for all entities and ↵cash
implemented a clone method. The clone copies over all metadata but not annotations and private settings. It sets the guid to 0 so saving the cloned entity creates a new database record. The ownership/access of metadata is set during the save and will be the same as that of the entity. git-svn-id: http://code.elgg.org/elgg/trunk@3802 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-07Moved default search hooks into search mod.brettp
Using MySQL's MATCH ... AGAINST instead of likes for most searches. Changed 'tag' to 'q' while maintaining backward compatibility. git-svn-id: http://code.elgg.org/elgg/trunk@3633 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-06Added default object search.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3622 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-16Rewriting core debug messages to be more informative.nickw
Introducing the concept of levels for Elgg debugging: notices, warnings and errors are displayed when the appropriate debugging level is enabled. An additional level of "debug" exists to differentiate from errors. git-svn-id: http://code.elgg.org/elgg/trunk@3560 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-15Standardized gobs of files.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3548 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-09Creating an ElggObject unit test.nickw
Fixing issues with the unit test plugin hooks, as well as infinite looping bugs introduced by the unit test skeleton. git-svn-id: http://code.elgg.org/elgg/trunk@3519 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-31All line endings are now Unix-style.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3451 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-20Whoa nelly this is a big one: Removed license and copyright for files.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3427 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-11Closes 868: Fixes regression introduced in [3119]. Version number bumped.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3153 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-06Very minor comment tweakmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3120 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-06Reversed delete procedure on entities, parent now checked first before sub ↵marcus
deleted. Any stubs left over will be handled by the garbage collector. git-svn-id: https://code.elgg.org/elgg/trunk@3119 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-03Removed calls to the deprecated entity cacheben
git-svn-id: https://code.elgg.org/elgg/trunk@3028 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-23Refs #706marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2611 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-13Closes #676: Entity subtables now deleted on failed connections.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2564 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-19Fixes #568: Exportable code now inclusive not exclusive.marcus
* Added extra function Exportable interface * OpenDD export modified * PHP & JSON export views modified * Default export view will still show all data if you are logged in as admin (since this view is used by the guidtool) git-svn-id: https://code.elgg.org/elgg/trunk@2467 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-03Minor tweaks 'cos case does matter...marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2379 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-21Closes #457: Now returns $guid on success, false on failmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2288 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-13Fixes #241: Changed order, delete user using object's delete method rather ↵marcus
than the low level function git-svn-id: https://code.elgg.org/elgg/trunk@1887 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-07Centralised set and get magic functions to the tlc. Added isset and unset ↵marcus
magic methods. Report any problems! git-svn-id: https://code.elgg.org/elgg/trunk@1776 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-22Yet more container refactoring.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1496 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-18Moved container_guid to entities, modified a bunch of functions.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1473 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-07Closes #107, this has been superceded by groups functionality (#106).marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1317 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-07Fixes #122marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1309 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-01Group class, refs #106marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1231 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-01Added object in container search, refs #106.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1220 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-24Removing more notices.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1108 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-18Fixes #42: Object full text search on description marcus
git-svn-id: https://code.elgg.org/elgg/trunk@969 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-13Fixed update/insert issue on all top-level entitiesben
git-svn-id: https://code.elgg.org/elgg/trunk@912 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-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@842 ↵icewing
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-09Marcus Povey <marcus@dushka.co.uk>icewing
* Added the code to the correct method. Doh! git-svn-id: https://code.elgg.org/elgg/trunk@841 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-09git-svn-id: https://code.elgg.org/elgg/trunk@834 ↵icewing
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-02Marcus Povey <marcus@dushka.co.uk>icewing
* Update and creates now handled separately, with the appropriate events triggered. git-svn-id: https://code.elgg.org/elgg/trunk@772 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-20Marcus Povey <marcus@dushka.co.uk>icewing
* Fixed direct load by guid issue git-svn-id: https://code.elgg.org/elgg/trunk@662 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-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