Merge pull request #5356 from assertchris/forms-toggle-composite-field-comment-changes

Changed comments in forms\ToggleCompositeField.php
This commit is contained in:
Damian Mooyman 2016-04-20 18:01:31 +12:00
commit 61db5c8f76

View File

@ -18,6 +18,8 @@ class ToggleCompositeField extends CompositeField {
protected $headingLevel = 3; protected $headingLevel = 3;
/** /**
* @inheritdoc
*
* @param string $name * @param string $name
* @param string $title * @param string $title
* @param array|FieldList $children * @param array|FieldList $children
@ -30,9 +32,11 @@ class ToggleCompositeField extends CompositeField {
} }
/** /**
* @inheritdoc
*
* @param array $properties * @param array $properties
* *
* @return HTMLText * @return string|HTMLText
*/ */
public function FieldHolder($properties = array()) { public function FieldHolder($properties = array()) {
Requirements::javascript(FRAMEWORK_DIR . '/thirdparty/jquery/jquery.js'); Requirements::javascript(FRAMEWORK_DIR . '/thirdparty/jquery/jquery.js');
@ -52,7 +56,9 @@ class ToggleCompositeField extends CompositeField {
} }
/** /**
* {@inheritdoc} * @inheritdoc
*
* @return array
*/ */
public function getAttributes() { public function getAttributes() {
$attributes = array( $attributes = array(