lib/private/Group/MetaData.php
/**
	 * adds an group entry to the resulting array
	 * @param array $entries the resulting array, by reference
	 * @param array $sortKeys the sort key array, by reference
	 * @param int $sortIndex the sort key index, by reference
	 * @param array $data the group's meta data as returned by generateGroupMetaData()
	 */
adds an group entry to the resulting array
@param array $entries the resulting array, by reference
@param array $sortKeys the sort key array, by reference
@param int $sortIndex the sort key index, by reference
@param array $data the group's meta data as returned by generateGroupMetaData()
adds an group entry to the resulting array @param array $entries the resulting array by reference @param array $sortKeys the sort key array by reference @param int $sortIndex the sort key index by reference @param array $data the group ' s meta data as returned by generateGroupMetaData ()
private function addEntry(&$entries, &$sortKeys, &$sortIndex, $data) {
		$entries[] = $data;
		if ($this->sorting === self::SORT_USERCOUNT) {
			$sortKeys[$sortIndex] = $data['usercount'];
			$sortIndex++;
		} else if ($this->sorting === self::SORT_GROUPNAME) {
			$sortKeys[$sortIndex] = $data['name'];
			$sortIndex++;
		}
	}
private function addEntry ( & $ entries , & $ sortKeys , & $ sortIndex , $ data ) { $ entries [ ] = $ data ; if ( $ this -> sorting === self :: SORT_USERCOUNT ) { $ sortKeys [ $ sortIndex ] = $ data [ 'usercount' ] ; $ sortIndex ++ ; } else if ( $ this -> sorting === self :: SORT_GROUPNAME ) { $ sortKeys [ $ sortIndex ] = $ data [ 'name' ] ; $ sortIndex ++ ; } }
adds an group entry to the resulting array
 @param array $entries the resulting array, by reference
 @param array $sortKeys the sort key array, by reference
 @param int $sortIndex the sort key index, by reference
 @param array $data the group's meta data as returned by generateGroupMetaData()
adds an group entry to the resulting array @param array $entries the resulting array by reference @param array $sortKeys the sort key array by reference @param int $sortIndex the sort key index by reference @param array $data the group ' s meta data as returned by generateGroupMetaData ()