function services_operation_class_info in Services 7.3
Same name and namespace in other branches
- 6.3 services.module \services_operation_class_info()
Get operation class information.
Return value
array An array with operation class information keyed by operation machine name.
8 calls to services_operation_class_info()
- services_controllers_list in ./
services.module - Returns all the controller names for a endpoint.
- services_controller_get in ./
services.module - Returns the requested controller.
- services_edit_form_endpoint_resources in plugins/
export_ui/ services_ctools_export_ui.class.php - services_edit_form_endpoint_resources function.
- services_edit_form_endpoint_resources_submit in plugins/
export_ui/ services_ctools_export_ui.class.php - Resources form submit function.
- services_get_resource_api_version in ./
services.module - Returns currently set api version for an endpoint resource method.
File
- ./
services.module, line 604 - Provides a generic but powerful API for web services.
Code
function services_operation_class_info() {
return array(
'operations' => array(
'title' => t('CRUD operations'),
'name' => t('CRUD operation'),
'class_singular' => 'operation',
),
'actions' => array(
'title' => t('Actions'),
'name' => t('action'),
'class_singular' => 'action',
),
'relationships' => array(
'title' => t('Relationships'),
'name' => t('relationship'),
'class_singular' => 'relationship',
),
'targeted_actions' => array(
'title' => t('Targeted actions'),
'name' => t('targeted action'),
'class_singular' => 'targeted_action',
),
);
}