本文整理匯總了PHP中eZContentClassClassGroup::removeGroupMembers方法的典型用法代碼示例。如果您正苦於以下問題:PHP eZContentClassClassGroup::removeGroupMembers方法的具體用法?PHP eZContentClassClassGroup::removeGroupMembers怎麽用?PHP eZContentClassClassGroup::removeGroupMembers使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類eZContentClassClassGroup
的用法示例。
在下文中一共展示了eZContentClassClassGroup::removeGroupMembers方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: array
$deletedClassName .= " '" . $className . "'";
$deleteClassIDList[] = $classID;
$groupClassesInfo[] = array('class_name' => $className, 'object_count' => $classObject->objectCount());
}
}
if ($deletedClassName == '') {
$deletedClassName = ezpI18n::tr('kernel/class', '(no classes)');
}
$deleteResult[] = array('groupName' => $GroupName, 'deletedClassName' => $deletedClassName);
$groupsInfo[] = array('group_name' => $GroupName, 'class_list' => $groupClassesInfo);
}
}
if ($http->hasPostVariable("ConfirmButton")) {
foreach ($deleteIDArray as $deleteID) {
eZContentClassGroup::removeSelected($deleteID);
eZContentClassClassGroup::removeGroupMembers($deleteID);
foreach ($deleteClassIDList as $deleteClassID) {
$deleteClass = eZContentClass::fetch($deleteClassID);
if ($deleteClass) {
$deleteClass->remove(true);
}
$deleteClass = eZContentClass::fetch($deleteClassID, true, eZContentClass::VERSION_STATUS_TEMPORARY);
if ($deleteClass) {
$deleteClass->remove(true);
}
}
}
$Module->redirectTo('/class/grouplist/');
}
if ($http->hasPostVariable("CancelButton")) {
$Module->redirectTo('/class/grouplist/');