/** * @since 2.1 * * @return SemanticData */ public function getDependencies() { $semanticData = parent::getDependencies(); $semanticData->addPropertyObjectValue(new DIProperty('_PVAL'), new DIBlob('open')); $semanticData->addPropertyObjectValue(new DIProperty('_PVAL'), new DIBlob('closed')); return $semanticData; }
/** * @since 2.1 * * @return SemanticData */ public function getDependencies() { $semanticData = parent::getDependencies(); $locatedInProperty = new LocatedInProperty(); $semanticData->addPropertyObjectValue(new DIProperty('_SUBP'), $locatedInProperty->getProperty()->getDiWikiPage()); return $semanticData; }
/** * @since 2.1 * * @return SemanticData */ public function getDependencies() { $semanticData = parent::getDependencies(); $populationProperty = new PopulationProperty(); $areaProperty = new AreaProperty(); $semanticData->addPropertyObjectValue(new DIProperty('_LIST'), new DIBlob($populationProperty->getProperty()->getKey() . ';' . $areaProperty->getProperty()->getKey())); return $semanticData; }
/** * @since 2.1 * * @return SemanticData */ public function getDependencies() { $semanticData = parent::getDependencies(); $titleProperty = new TitleProperty(); $yearProperty = new YearProperty(); $semanticData->addPropertyObjectValue(new DIProperty('_LIST'), new DIBlob($titleProperty->getProperty()->getKey() . ';' . $yearProperty->getProperty()->getKey())); return $semanticData; }
/** * @since 2.1 * * @return SemanticData */ public function getDependencies() { $semanticData = parent::getDependencies(); $dataValueFactory = DataValueFactory::getInstance(); foreach ($this->conversionValues as $conversionValue) { $semanticData->addDataValue($dataValueFactory->newDataValueByProperty(new DIProperty('_CONV'), $conversionValue)); } return $semanticData; }