mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-30 05:09:06 +02:00
Update CheckboxSetField.php
Updated example to work in api - as DropdownField does.
This commit is contained in:
parent
0d3b55645a
commit
907944cdf3
@ -6,7 +6,7 @@
|
|||||||
* the same.
|
* the same.
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* <code php>
|
* <code>
|
||||||
* new CheckboxSetField(
|
* new CheckboxSetField(
|
||||||
* $name = "topics",
|
* $name = "topics",
|
||||||
* $title = "I am interested in the following topics",
|
* $title = "I am interested in the following topics",
|
||||||
@ -17,7 +17,7 @@
|
|||||||
* "4" => "Sports"
|
* "4" => "Sports"
|
||||||
* ),
|
* ),
|
||||||
* $value = "1"
|
* $value = "1"
|
||||||
* )
|
* );
|
||||||
* </code>
|
* </code>
|
||||||
*
|
*
|
||||||
* <b>Saving</b>
|
* <b>Saving</b>
|
||||||
|
Loading…
Reference in New Issue
Block a user