You are here

function _properties_get_call in Dynamic properties 7

Calls an API function.

Additional arguments can be passed to the function, these will be forwarded to the API implementation.

Parameters

$type: API type, e.g. attribute or category.

$action: Name of the API function, eg load, save, delete.

15 calls to _properties_get_call()
properties_attribute_delete in ./properties.module
Delete an attribute.
properties_attribute_load in ./properties.module
Load an attribute based on the name.
properties_attribute_load_multiple in ./properties.module
Load multiple attributes based on their names.
properties_attribute_load_paging in ./properties.module
Load a paged amount of attributes.
properties_attribute_save in ./properties.module
Save an attribute object.

... See full list

File

./properties.module, line 807
This module provides a dynamic property field that can contain an unlimited number of attribute value pairs.

Code

function _properties_get_call($type, $action) {
  return variable_get('properties_api', 'properties_sql') . '_properties_' . $type . '_' . $action;
}