summaryrefslogtreecommitdiff
path: root/app/Module/ModuleBlockInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Module/ModuleBlockInterface.php')
-rw-r--r--app/Module/ModuleBlockInterface.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/app/Module/ModuleBlockInterface.php b/app/Module/ModuleBlockInterface.php
index e277638eba..f79d55bb0d 100644
--- a/app/Module/ModuleBlockInterface.php
+++ b/app/Module/ModuleBlockInterface.php
@@ -1,6 +1,4 @@
<?php
-namespace Fisharebest\Webtrees\Module;
-
/**
* webtrees: online genealogy
* Copyright (C) 2015 webtrees development team
@@ -15,6 +13,7 @@ namespace Fisharebest\Webtrees\Module;
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+namespace Fisharebest\Webtrees\Module;
/**
* Interface ModuleBlockInterface - Classes and libraries for module system
@@ -23,14 +22,17 @@ interface ModuleBlockInterface {
/**
* Generate the HTML content of this block.
*
- * @param int $block_id
+ * @param int $block_id
+ * @param bool $template
+ * @param array $cfg
*
* @return string
*/
- public function getBlock($block_id);
+ public function getBlock($block_id, $template = true, $cfg = array());
/**
* Should this block load asynchronously using AJAX?
+ *
* Simple blocks are faster in-line, more comples ones
* can be loaded later.
*