| Conditions | 1 |
| Paths | 1 |
| Total Lines | 21 |
| Code Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function __construct() { |
||
| 25 | $this->appname = 'resources'; |
||
|
|
|||
| 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 | } |
||
| 47 |