Commit Graph

18 Commits

Author SHA1 Message Date
Jayden Seric
5254b1865c Fixed name-spacing for SilverStripe v4 compatibility
Used [silverstripe-upgrader](https://github.com/silverstripe/silverstripe-upgrader) to fix name-spacing for SilverStripe v4. I then alphabetically sorted the use declarations for readability.

Fixes: https://github.com/silverstripe-australia/silverstripe-gridfieldextensions/issues/166.
2016-12-21 15:23:43 +13:00
Jake Bentvelzen
86f1778511 fix(GridFieldAddNewMultiClass): Fix bug where class doesn't exist. (ie. ClassInfo says the class exists, but PHP itself doesn't, since ClassInfo is based on parsed tokens) 2016-10-16 20:05:35 +11:00
Jake Bentvelzen
dcae3c7d75 Added support for 'hide_ancestor' for GridFieldAddNewMultiClass so DataObjects can be hidden similar to how Pages can be hidden from the CMS. 2016-01-20 14:29:44 +11:00
Silbinary Wolf
51af2147f3 Fixed bug where abstract classes aren't ignored with GridFieldAddNewMultiClass 2015-12-05 18:36:51 +11:00
Peter Thaleikis
e729ac01f7 fixing phpdoc blocks to refering to Objects to built-in types of PHP 2015-09-28 21:55:01 +13:00
Peter Thaleikis
9e3e51ebe2 changing from windows line endings to linux line endings 2015-09-21 22:49:02 +12:00
tsg
b6056fc7b9 add support for setting a default value for GridFieldAddNewMultiClasss 2015-09-14 18:16:36 -05:00
Marcus
bb6748e414 Merge pull request #68 from NobrainerWeb/master
Make the setEmptyString configurable
2015-07-27 19:49:41 +10:00
Brice Burgess
7e0a488fdf allow specification of GridFieldAddNewMultiClass handler through
setItemRequestClass convention
2014-12-06 17:04:29 -05:00
Thomas B. Nielsen
d1953b195d Make the setEmptyString configurable 2014-10-06 17:50:40 +02:00
Andrew Short
f1eadd549b Sort the automatically generated list of classes. 2013-11-14 23:43:23 +11:00
Andrew Short
6247d4f4ec Make the classes getter public. 2013-11-14 23:36:57 +11:00
Andrew Short
de47c5d3a3 Add missing return tag. 2013-11-14 23:36:28 +11:00
Andrew Short
9abd92bd7f Use properly constructed links in the add new multi class components.
This means that the component now works with URLs which include
parameters, such as when translatable is being used. Closes #30.
2013-10-09 20:34:47 +11:00
Andrew Short
aad2b973ce Add allowed actions definitions 2013-07-11 12:40:13 +10:00
Zauberfisch
910f77b049 MINOR: return on all setters (fixes #16) 2013-04-24 07:28:47 +01:00
ajshort
c10810c3f6 Fix requirements being inconsistently included. 2013-02-09 01:42:48 +11:00
ajshort
d7a9d470f9 Add GridFieldAddNewMultiClass component.
This component allows the user to select from a list of classes when creating a new record.
2013-02-02 14:14:59 +11:00