EGroupware /
egroupware
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * Resources - history & notifications |
||
| 4 | * |
||
| 5 | * @author Nathan Gray |
||
| 6 | * @copyright 2012 Nathan Gray |
||
| 7 | * @package resources |
||
| 8 | * @sub-package history |
||
| 9 | * @see Api\Storage\Tracking |
||
| 10 | * |
||
| 11 | * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License |
||
| 12 | * @version $Id$ |
||
| 13 | */ |
||
| 14 | |||
| 15 | use EGroupware\Api; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Resources - tracking object for history |
||
| 19 | */ |
||
| 20 | class resources_tracking extends Api\Storage\Tracking |
||
| 21 | { |
||
| 22 | |||
| 23 | |||
| 24 | public function __construct() { |
||
| 25 | $this->appname = 'resources'; |
||
|
0 ignored issues
–
show
Bug
Best Practice
introduced
by
Loading history...
|
|||
| 26 | $this->id_field = 'res_id'; |
||
| 27 | |||
| 28 | $this->field2history = array( |
||
| 29 | 'res_id' => 'res_id', |
||
| 30 | 'name' => 'name', |
||
| 31 | 'short_description' => 'short_description', |
||
| 32 | 'cat_id' => 'cat_id', |
||
| 33 | 'quantity' => 'quantity', |
||
| 34 | 'useable' => 'useable', |
||
| 35 | 'location' => 'location', |
||
| 36 | 'storage_info' => 'storage_info', |
||
| 37 | 'bookable' => 'bookable', |
||
| 38 | 'buyable' => 'buyable', |
||
| 39 | 'prize' => 'prize', |
||
| 40 | 'long_description' => 'long_description', |
||
| 41 | 'inventory_number' => 'inventory_number', |
||
| 42 | 'accessory_of' => 'accessory_of' |
||
| 43 | ); |
||
| 44 | parent::__construct($this->appname); |
||
| 45 | } |
||
| 46 | } |
||
| 47 |