Index: branches/salvatoreingala/Gadgets/backend/GadgetPrefs.php |
— | — | @@ -605,7 +605,13 @@ |
606 | 606 | return true; |
607 | 607 | } |
608 | 608 | |
609 | | - //Checks if the given description of the preferences is valid |
| 609 | + /** |
| 610 | + * Checks validity of a preferences description. |
| 611 | + * |
| 612 | + * @param $prefsDescription Array: the preferences description to check. |
| 613 | + * |
| 614 | + * @return boolean true if $prefsDescription is a valid description of preferences, false otherwise. |
| 615 | + */ |
610 | 616 | public static function isPrefsDescriptionValid( $prefsDescription ) { |
611 | 617 | return self::validateSectionDefinition( $prefsDescription ); |
612 | 618 | } |