1 | <?php |
||
14 | class blocks extends base_mapper |
||
15 | { |
||
16 | /** @var string */ |
||
17 | protected $entity_class = 'blitze\sitemaker\model\entity\block'; |
||
18 | |||
19 | /** @var string */ |
||
20 | protected $entity_pkey = 'bid'; |
||
21 | |||
22 | /** |
||
23 | * @param array $sql_where |
||
24 | * @return string |
||
25 | */ |
||
26 | 57 | protected function find_sql(array $sql_where) |
|
32 | |||
33 | /** |
||
34 | * @param array|\blitze\sitemaker\model\entity\block $condition |
||
35 | */ |
||
36 | 11 | public function delete($condition) |
|
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | 8 | protected function insert(\blitze\sitemaker\model\entity_interface $entity) |
|
61 | |||
62 | /** |
||
63 | * @param \blitze\sitemaker\model\entity_interface $entity |
||
64 | */ |
||
65 | 8 | protected function move_blocks_down(\blitze\sitemaker\model\entity_interface $entity) |
|
75 | } |
||
76 |