{{{ public function getPropertyNameToMap()
191042
public function getPropertyNameToMap(SwatUIObject $object, $name)
    {
        if ($this === $object) {
            return $name;
        }

        $mangled_name = $name;
        $suffix = 0;

        if (property_exists($this, $name)) {
            $mangled_name = $name . $suffix;
            $suffix++;
        }

        while (array_key_exists($mangled_name, $this->mappings)) {
            $mangled_name = $name . $suffix;
            $suffix++;
        }

        $this->mappings[$mangled_name] = array(
            'object' => $object,
            'property' => $name
        );

        return $mangled_name;
    }
656056
public function getName() {
		if ($this->_name === null) {
			$name = get_class($this);
			$pos = strrpos($name, '\\');
			if ($pos !== false) {
				$name = substr($name, $pos + 1);
			}
			if (preg_match('/^Twig([A-Za-z]+)Extension$/', $name, $matches)) {
				$name = $matches[1];
			}
			$this->_name = strtolower(preg_replace('/([a-z])([A-Z])/', '$1_$2', $name));
		}
		return $this->_name;
	}
1284152
public function __getSerialisablePropertyMap()
    {

        $serialisableProperties = parent::__getSerialisablePropertyMap();
        $dynamicProperties = $this->__dynamicPropertyMap;

        $map = array();
        foreach ($dynamicProperties as $key => $value) {
            $map[$key] = $value;
        }
        foreach ($serialisableProperties as $key => $value) {
            $map[$key] = $value;
        }

        // Merge our dynamic properties in and return.
        return $map;

    }
1068265
public function getSitemapImagesAttribute()
    {
        return $this->images->map(function ($image) {
            return [
                'url' => $image->url,
                'title' => $image->title,
            ];
        })->all();
    }
15361
protected function _getTplName()
    {
        // assign template name
        $sTplName = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('tpl');

        if ($sTplName) {
            // security fix so that you cant access files from outside template dir
            $sTplName = basename($sTplName);

            //checking if it is template name, not content id
            if (!getStr()->preg_match("/\.tpl$/", $sTplName)) {
                $sTplName = null;
            } else {
                $sTplName = 'message/' . $sTplName;
            }
        }

        return $sTplName;
    }
218959
public function getAreaRelationName()
    {
        // Allow repeated calls to return from internal cache
        if (isset($this->cacheData['area_relation_name'])) {
            return $this->cacheData['area_relation_name'];
        }

        $page = $this->getPage();

        $result = 'ElementalArea';

        if ($page) {
            $has_one = $page->config()->get('has_one');
            $area = $this->Parent();

            foreach ($has_one as $relationName => $relationClass) {
                if ($page instanceof BaseElement && $relationName === 'Parent') {
                    continue;
                }
                if ($relationClass === $area->ClassName && $page->{$relationName}()->ID === $area->ID) {
                    $result = $relationName;
                    break;
                }
            }
        }

        $this->setAreaRelationNameCache($result);

        return $result;
    }
471431
private function parseRuleProperty(){
		$offset = $this->pos;
		$name = array();
		$index = array();
		$length = 0;


		$this->rulePropertyMatch('/\\G(\*?)/', $offset, $length, $index, $name );
		while( $this->rulePropertyMatch('/\\G((?:[\w-]+)|(?:@\{[\w-]+\}))/', $offset, $length, $index, $name )); // !

		if( (count($name) > 1) && $this->rulePropertyMatch('/\\G\s*((?:\+_|\+)?)\s*:/', $offset, $length, $index, $name) ){
			// at last, we have the complete match now. move forward,
			// convert name particles to tree objects and return:
			$this->skipWhitespace($length);

			if( $name[0] === '' ){
				array_shift($name);
				array_shift($index);
			}
			foreach($name as $k => $s ){
				if( !$s || $s[0] !== '@' ){
					$name[$k] = $this->NewObj1('Less_Tree_Keyword',$s);
				}else{
					$name[$k] = $this->NewObj3('Less_Tree_Variable',array('@' . substr($s,2,-1), $index[$k], $this->env->currentFileInfo));
				}
			}
			return $name;
		}


	}
1214739
public function format() {

        /*         * Add the mandatary props* */
        if (!is_null($this->name)) {
            $result[self::NAME_KEY] = $this->name;
        }

        /*         * Add the optional props if any* */
        if (!is_null($this->optionalProperties)) {
            $result = array_merge($result, $this->optionalProperties);
        }


        return $result;
    }
676370
protected function getPropertyPath()
    {
        if ($this->isObjectAccessorMode()) {
            $formObjectName = $this->viewHelperVariableContainer->get(\TYPO3\Fluid\ViewHelpers\FormViewHelper::class, 'formObjectName');
            if (strlen($formObjectName) === 0) {
                return $this->arguments['property'];
            } else {
                return $formObjectName . '.' . $this->arguments['property'];
            }
        }
        return rtrim(preg_replace('/(\]\[|\[|\])/', '.', $this->getNameWithoutPrefix()), '.');
    }
426969
public function getName()
    {
        if (!$this->isEmpty($this->name)) {
            return $this->name;
        }

        foreach (['getName', 'getOriginalName'] as $fn) {
            $name = call_user_func([$this->event, $fn]);

            if ($this->isEmpty($name) || $name === $this) {
                continue;
            }

            if ($name instanceof self) {
                return $name = $name->getName();
            }
        }

        return $this->name = $this->parseEventName();
    }
1066487
public static function getPropertyMap()
    {

		$returnValue = array(
			'text' => array(
				'title' 	=> __('Text - Short - Field'),
				'widget'	=> WidgetDefinitions::PROPERTY_TEXTBOX,
				'range'		=> OntologyRdfs::RDFS_LITERAL,
			    'multiple'  => GenerisRdf::GENERIS_FALSE
			),
			'longtext' => array(
				'title' 	=> __('Text - Long - Box'),
				'widget'	=> WidgetDefinitions::PROPERTY_TEXTAREA,
				'range'		=> OntologyRdfs::RDFS_LITERAL,
			    'multiple'  => GenerisRdf::GENERIS_FALSE
			),
			'html' => array(
				'title' 	=> __('Text - Long - HTML editor'),
				'widget'	=> WidgetDefinitions::PROPERTY_HTMLAREA,
				'range'		=> OntologyRdfs::RDFS_LITERAL,
			    'multiple'  => GenerisRdf::GENERIS_FALSE
			),
			'list' => array(
				'title' 	=> __('List - Single choice - Radio button'),
				'widget'	=> WidgetDefinitions::PROPERTY_RADIOBOX,
				'range'		=> OntologyRdfs::RDFS_RESOURCE,
			    'multiple'  => GenerisRdf::GENERIS_FALSE
			),

			'multiplenodetree' => array(
				'title' 	=> __('Tree - Multiple node choice '),
				'widget'	=> WidgetDefinitions::PROPERTY_TREEBOX,
				'range'		=> OntologyRdfs::RDFS_RESOURCE,
				'multiple'  => GenerisRdf::GENERIS_TRUE
			),

			'longlist' => array(
				'title' 	=> __('List - Single choice - Drop down'),
				'widget'	=> WidgetDefinitions::PROPERTY_COMBOBOX,
				'range'		=> OntologyRdfs::RDFS_RESOURCE,
			    'multiple'  => GenerisRdf::GENERIS_FALSE
			),
			'multilist' => array(
				'title' 	=> __('List - Multiple choice - Check box'),
				'widget'	=> WidgetDefinitions::PROPERTY_CHECKBOX,
				'range'		=> OntologyRdfs::RDFS_RESOURCE,
			    'multiple'  => GenerisRdf::GENERIS_TRUE
			),
			'calendar' => array(
				'title' 	=> __('Calendar'),
				'widget'	=> WidgetDefinitions::PROPERTY_CALENDAR,
				'range'		=> OntologyRdfs::RDFS_LITERAL,
			    'multiple'  => GenerisRdf::GENERIS_FALSE
			),
			'password' => array(
				'title' 	=> __('Password'),
				'widget'	=> WidgetDefinitions::PROPERTY_HIDDENBOX,
				'range'		=> OntologyRdfs::RDFS_LITERAL,
			    'multiple'  => GenerisRdf::GENERIS_FALSE
			),
			'file' => array(
				'title' 	=> __('File'),
				'widget'	=> WidgetDefinitions::PROPERTY_FILE,
				'range'		=> GenerisRdf::CLASS_GENERIS_FILE,
			    'multiple'  => GenerisRdf::GENERIS_FALSE
			)
		);

        return $returnValue;
    }
297199
protected function getLastSubmittedFormData()
    {
        $submittedArguments = $this->getRequest()->getInternalArgument('__submittedArguments');
        if ($submittedArguments === null) {
            return;
        }
        return ObjectAccess::getPropertyPath($submittedArguments, $this->getPropertyPath());
    }
1253236
public function getRequestAcceptMap()
    {
        if ($this->requestAcceptMap === null) {
            $requestAccept = $this->getRequestAccept();
            $requestAcceptMap = $this->parseRequestAccept($requestAccept);
            $requestAcceptMap = $this->sortRequestAcceptMap($requestAcceptMap);
            $this->requestAcceptMap = $requestAcceptMap;
        }

        return $this->requestAcceptMap;
    }
954395
public function getProperties()
    {
        $url      = UrlHelper::buildUrl(Urls::URL_QUERY_CACHE);
        $response = $this->getConnection()->get($url);

        return $response->getJson();
    }
1318022
public function getCustomPropertyValue()
	{
		if (!is_array($this->_aCustomProperties)) {
			return;
		}
		$aKeys = array_keys($this->_aCustomProperties);
		return $this->_aCustomProperties[$aKeys[0]];
	}
538481
public function getMappedAttributes()
    {
        $mappedArrayForApiRequest = [];
        $requestAttributes = $this->request->getData();
        foreach ($requestAttributes as $key => $value) {
            if (array_key_exists($key, $this->mappingRequestToOtherRequestAttributes)) {
                $mappedArrayForApiRequest[$this->mappingRequestToOtherRequestAttributes[$key]] = $value;
            }
        }

        return $mappedArrayForApiRequest;
    }
1350050
protected function getApiMethod()
    {
        if (!isset($this->apiMethod)) {
            $words = explode('_', Str::snake(class_basename($this)), -1);
            $endpoint = strtolower(array_shift($words));
            $action = Str::camel(implode('_', $words)) ?: '*';
            $method = sprintf('%s.%s', $endpoint, $action);
            $this->apiMethod = $endpoint ? $method : 'undefined';
        }

        return $this->apiMethod;
    }