Lines Matching refs:block_id
123 foreach ($block_ids as $block_id) {
124 $block_id = (int) $block_id;
127 $languages = $this->getBlockSetting($block_id, 'languages');
130 'block_id' => $block_id,
131 'title' => $this->getBlockSetting($block_id, 'title'),
132 'story_body' => $this->getBlockSetting($block_id, 'story_body'),
230 $block_id = (int) $story->block_id;
234 $story->title = $this->getBlockSetting($block_id, 'title');
235 $story->languages = $this->getBlockSetting($block_id, 'languages');
274 $block_id = Validator::queryParams($request)->integer('block_id', 0);
277 if ($block_id === 0) {
287 ->where('block_id', '=', $block_id)
290 $story_title = $this->getBlockSetting($block_id, 'title');
291 $story_body = $this->getBlockSetting($block_id, 'story_body');
292 $languages = explode(',', $this->getBlockSetting($block_id, 'languages'));
299 'block_id' => $block_id,
318 $block_id = Validator::queryParams($request)->integer('block_id', 0);
327 if ($block_id !== 0) {
329 ->where('block_id', '=', $block_id)
342 $block_id = DB::lastInsertId();
345 $this->setBlockSetting($block_id, 'story_body', $story_body);
346 $this->setBlockSetting($block_id, 'title', $story_title);
347 $this->setBlockSetting($block_id, 'languages', implode(',', $languages));
360 $block_id = Validator::queryParams($request)->integer('block_id');
363 ->where('block_id', '=', $block_id)
367 ->where('block_id', '=', $block_id)
393 $block_id = (int) $story->block_id;
397 $story->title = $this->getBlockSetting($block_id, 'title');
398 $story->languages = $this->getBlockSetting($block_id, 'languages');