$_table
$_table : string
Inflector doesn't support Horde-style tables yet
The Sesha_Entity_PropertyMapper class contains all functions related to handling property mapping in Sesha.
Copyright 2012-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
create(array $property) : \Sesha_Entity_Property
Creates a property definition in the backend.
This wraps folding of the 'parameters' structure
array | $property | An array with the property definition. Keys may be property_id Integer (autogenerated) property string The property name datatype string The property type parameters mixed Type definition parameters will be serialized unit string The unit to display description string priority integer |
The property created.
delete(string|\Sesha_Entity_Property|\Horde_Rdo_Query $object) : integer
Deletes a property definition from the backend. $object can be either a primary key, an Rdo_Query object, or a Sesha_Entity_Property object.
This also cleans up attachment attributes of this property type and category links
string|\Sesha_Entity_Property|\Horde_Rdo_Query | $object | The Rdo object, Horde_Rdo_Query, or unique id to delete. |
Number of objects deleted.