Ejemplo n.º 1
0
 /**
  * @note It is performance critical to make sure that the instance is only
  * invoked once per request
  *
  * @since 2.2
  *
  * @return PpropertyTableInfoFetcher
  */
 public function getPropertyTableInfoFetcher()
 {
     if ($this->propertyTableInfoFetcher === null) {
         $this->propertyTableInfoFetcher = new PropertyTableInfoFetcher();
         $this->propertyTableInfoFetcher->setCustomFixedPropertyList(self::$configuration->get('smwgFixedProperties'));
         $this->propertyTableInfoFetcher->setCustomSpecialPropertyList(self::$configuration->get('smwgPageSpecialProperties'));
     }
     return $this->propertyTableInfoFetcher;
 }
 /**
  * @since 2.3
  *
  * @return PropertyTableInfoFetcher
  */
 public function newPropertyTableInfoFetcher()
 {
     $propertyTableInfoFetcher = new PropertyTableInfoFetcher();
     $propertyTableInfoFetcher->setCustomFixedPropertyList($this->settings->get('smwgFixedProperties'));
     $propertyTableInfoFetcher->setCustomSpecialPropertyList($this->settings->get('smwgPageSpecialProperties'));
     return $propertyTableInfoFetcher;
 }