Version 5.0.13

This commit is contained in:
Neo committed 2025-12-19 19:04:57 -08:00
1 parent b89858b2ff
commit 5efe744c5f
1407 files changed
+69690 -30177

No files matched your search

@@ -119,6 +119,20 @@ class relatedContent extends PermissionCache implements Customizable
return $form;
}
/**
* Can this widget be used on this page?
*
* @param string $app
* @param string $module
* @param string $controller
* @return bool
*/
public function isExecutableByPage( string $app, string $module, string $controller ) : bool
{
$class = 'IPS\\' . $app . '\\modules\\front\\' . $module . '\\' . $controller;
return is_subclass_of( $class, Controller::class );
}
/**
* Render a widget