PHP Class Sesha_Entity_StockMapper, horde

Copyright 2012-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Author: Ralf Lang ([email protected])
Inheritance: extends Horde_Rdo_Mapper
Mostrar archivo Open project: horde/horde

Protected Properties

Property Type Description
$_lazyRelationships array Relationships loaded on-demand
$_table string Inflector doesn't support Horde-style tables yet

Public Methods

Method Description
delete ( string | Sesha_Entity_Stock | Horde_Rdo_Query $object ) : integer Deletes a stock item from the backend. $object can be either a primary key, an Rdo_Query object, or a Sesha_Entity_Stock object.

Method Details

delete() public method

This also cleans up attached attributes and categories
public delete ( string | Sesha_Entity_Stock | Horde_Rdo_Query $object ) : integer
$object string | Sesha_Entity_Stock | Horde_Rdo_Query The Rdo object, Horde_Rdo_Query, or unique id to delete.
return integer Number of objects deleted.

Property Details

$_lazyRelationships protected_oe property

Relationships loaded on-demand
protected array $_lazyRelationships
return array

$_table protected_oe property

Inflector doesn't support Horde-style tables yet
protected string $_table
return string