/** * Set style properties by importing values from a properties array. * Properties might be disabled by setting them in $disabled. * The style must have been previously created. Only those properties * will be accepted that are mentioned in the fields array. * * @param $style ODTStyle object for storing the properties * @param $fields Properties accepted by the object/class * @param $properties Properties to be imported * @param $disabled Properties to be ignored */ protected function importPropertiesInternal(array $fields, $properties, $disabled, &$dest = NULL) { parent::importPropertiesInternal($fields, $properties, $disabled, $dest); }
/** * Set style properties by importing values from a properties array. * Properties might be disabled by setting them in $disabled. * The style must have been previously created. Only those properties * will be accepted that are mentioned in the fields array. * * @param $style ODTStyle object for storing the properties * @param $fields Properties accepted by the object/class * @param $properties Properties to be imported * @param $disabled Properties to be ignored */ protected function importPropertiesInternal($fields, $properties, $disabled, &$dest = NULL) { parent::importPropertiesInternal($fields, $properties, $disabled); // Make sure that our family is always set and never changed $this->setPropertyInternal('style-family', self::$style_fields['style-family'][0], $this->getFamily(), self::$style_fields['style-family'][1]); }