Skip to content

Commit

Permalink
Deprecate JFormFieldRepeatable
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedik committed Sep 6, 2015
1 parent 57b7ab7 commit f83bdec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/joomla/form/fields/repeatable.php
Expand Up @@ -13,6 +13,8 @@
* Form Field class for the Joomla Platform.
* Display a JSON loaded window with a repeatable set of sub fields
*
* @deprecated 4.0 use JFormFieldSubform
*
* @since 3.2
*/
class JFormFieldRepeatable extends JFormField
Expand All @@ -34,6 +36,8 @@ class JFormFieldRepeatable extends JFormField
*/
protected function getInput()
{
JLog::add('JFormFieldRepeatable is deprecated. Use JFormFieldSubform instead.', JLog::WARNING, 'deprecated');

// Initialize variables.
$subForm = new JForm($this->name, array('control' => 'jform'));
$xml = $this->element->children()->asXml();
Expand Down

0 comments on commit f83bdec

Please sign in to comment.