/usr/share/horde/sesha/lib/Entity/CategoryMapper.php is in php-horde-sesha 1.0.0~beta1-11ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | <?php
/**
* The Sesha_Entity_CategoryMapper class contains all functions related to handling
* category mapping in Sesha.
*
* Copyright 2012-2012 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 <lang@b1-systems.de>
* @category Horde
* @package Sesha
* @license http://www.horde.org/licenses/gpl GPL
*/
/**
* The Sesha_Entity_CategoryMapper class contains all functions related to handling
* category mapping in Sesha.
*
* Copyright 2012-2012 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 <lang@b1-systems.de>
* @category Horde
* @package Sesha
* @license http://www.horde.org/licenses/gpl GPL
*/
class Sesha_Entity_CategoryMapper extends Horde_Rdo_Mapper
{
/**
* Inflector doesn't support Horde-style tables yet
* @var string
* @access protected
*/
protected $_table = 'sesha_categories';
/**
* Relationships loaded on-demand
* @var array
* @access protected
*/
protected $_lazyRelationships = array(
'properties' => array('type' => Horde_Rdo::MANY_TO_MANY,
'mapper' => 'Sesha_Entity_PropertyMapper',
'through' => 'sesha_relations'),
'stock' => array('type' => Horde_Rdo::MANY_TO_MANY,
'mapper' => 'Sesha_Entity_StockMapper',
'through' => 'sesha_inventory_categories')
);
}
|