Lines Matching refs:block_id

82      * @param int                  $block_id
88 public function getBlock(Tree $tree, int $block_id, string $context, array $config = []): string argument
92 $show_last_update = $this->getBlockSetting($block_id, 'show_last_update', '1');
93 $show_common_surnames = $this->getBlockSetting($block_id, 'show_common_surnames', '1');
94 …$number_of_surnames = (int) $this->getBlockSetting($block_id, 'number_of_surnames', self::DEFAUL…
95 $stat_indi = $this->getBlockSetting($block_id, 'stat_indi', '1');
96 $stat_fam = $this->getBlockSetting($block_id, 'stat_fam', '1');
97 $stat_sour = $this->getBlockSetting($block_id, 'stat_sour', '1');
98 $stat_media = $this->getBlockSetting($block_id, 'stat_media', '1');
99 $stat_repo = $this->getBlockSetting($block_id, 'stat_repo', '1');
100 $stat_surname = $this->getBlockSetting($block_id, 'stat_surname', '1');
101 $stat_events = $this->getBlockSetting($block_id, 'stat_events', '1');
102 $stat_users = $this->getBlockSetting($block_id, 'stat_users', '1');
103 $stat_first_birth = $this->getBlockSetting($block_id, 'stat_first_birth', '1');
104 $stat_last_birth = $this->getBlockSetting($block_id, 'stat_last_birth', '1');
105 $stat_first_death = $this->getBlockSetting($block_id, 'stat_first_death', '1');
106 $stat_last_death = $this->getBlockSetting($block_id, 'stat_last_death', '1');
107 $stat_long_life = $this->getBlockSetting($block_id, 'stat_long_life', '1');
108 $stat_avg_life = $this->getBlockSetting($block_id, 'stat_avg_life', '1');
109 $stat_most_chil = $this->getBlockSetting($block_id, 'stat_most_chil', '1');
110 $stat_avg_chil = $this->getBlockSetting($block_id, 'stat_avg_chil', '1');
188 'id' => $block_id,
189 'config_url' => $this->configUrl($tree, $context, $block_id),
234 * @param int $block_id
238 public function saveBlockConfiguration(ServerRequestInterface $request, int $block_id): void argument
261 $this->setBlockSetting($block_id, 'show_last_update', (string) $show_last_update);
262 $this->setBlockSetting($block_id, 'show_common_surnames', (string) $show_common_surnames);
263 $this->setBlockSetting($block_id, 'number_of_surnames', (string) $number_of_surnames);
264 $this->setBlockSetting($block_id, 'stat_indi', (string) $stat_indi);
265 $this->setBlockSetting($block_id, 'stat_fam', (string) $stat_fam);
266 $this->setBlockSetting($block_id, 'stat_sour', (string) $stat_sour);
267 $this->setBlockSetting($block_id, 'stat_other', (string) $stat_other);
268 $this->setBlockSetting($block_id, 'stat_media', (string) $stat_media);
269 $this->setBlockSetting($block_id, 'stat_repo', (string) $stat_repo);
270 $this->setBlockSetting($block_id, 'stat_surname', (string) $stat_surname);
271 $this->setBlockSetting($block_id, 'stat_events', (string) $stat_events);
272 $this->setBlockSetting($block_id, 'stat_users', (string) $stat_users);
273 $this->setBlockSetting($block_id, 'stat_first_birth', (string) $stat_first_birth);
274 $this->setBlockSetting($block_id, 'stat_last_birth', (string) $stat_last_birth);
275 $this->setBlockSetting($block_id, 'stat_first_death', (string) $stat_first_death);
276 $this->setBlockSetting($block_id, 'stat_last_death', (string) $stat_last_death);
277 $this->setBlockSetting($block_id, 'stat_long_life', (string) $stat_long_life);
278 $this->setBlockSetting($block_id, 'stat_avg_life', (string) $stat_avg_life);
279 $this->setBlockSetting($block_id, 'stat_most_chil', (string) $stat_most_chil);
280 $this->setBlockSetting($block_id, 'stat_avg_chil', (string) $stat_avg_chil);
287 * @param int $block_id
291 public function editBlockConfiguration(Tree $tree, int $block_id): string argument
293 $show_last_update = $this->getBlockSetting($block_id, 'show_last_update', '1');
294 $show_common_surnames = $this->getBlockSetting($block_id, 'show_common_surnames', '1');
295 …$number_of_surnames = $this->getBlockSetting($block_id, 'number_of_surnames', self::DEFAULT_NUMB…
296 $stat_indi = $this->getBlockSetting($block_id, 'stat_indi', '1');
297 $stat_fam = $this->getBlockSetting($block_id, 'stat_fam', '1');
298 $stat_sour = $this->getBlockSetting($block_id, 'stat_sour', '1');
299 $stat_media = $this->getBlockSetting($block_id, 'stat_media', '1');
300 $stat_repo = $this->getBlockSetting($block_id, 'stat_repo', '1');
301 $stat_surname = $this->getBlockSetting($block_id, 'stat_surname', '1');
302 $stat_events = $this->getBlockSetting($block_id, 'stat_events', '1');
303 $stat_users = $this->getBlockSetting($block_id, 'stat_users', '1');
304 $stat_first_birth = $this->getBlockSetting($block_id, 'stat_first_birth', '1');
305 $stat_last_birth = $this->getBlockSetting($block_id, 'stat_last_birth', '1');
306 $stat_first_death = $this->getBlockSetting($block_id, 'stat_first_death', '1');
307 $stat_last_death = $this->getBlockSetting($block_id, 'stat_last_death', '1');
308 $stat_long_life = $this->getBlockSetting($block_id, 'stat_long_life', '1');
309 $stat_avg_life = $this->getBlockSetting($block_id, 'stat_avg_life', '1');
310 $stat_most_chil = $this->getBlockSetting($block_id, 'stat_most_chil', '1');
311 $stat_avg_chil = $this->getBlockSetting($block_id, 'stat_avg_chil', '1');