1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
kkmmodel.php
См. документацию.
1<?php
2namespace Bitrix\Sale\Cashbox\Internals;
3
4use Bitrix\Main\Application;
5use Bitrix\Main\Entity\DataManager;
6use Bitrix\Sale\Cashbox\Cashbox1C;
7
25{
26 public static function getTableName()
27 {
28 return 'b_sale_kkm_model';
29 }
30
31 public static function getMap()
32 {
33 return array(
34 'ID' => array(
35 'primary' => true,
36 'autocomplete' => true,
37 'data_type' => 'integer',
38 ),
39 'NAME' => array(
40 'data_type' => 'string',
41 'required' => true,
42 ),
43 'SETTINGS' => array(
44 'data_type' => 'string',
45 'serialized' => true
46 ),
47 );
48 }
49
50 public static function delete($primary)
51 {
52 if ($primary == Cashbox1C::getId())
53 {
54 $cacheManager = Application::getInstance()->getManagedCache();
55 $cacheManager->clean(Cashbox1C::CACHE_ID);
56 }
57
58 return parent::delete($primary);
59 }
60}
const CACHE_ID
Определения cashbox1c.php:17
static getId()
Определения cashbox1c.php:50
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804