You are here

function properties_attribute_save in Dynamic properties 7

Save an attribute object.

Parameters

$attribute: Attribute object.

4 calls to properties_attribute_save()
properties_admin_attributes_add in ./properties.admin.inc
Form builder; Submit callback to save a new attribute and redirect to list.
properties_admin_attributes_add_another in ./properties.admin.inc
Form builder; Submit callback to save a new attribute and stay on form.
properties_admin_attributes_save in ./properties.admin.inc
Form builder; Submit callback to save an attribute and redirect to list.
properties_category_save in ./properties.module
Save an category object.

File

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

Code

function properties_attribute_save($attribute) {
  $function_name = _properties_get_call('attribute', 'save');
  return $function_name($attribute);
}