/** * @param string $name * @param string $termType One of the TermIndexEntry::TYPE_... constants. * @param string $legendMsg * @param EntityPerPage $entityPerPage * @param EntityFactory $entityFactory * @param ContentLanguages $termsLanguages */ public function __construct($name, $termType, $legendMsg, EntityPerPage $entityPerPage, EntityFactory $entityFactory, ContentLanguages $termsLanguages) { parent::__construct($name); $this->termType = $termType; $this->legendMsg = $legendMsg; $this->entityPerPage = $entityPerPage; $this->entityFactory = $entityFactory; $this->termsLanguages = $termsLanguages; }
public function __construct() { parent::__construct('ListProperties'); $wikibaseRepo = WikibaseRepo::getDefaultInstance(); $this->initServices($wikibaseRepo->getDataTypeFactory(), $wikibaseRepo->getStore()->getPropertyInfoStore(), $wikibaseRepo->getEntityIdHtmlLinkFormatterFactory(), $wikibaseRepo->getLanguageFallbackChainFactory(), $wikibaseRepo->getEntityTitleLookup(), $wikibaseRepo->getBufferingTermLookup()); }
public function __construct() { parent::__construct('ItemsWithoutSitelinks'); }