mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #5356 from assertchris/forms-toggle-composite-field-comment-changes
Changed comments in forms\ToggleCompositeField.php
This commit is contained in:
commit
61db5c8f76
@ -18,6 +18,8 @@ class ToggleCompositeField extends CompositeField {
|
||||
protected $headingLevel = 3;
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*
|
||||
* @param string $name
|
||||
* @param string $title
|
||||
* @param array|FieldList $children
|
||||
@ -30,9 +32,11 @@ class ToggleCompositeField extends CompositeField {
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*
|
||||
* @param array $properties
|
||||
*
|
||||
* @return HTMLText
|
||||
* @return string|HTMLText
|
||||
*/
|
||||
public function FieldHolder($properties = array()) {
|
||||
Requirements::javascript(FRAMEWORK_DIR . '/thirdparty/jquery/jquery.js');
|
||||
@ -52,7 +56,9 @@ class ToggleCompositeField extends CompositeField {
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getAttributes() {
|
||||
$attributes = array(
|
||||
|
Loading…
Reference in New Issue
Block a user