Back to UserField class

Method getGroups

protected mixed
getGroups
()
Method to get the filtering groups (null means no filtering)
Returns
  • mixed Array of filtering groups or null.
Since
  • 1.6
Class: UserField
Project: Joomla

Method getGroups - Source code

/**
 * Method to get the filtering groups (null means no filtering)
 *
 * @return  mixed  Array of filtering groups or null.
 *
 * @since   1.6
 */
protected function getGroups()
{
    if (isset($this->element['groups'])) {
        return explode(',', $this->element['groups']);
    }
}