Пример #1
0
 protected function applyDynamicValues(kScope $scope)
 {
     parent::applyDynamicValues($scope);
     $dynamicValues = $scope->getDynamicValues('{', '}');
     if (is_array($dynamicValues) && count($dynamicValues)) {
         $this->xPath = str_replace(array_keys($dynamicValues), $dynamicValues, $this->xPath);
         if ($this->profileSystemName) {
             $this->profileSystemName = str_replace(array_keys($dynamicValues), $dynamicValues, $this->profileSystemName);
         }
     }
 }
Пример #2
0
 public function __construct($not = false)
 {
     $this->setType(ConditionType::FIELD_COMPARE);
     parent::__construct($not);
 }
 public function __construct($not = false)
 {
     $this->setType(MetadataPlugin::getConditionTypeCoreValue(MetadataConditionType::METADATA_FIELD_COMPARE));
     parent::__construct($not);
 }