get wrapper attributes

@return array|mixed
775075
public function getLabelWrapper($key = null, $default = null)
    {
        if (!isset($this->attributes['labelWrapper'])) {
            return $default;
        }
        if (!is_null($key) && !array_key_exists($key, $this->attributes['labelWrapper'])) {
            return $default;
        }
        if (is_null($key)) {
            return $this->attributes['labelWrapper'];
        }
        if (!is_null($key) && array_key_exists($key, $this->attributes['labelWrapper'])) {
            return $this->attributes['labelWrapper'][$key];
        }
    }
293815
public function getAttributes()
    {
        $attributes = parent::getAttributes();
        
        $resolver = $this->getTypeResolver();
        if(isset($resolver))
        {
            $attributes['resolveType'] = $resolver;
        }
        
        return $attributes;
    }
1321048
protected function getAttributes()
    {
        $attributes = [];
        $this->moveToFirstAttribute();

        do {
            $attributes[$this->name] = $this->value;
        } while ($this->moveToNextAttribute());

        return $attributes;
    }
143213
public function getAttributes()
    {
        if ($this->_attributes === null) {
            $this->_attributes = $this->defaultAttributes();
        }
        return $this->_attributes;
    }
555117
public function getDataAttributes()
    {
        $attributes = [
            'data-toggle' => 'popover',
            'data-container' => 'body',
            'data-placement' => $this->getPlacement()
        ];
        
        if (($parent = $this->getParent()) && $parent->ShowTitles) {
            $attributes['data-title'] = $this->Title;
        }
        
        $this->extend('updateDataAttributes', $attributes);
        
        return $attributes;
    }
906888
public function attributes(): array
    {
        $languages = TransHelper::getAllLanguages();
        $translatedAttributes = ['name', 'slug'];

        $placeholder = 'for language ":lang"';

        if ($languages->count() == 1) {
            $language = $languages->first();

            return [
                "translations.{$language->iso_code}.name" => '',
                "translations.{$language->iso_code}.slug" => '',
            ];
        }

        $attributes = [];

        foreach ($translatedAttributes as $translatedAttribute) {
            foreach ($languages as $language) {
                $replaced = str_replace(':lang', $language->title_localized, $placeholder);
                $attributes["translations.{$language->iso_code}.{$translatedAttribute}"] = $replaced;
            }
        }

        return $attributes;
    }
464846
public function getCompiledAttributes(): array
    {
        $key = $this->getKeyName();

        $embeddables = array_keys($this->getEmbeddables());

        $relationships = $this->getRelationships();

        $attributes = $this->getAttributes();

        return array_merge([$key], $embeddables, $relationships, $attributes);
    }
880679
public function getAttributes()
    {
        if ($this->_oAttributeList === null) {
            $this->_oAttributeList = $this->newAttributelist();
            $this->_oAttributeList->loadAttributes($this->getId(), $this->getParentId());
        }

        return $this->_oAttributeList;
    }
692721
protected function _get_wrapper_files() {
		$wrapper_files = [];

		foreach ( WP_View_Controller\Helper\config( 'layout' ) as $wrapper_dir ) {
			foreach ( glob( get_theme_file_path( $wrapper_dir . '/*' ) ) as $wrapper_path ) {
				$name = basename( $wrapper_path, '.php' );
				if ( 'blank' === $name || 'blank-fluid' === $name ) {
					continue;
				}
				if ( isset( $wrapper_files[ $name ] ) ) {
					continue;
				}
				$wrapper_files[ $name ] = $wrapper_path;
			}
		}

		return $wrapper_files;
	}
1082509
public function getAttributes()
	{
		$attributes	= $this->attributes;
		$attributes['class']	=  NULL;
		if( !empty( $this->attributes['class'] ) )
			$attributes['class']	=  implode( " ", $this->attributes['class'] );
		return $attributes;
	}
279740
public function getRawAttributes(): array
    {
        $attributes = $this->wrappedEntity->getEntityAttributes();

        foreach ($this->entityMap->getNonEmbeddedRelationships() as $relation) {
            unset($attributes[$relation]);
        }

        if ($this->entityMap->getInheritanceType() == 'single_table') {
            $attributes = $this->addDiscriminatorColumn($attributes);
        }

        $attributes = $this->entityMap->getColumnNamesFromAttributes($attributes);

        $attributes = $this->flattenEmbeddables($attributes);

        $foreignKeys = $this->getForeignKeyAttributes();

        return $this->mergeForeignKeysWithAttributes($foreignKeys, $attributes);
    }
626123
public function getWrapping()
    {
        $oWrap = null;
        if ($sWrapId = $this->getWrappingId()) {
            $oWrap = oxNew(\OxidEsales\Eshop\Application\Model\Wrapping::class);
            $oWrap->load($sWrapId);
        }

        return $oWrap;
    }
1165951
public function getAttributes()
    {
        $attributes = $this->attributes();
        $args = $this->args();

        $attributes = array_merge($this->attributes, [
            'args' => $args
        ], $attributes);

        $type = $this->type();
        if (isset($type)) {
            $attributes['type'] = $type;
        }

        $resolver = $this->getResolver();
        if (isset($resolver)) {
            $attributes['resolve'] = $resolver;
        }

        return $attributes;
    }
751313
public function getAttributes(): array
    {
        $attributes = [];
        if ($this->blockId) {
            $attributes['block'] = $this->blockId;
        }
        $attributes['node'] = $this->node;
        return $attributes;
    }
540187
protected function _getAttributeMap()
	{
		if( !isset( $this->_attributesMap ) )
		{
			$this->_attributesMap = array();

			foreach( $this->_attributes as $attribute ) {
				$this->_attributesMap[ $attribute->getCode() ] = $attribute;
			}
		}

		return $this->_attributesMap;
	}
421688
protected function getAttributesDictionnary() : array
    {
        // Get attributes that belongs to the embedded object
        $embeddedAttributeKeys = $this->getEmbeddedObjectAttributes();

        $attributesMap = [];

        // Build a dictionary for corresponding object attributes => parent attributes
        foreach ($embeddedAttributeKeys as $key) {
            $attributesMap[$key] = $this->getParentAttributeKey($key);
        }

        return $attributesMap;
    }
548127
public function getWrapper($wrapper, $attr)
    {
        $type = '';
        if (! empty($attr['type'])) {
            $type = ' ' . $attr['type'];

            if ((isset($attr['type']) && $attr['type'] == 'select') && in_array('multiple', $attr)) {
                $type .= ' multiselect';
            }
        }

        $defaults = array(
            'tag' => 'div',
            'class' => 'input' . $type
        );

        $wrapperAttr = array_merge(
            $defaults,
            $wrapper
        );

        // double check for the presence of a tag element
        $tag = $wrapperAttr['tag'];
        unset($wrapperAttr['tag']);

        return array(
            'tag' => $tag,
            'attr' => $wrapperAttr
        );
    }