From 4a5f5b952535b574836e3d63b3021561fb3aba22 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 22 Jul 2010 23:18:40 +0000 Subject: [PATCH] MINOR Cross-referencing some documentation git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@108375 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/DropdownField.php | 4 ++++ forms/ListboxField.php | 5 +++++ forms/OptionsetField.php | 4 ++++ forms/TreeDropdownField.php | 5 +++++ forms/TreeMultiselectField.php | 2 ++ 5 files changed, 20 insertions(+) diff --git a/forms/DropdownField.php b/forms/DropdownField.php index 6994f7bf9..8f0a43a6d 100755 --- a/forms/DropdownField.php +++ b/forms/DropdownField.php @@ -68,6 +68,10 @@ * ); * * + * @see CheckboxSetField for multiple selections through checkboxes instead. + * @see ListboxField for a single field with a single element. + * @see CheckboxSetField for multiple selections through checkboxes. + * @see OptionsetField for single selections via radiobuttons. + * @see TreeDropdownField for a rich and customizeable UI that can visualize a tree of selectable elements + * * @package forms * @subpackage fields-basic */ diff --git a/forms/OptionsetField.php b/forms/OptionsetField.php index 9b675ab33..8c80eb048 100755 --- a/forms/OptionsetField.php +++ b/forms/OptionsetField.php @@ -47,6 +47,10 @@ * // Pass the fields to the form constructor. etc * * + * @see CheckboxSetField for multiple selections through checkboxes instead. + * @see DropdownField for a simple field with a single element. + * @see CheckboxSetField for multiple selections through checkboxes. + * @see OptionsetField for single selections via radiobuttons. * * @package forms * @subpackage fields-relational diff --git a/forms/TreeMultiselectField.php b/forms/TreeMultiselectField.php index b1c186693..a177e4677 100755 --- a/forms/TreeMultiselectField.php +++ b/forms/TreeMultiselectField.php @@ -30,6 +30,8 @@ * } * * + * @see TreeDropdownField for the sample implementation, but only allowing single selects + * * @package forms * @subpackage fields-relational */