/** * Get the specific massive actions * * @since version 0.84 * @param $checkitem link item to check right (default NULL) * * @return an array of massive actions **/ function getSpecificMassiveActions($checkitem = NULL) { $isadmin = static::canUpdate(); $actions = parent::getSpecificMassiveActions($checkitem); if ($isadmin) { $actions['delete_item'] = _sx('button', 'Delete permanently'); $actions['update_allitem'] = __('Recalculate typology for the elements', 'typology'); } return $actions; }