Class Member_GroupSet
Special kind of ComponentSet that has special methods for
manipulating a user's membership
- Object
-
ViewableData
implements
IteratorAggregate
-
DataObjectSet
implements
IteratorAggregate,
Countable
-
ComponentSet
-
Member_GroupSet
Methods summary
public
|
#
setByCheckboxes( array $checkboxes, array $data )
Control group membership with a number of checkboxes. |
public
|
#
setByCheckboxSetField(
Allows you to set groups based on a CheckboxSetField |
public
|
|
public
|
|
public
mixed
|
|
public
|
|
public
|
#
removeManyByCodename( array $codenames )
Removes this member from the groups based on the group codenames |
protected
array
|
#
codenamesToGroups( array $codenames )
Helper function to return the appropriate groups via a codenames |
Methods inherited from ComponentSet
add(),
addMany(),
debug(),
getComponentInfo(),
getIdList(),
loadChildIntoDatabase(),
remove(),
removeAll(),
removeMany(),
setByIDList(),
setComponentInfo(),
write()
Methods inherited from DataObjectSet
Count(),
CurrentPage(),
First(),
FirstItem(),
GroupedBy(),
Last(),
LastItem(),
MoreThanOnePage(),
NextLink(),
NotFirstPage(),
NotLastPage(),
Pages(),
PaginationSummary(),
PrevLink(),
TotalItems(),
TotalPages(),
UL(),
__construct(),
addWithoutWrite(),
buildNestedUL(),
column(),
containsIDs(),
destroy(),
emptyItems(),
exists(),
find(),
forTemplate(),
getChildrenAsUL(),
getIterator(),
getPageLimits(),
getRange(),
groupBy(),
groupWithParents(),
hasValue(),
insertFirst(),
map(),
merge(),
onlyContainsIDs(),
parseQueryLimit(),
pop(),
push(),
removeDuplicates(),
replace(),
setPageLength(),
setPageLimits(),
setPaginationGetVar(),
shift(),
sort(),
toArray(),
toDropDownMap(),
toNestedArray(),
unshift()
Methods inherited from ViewableData
ATT_val(),
BaseHref(),
CSSClasses(),
ColumnBreak(),
ColumnCalc(),
ColumnNumber(),
ColumnPad(),
ColumnPos(),
CurrentMember(),
Debug(),
Even(),
EvenOdd(),
FirstLast(),
HasPerm(),
IsAjax(),
JS_val(),
Me(),
Middle(),
MiddleString(),
Modulus(),
MultipleOf(),
Odd(),
Pos(),
RAW_val(),
SQL_val(),
ThemeDir(),
ThemeName(),
Top(),
XML_val(),
__get(),
__isset(),
__set(),
buildCastingCache(),
cachedCall(),
castingClass(),
castingHelper(),
castingHelperPair(),
castingObjectCreator(),
castingObjectCreatorPair(),
customise(),
defineMethods(),
escapeTypeForField(),
getField(),
getSecurityID(),
getXMLValues(),
hasField(),
i18nLocale(),
iteratorProperties(),
obj(),
renderWith(),
setCustomisedObj(),
setField()
Methods inherited from Object
__call(),
__toString(),
__wakeup(),
addMethodsFrom(),
addStaticVars(),
addWrapperMethod(),
add_extension(),
add_static_var(),
allMethodNames(),
cacheToFile(),
cacheToFileWithArgs(),
clearCache(),
combined_static(),
create(),
createMethod(),
create_from_string(),
extInstance(),
extend(),
getCustomClass(),
getExtensionInstance(),
getExtensionInstances(),
get_extensions(),
get_static(),
hasExtension(),
hasMethod(),
has_extension(),
invokeWithExtensions(),
is_a(),
loadCache(),
parentClass(),
parse_class_spec(),
remove_extension(),
sanitiseCachename(),
saveCache(),
set_stat(),
set_static(),
set_uninherited(),
stat(),
strong_create(),
uninherited(),
uninherited_static(),
useCustomClass()
Methods inherited from Countable
Magic methods summary
Properties summary
Properties inherited from ComponentSet
$childClass,
$joinField,
$ownerClass,
$ownerObj,
$tableName,
$type
Properties inherited from DataObjectSet
$current,
$first,
$items,
$last,
$odd,
$pageLength,
$pageStart,
$paginationGetVar,
$totalSize
Properties inherited from ViewableData
$casting,
$customisedObject,
$default_cast,
$failover,
$iteratorPos,
$iteratorTotalItems