function services_operation_class_info in Services 6.3
Same name and namespace in other branches
- 7.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.
7 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 - services_edit_form_endpoint_resources_submit function.
- services_resources_as_procedures in ./
services.module - Convert a resource to RPC-style methods.
File
- ./
services.module, line 363 - 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',
),
);
}