silverstripe-framework/model
Robert Curry d69520bd70 Preempt fatal errors when making some function calls on an empty ArrayList
The function "first" on ArrayList uses the PHP function "reset", which
returns false if there aren't any elements in the array. Two functions
inside ArrayList use this function, "canFilterBy" and "byID". I've
changed these functions to catch the possibility of a false return from
first().
2013-08-05 15:47:58 +12:00
..
fieldtypes Typo 2013-07-12 15:07:43 +12:00
Aggregate.php Deprecate Aggregate and DataObject::getComponentsQuery 2013-07-08 15:27:13 +12:00
ArrayList.php Preempt fatal errors when making some function calls on an empty ArrayList 2013-08-05 15:47:58 +12:00
Database.php Merge remote-tracking branch 'origin/3.0' into 3.1 2013-05-17 13:50:40 +02:00
DatabaseAdmin.php API Marked statics private, use Config API instead (#8317) 2013-03-24 17:20:53 +01:00
DataDifferencer.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
DataExtension.php Revert "FIX make augmentSQL API consistent for strict PHP" 2013-06-01 11:51:01 +12:00
DataList.php Coding conventions, PHPDoc cleanup 2013-06-15 12:06:24 +12:00
DataModel.php Update @package, @subpackage labels 2013-05-21 22:24:41 +12:00
DataObject.php Deprecate Aggregate and DataObject::getComponentsQuery 2013-07-08 15:27:13 +12:00
DataObjectInterface.php Removing deprecated instance_get_one() and instance_get() 2012-11-15 14:43:19 +13:00
DataQuery.php FIX: Add missing 'groupby' and remove redundant conditional in 'having' 2013-05-29 22:19:39 +01:00
DB.php Fixed whitespace usage 2013-02-18 15:43:52 +01:00
Filterable.php API Make DataList and ArrayList immutable 2012-12-14 13:30:35 +13:00
GroupedList.php Fixed usage of DataList etc in docs (fixes #7518) 2012-06-27 16:09:31 +02:00
HasManyList.php Update @package, @subpackage labels 2013-05-21 22:24:41 +12:00
HiddenClass.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
Hierarchy.php Revert "FIX make augmentSQL API consistent for strict PHP" 2013-06-01 11:51:01 +12:00
HTMLValue.php FIX We still need XML escaping on href attributes in HTML4Value 2013-04-18 09:13:24 +12:00
Image_Backend.php API Marked statics private, use Config API instead (#8317) 2013-03-24 17:20:53 +01:00
Image.php BUG Fixed divide by zero with SetRatioSize on missing image file 2013-07-23 11:24:48 +12:00
Limitable.php API Make DataList and ArrayList immutable 2012-12-14 13:30:35 +13:00
List.php NEW: Add new method "each" to SS_List and core implementors thereof 2012-11-02 18:21:02 -07:00
ListDecorator.php NEW: Add new method "each" to SS_List and core implementors thereof 2012-11-02 18:21:02 -07:00
ManyManyList.php Update @package, @subpackage labels 2013-05-21 22:24:41 +12:00
Map.php return $this, for do things like this: new DropdownField('XPTOName', 'XPTO Label', XPTOModel::get()->map("ID", "Name")->unshift(0,'- Select -')) 2012-11-30 01:37:36 +00:00
MySQLDatabase.php MINOR: fix a couple minor typos 2013-06-18 18:28:46 +00:00
RelationList.php Update @package, @subpackage labels 2013-05-21 22:24:41 +12:00
Sortable.php API Make DataList and ArrayList immutable 2012-12-14 13:30:35 +13:00
SQLMap.php Scoped deprecation messages (fixes #7645) 2012-07-13 11:37:35 +02:00
SQLQuery.php BUG Accept $limit=0 in SQLQuery->setLimit() 2013-06-06 15:27:14 +02:00
Transliterator.php API Marked statics private, use Config API instead (#8317) 2013-03-24 17:20:53 +01:00
UnsavedRelationList.php Merge pull request #1992 from jthomerson/fix_unsaved_relation_list_constructor 2013-05-24 15:19:19 -07:00
URLSegmentFilter.php BUG Fixes issue with '+' characters in url. 2013-05-10 16:16:31 +12:00
ValidationException.php BUG Enforced requirement that ValidationException::getResult() is expected to consistently produce a valid ValidationResult object. 2013-03-15 13:56:43 +13:00
ValidationResult.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
Versioned.php ENHANCEMENT: allow disabling of Versioned prepopulate_versionnumber_cache 2013-06-04 13:43:58 +00:00