/webtrees/app/Services/ |
H A D | HomePageService.php | 26 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 56 * @return ModuleBlockInterface 58 public function treeBlock(ServerRequestInterface $request): ModuleBlockInterface 72 if ($module instanceof ModuleBlockInterface) { 86 * @return ModuleBlockInterface 88 …blic function userBlock(ServerRequestInterface $request, UserInterface $user): ModuleBlockInterface 101 if ($module instanceof ModuleBlockInterface) { 115 * @return ModuleBlockInterface 117 public function getBlockModule(Tree $tree, int $block_id): ModuleBlockInterface 119 …$active_blocks = $this->module_service->findByComponent(ModuleBlockInterface::class, $tree, Auth::… [all …]
|
/webtrees/app/Http/RequestHandlers/ |
H A D | TreePageUpdate.php | 22 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 63 …ocks = $this->home_page_service->treeBlocks($default_tree, $user, ModuleBlockInterface::MAIN_BLOCK… 64 ->map(static fn (ModuleBlockInterface $block) => $block->name()); 65 …ocks = $this->home_page_service->treeBlocks($default_tree, $user, ModuleBlockInterface::SIDE_BLOCK… 66 ->map(static fn (ModuleBlockInterface $block) => $block->name()); 68 …in_blocks = new Collection(Validator::parsedBody($request)->array(ModuleBlockInterface::MAIN_BLOCK… 69 …de_blocks = new Collection(Validator::parsedBody($request)->array(ModuleBlockInterface::SIDE_BLOCK…
|
H A D | UserPageUpdate.php | 22 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 64 ->userBlocks($default_tree, $user, ModuleBlockInterface::MAIN_BLOCKS) 65 ->map(static fn (ModuleBlockInterface $block) => $block->name()); 67 ->userBlocks($default_tree, $user, ModuleBlockInterface::SIDE_BLOCKS) 68 ->map(static fn (ModuleBlockInterface $block) => $block->name()); 70 …in_blocks = new Collection(Validator::parsedBody($request)->array(ModuleBlockInterface::MAIN_BLOCK… 71 …de_blocks = new Collection(Validator::parsedBody($request)->array(ModuleBlockInterface::SIDE_BLOCK…
|
H A D | ModulesBlocksAction.php | 24 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 43 $this->updateStatus(ModuleBlockInterface::class, $request); 44 $this->updateAccessLevel(ModuleBlockInterface::class, $request);
|
H A D | UserPageDefaultUpdate.php | 22 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 55 …$main_blocks = new Collection(Validator::parsedBody($request)->array(ModuleBlockInterface::MAIN_BL… 56 …$side_blocks = new Collection(Validator::parsedBody($request)->array(ModuleBlockInterface::SIDE_BL…
|
H A D | TreePageDefaultUpdate.php | 22 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 55 …$main_blocks = new Collection(Validator::parsedBody($request)->array(ModuleBlockInterface::MAIN_BL… 56 …$side_blocks = new Collection(Validator::parsedBody($request)->array(ModuleBlockInterface::SIDE_BL…
|
H A D | TreePageEdit.php | 24 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 60 …$main_blocks = $this->home_page_service->treeBlocks($tree, $user, ModuleBlockInterface::MAIN_BLOCK… 61 …$side_blocks = $this->home_page_service->treeBlocks($tree, $user, ModuleBlockInterface::SIDE_BLOCK…
|
H A D | UserPageDefaultEdit.php | 24 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 65 …this->home_page_service->userBlocks($default_tree, $default_user, ModuleBlockInterface::MAIN_BLOCK… 66 …this->home_page_service->userBlocks($default_tree, $default_user, ModuleBlockInterface::SIDE_BLOCK…
|
H A D | TreePageDefaultEdit.php | 24 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 65 …this->home_page_service->treeBlocks($default_tree, $default_user, ModuleBlockInterface::MAIN_BLOCK… 66 …this->home_page_service->treeBlocks($default_tree, $default_user, ModuleBlockInterface::SIDE_BLOCK…
|
H A D | UserPageEdit.php | 24 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 59 …$main_blocks = $this->home_page_service->userBlocks($tree, $user, ModuleBlockInterface::MAIN_BLOCK… 60 …$side_blocks = $this->home_page_service->userBlocks($tree, $user, ModuleBlockInterface::SIDE_BLOCK…
|
H A D | TreePage.php | 24 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 82 …locks' => $this->home_page_service->treeBlocks($tree, $user, ModuleBlockInterface::MAIN_BLOCK… 83 …locks' => $this->home_page_service->treeBlocks($tree, $user, ModuleBlockInterface::SIDE_BLOCK…
|
H A D | UserPage.php | 25 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 81 …ain_blocks' => $this->home_page_service->userBlocks($tree, $user, ModuleBlockInterface::MAIN_BLOCK… 82 …ide_blocks' => $this->home_page_service->userBlocks($tree, $user, ModuleBlockInterface::SIDE_BLOCK…
|
H A D | ModulesBlocksPage.php | 23 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 42 ModuleBlockInterface::class,
|
H A D | TreePageBlock.php | 23 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 66 … 'content' => $module->getBlock($tree, $block_id, ModuleBlockInterface::CONTEXT_TREE_PAGE),
|
H A D | UserPageBlock.php | 23 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 68 … 'content' => $module->getBlock($tree, $block_id, ModuleBlockInterface::CONTEXT_USER_PAGE),
|
H A D | ControlPanel.php | 29 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 181 …es_disabled' => $this->module_service->findByInterface(ModuleBlockInterface::class, tru… 182 …odules_enabled' => $this->module_service->findByInterface(ModuleBlockInterface::class),
|
/webtrees/resources/views/ |
H A D | tree-page-block.phtml | 6 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 10 * @var ModuleBlockInterface $block 20 <?= $block->getBlock($tree, $block_id, ModuleBlockInterface::CONTEXT_TREE_PAGE) ?>
|
H A D | user-page-block.phtml | 6 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 10 * @var ModuleBlockInterface $block 20 <?= $block->getBlock($tree, $block_id, ModuleBlockInterface::CONTEXT_USER_PAGE) ?>
|
H A D | edit-blocks-block.phtml | 6 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 9 * @var ModuleBlockInterface $block
|
/webtrees/app/Statistics/Repository/ |
H A D | FavoritesRepository.php | 25 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 62 return $module->getBlock($this->tree, 0, ModuleBlockInterface::CONTEXT_EMBED); 78 return $module->getBlock($this->tree, 0, ModuleBlockInterface::CONTEXT_EMBED);
|
/webtrees/tests/app/Services/ |
H A D | ModuleServiceTest.php | 24 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 58 …self::assertNotEmpty($module_service->findByComponent(ModuleBlockInterface::class, $tree, $user)->… 71 … self::assertNotEmpty($module_service->findByInterface(ModuleBlockInterface::class, true)->all());
|
/webtrees/resources/views/modules/ |
H A D | edit-block-config.phtml | 6 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 10 * @var ModuleBlockInterface $block
|
/webtrees/app/Module/ |
H A D | ModuleBlockTrait.php | 91 if ($context === ModuleBlockInterface::CONTEXT_TREE_PAGE && Auth::isManager($tree)) { 98 if ($context === ModuleBlockInterface::CONTEXT_USER_PAGE && Auth::check()) {
|
H A D | UserMessagesModule.php | 43 class UserMessagesModule extends AbstractModule implements ModuleBlockInterface 92 if ($context === ModuleBlockInterface::CONTEXT_USER_PAGE) {
|
/webtrees/app/Schema/ |
H A D | Migration42.php | 23 use Fisharebest\Webtrees\Module\ModuleBlockInterface; alias 39 'block' => ModuleBlockInterface::class,
|