Get value of a RagnarokParameter attribute
@param $name: the name of parameter in the database
@param $force: force to get the parameter value of the database
@return mixed
326896
public function retrieve($name, $force = false)
    {
        $RagnarokParameters = new self($this->SecParameter);

        if (self::check()) {
            $RagnarokParameters = Session::get($this->getName());

            if (property_exists($RagnarokParameters, $name)) {

                if($force) {
                    $value = $this->SecParameter->wherename($name)->first()->value;
                    Session::push($this->getName().$name, $value);
                }

                $value = $RagnarokParameters->$name;
                return $value;
            }
        }

        $RagnarokParameters->$name = $this->SecParameter->wherename($name)->first()->value;
        Session::put($this->getName(), $RagnarokParameters);
        return $RagnarokParameters->$name;
    }
246389
public function getAttr($name)
    {
        return isset($this->attrs[$name]) ? $this->attrs[$name] : null;
    }
872587
public function getAttributeValue($name){
        $returnValue = null;
        if($this->hasAttribute($name)){
            $returnValue = $this->attributes[$name]->getValue();
        }
        return $returnValue;
    }
279109
public function getParameter($name)
    {
        if (isset($this->_parameters[$name])) {
            return $this->_parameters[$name];
        }
        return null;
    }
1085756
public function getQueryParameter($name)
    {
        return (isset($this->query_array[$name])) ? $this->query_array[$name] : null;
    }
718912
public function attribute( $name )
    {
        if ( isset( $this->dynamicAttributeFunctions[$name] ) )
        {
            if ( is_array( $this->dynamicAttributeFunctions[$name] ) )
            {
                return $this->dynamicAttributeFunctions[$name];
            }
            else
            {
                $attribute = call_user_func( array( $this, $this->dynamicAttributeFunctions[$name] ) );
                return $attribute;
            }
        }
        else
        {
            if ( $this->hasAttribute( $name ) )
            {
                return $this->attributes[$name];
            }
            else
            {
                $value = null;
                return $value;
            }
        }
    }
641173
public function store(string $name = '', $force = false): Driver
    {
        if ('' !== $name && 'complex' == $this->config['type']) {
            return $this->connect($this->config[$name], $force);
        }

        return $this->init();
    }
1031727
public function getParam($name)
        {
            $name = (string) $name;

            if (!array_key_exists($name, $this->_params)) {
                return null;
            }

            return $this->_params[$name];
        }
911745
public function getAttribute($name)
	{
		return isset($this->attrs[$name]) ? $this->attrs[$name] : NULL;
	}
323753
public function param($name)
    {
        $params = $this->params();
        if (isset($params[$name])) {
            return $params[$name];
        } else {
            return null;
        }
    }
884228
public function get_param($name) {
        if (array_key_exists($name, $this->params)) {
            return $this->params[$name];
        } else {
            return null;
        }
    }
256101
public function getAttribute($name)
    {
        $value = parent::getAttribute($name);
        return (is_array($value)) ? $value[0] : $value;
    }
396498
public function getAttrib($name)
	{
		return isset($this->attributes[$name]) ? $this->attributes[$name] : null;
	}
1346128
private function getAttributeIndex(string $name): ?int
    {
        $indexes = $this->getSerializer()::readRulesIndexes($this->getAttributeRules());
        $index   = $indexes[$name] ?? null;

        return $index;
    }
717943
public function getItem($name, array $options = array(), $force = false){
        $menu = $this->event->getMenu();
        $item = null;
        
        if(!$force){
            $item = (is_array($name)) ? $this->searchCascade($name) : $menu->getChild($name);
        }
        
        if($item === null){
            if(isset($options['icon'])){
                if(isset($options['label'])){
                    $options['label'] = $this->getIcon($options['icon'],$this->__t($options['label']));
                }else{
                    $options['label'] = $this->getIcon($options['icon'],$this->__t($name));
                }
                $options['extras']['safe_label'] = true;
            }
            $item = $this->event->getFactory()->createItem($name, $options);
            if($item->getUri() === null){
                $item->setUri('#');
            }
            $item->setLabel($this->__t($item->getLabel()));
        }
        return $item;
    }
1196191
public function getAttribute(string $name)
    {
        $method = 'get'.\ucfirst($name).'Attribute';
        $value = $this->menu[$name] ?? null;

        if (\method_exists($this, $method)) {
            return $this->container->call([$this, $method], ['value' => $value]);
        }

        return $value;
    }
511041
public function get_attribute( $name ) {
		if ( $method = $this->has_map_method( $name ) ) {
			return $this->attributes[ self::OBJECT_KEY ]->{$this->{$method}()};
		}

		if ( $method = $this->has_compute_method( $name ) ) {
			return $this->{$method}();
		}

		if ( isset( $this->attributes[ self::TABLE_KEY ][ $name ] ) ) {
			return $this->attributes[ self::TABLE_KEY ][ $name ];
		}

		if ( isset( $this->defaults[ $name ] ) ) {
			return $this->defaults[ $name ];
		}

		return null;
	}