Lines Matching refs:block_id

188         $block_id = Validator::queryParams($request)->integer('block_id');
190 DB::table('block_setting')->where('block_id', '=', $block_id)->delete();
192 DB::table('block')->where('block_id', '=', $block_id)->delete();
209 $block_id = Validator::queryParams($request)->integer('block_id');
212 ->where('block_id', '=', $block_id)
223 ->where('block_id', '=', $block_id)
229 ->where('block_id', '=', $swap_block->block_id)
245 $block_id = Validator::queryParams($request)->integer('block_id');
248 ->where('block_id', '=', $block_id)
259 ->where('block_id', '=', $block_id)
265 ->where('block_id', '=', $swap_block->block_id)
283 $block_id = Validator::queryParams($request)->integer('block_id', 0);
285 if ($block_id === 0) {
297 $header = $this->getBlockSetting($block_id, 'header');
298 $body = $this->getBlockSetting($block_id, 'faqbody');
299 … $gedcom_id = DB::table('block')->where('block_id', '=', $block_id)->value('gedcom_id');
300 … $block_order = DB::table('block')->where('block_id', '=', $block_id)->value('block_order');
302 $languages = explode(',', $this->getBlockSetting($block_id, 'languages'));
314 'block_id' => $block_id,
332 $block_id = Validator::queryParams($request)->integer('block_id', 0);
346 if ($block_id !== 0) {
348 ->where('block_id', '=', $block_id)
360 $block_id = DB::lastInsertId();
363 $this->setBlockSetting($block_id, 'faqbody', $body);
364 $this->setBlockSetting($block_id, 'header', $header);
365 $this->setBlockSetting($block_id, 'languages', implode(',', $languages));
419 $row->block_id = (int) $row->block_id;