You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
501 B
PHP
17 lines
501 B
PHP
<?php
|
|
namespace Isekai\Widgets;
|
|
|
|
class FeedListWidget {
|
|
public static function getHtml(){
|
|
ob_start();
|
|
include(dirname(__DIR__) . '/modules/feedList/ext.isekai.feedList.tpl');
|
|
$template = ob_get_clean();
|
|
return [$template, "markerType" => 'nowiki'];
|
|
}
|
|
|
|
public static function create($text, $params, \Parser $parser, $frame){
|
|
$parser->getOutput()->addModules('ext.isekai.feedList');
|
|
|
|
return self::getHtml();
|
|
}
|
|
} |