예제 #1
0
 public function getUpdateRequiredMetadataXPaths()
 {
     $metadataConfigArray = parent::getUpdateRequiredMetadataXPaths();
     /* we want any change to the metadata to create an update possibility */
     $metadataConfigArray[] = TvinciDistributionField::META;
     return $metadataConfigArray;
 }
 public function getUpdateRequiredMetadataXPaths()
 {
     $updateRequired = parent::getUpdateRequiredMetadataXPaths();
     $additionalXpaths = $this->getAdditionalMetadataXpathsTriggerUpdate();
     if (count($additionalXpaths)) {
         foreach ($additionalXpaths as $xpathStringValue) {
             /* @var $xpathStringValue kStringValue */
             $updateRequired[] = $xpathStringValue->getValue();
         }
     }
     return $updateRequired;
 }