Back to UserGroupsHelper class

Method getAll

public array
getAll
()
Get the list of existing user groups.
Returns
  • array
Since
  • 3.6.3

Method getAll - Source code

/**
 * Get the list of existing user groups.
 *
 * @return  array
 *
 * @since   3.6.3
 */
public function getAll()
{
    if ($this->isSingleton() && $this->total() !== $this->count()) {
        $this->loadAll();
    }
    return $this->groups;
}