Returns spell icon URL.

@param string $spell_name

@return string
@throws SettingsException
771321
public static function getSpellIconUrl( string $spell_name ): string
	{
		self::checkInit();
		return self::getSetting(self::SET_ENDPOINT) . self::getSetting(self::SET_VERSION) . "/img/spell/{$spell_name}.png";
	}
766787
public static function get_theme_field( $field_name, $default = false ) {

		if ( ! empty( self::$theme ) ) {
			return self::$theme->get( $field_name );
		}

		return $default;
	}
496713
public function getSettingsKey(): string
    {
        $key = $this->settingsKey;

        if (empty($this->$key)) {
            throw new Exception("No settings key is set on the constructor");
        }

        return $this->$key;
    }
1095040
public static function GetUserNameFromSessionData ($cookie_name, $name = self::DEFAULT_CONNECTION_NAME) {
		$options	= static::GetAuthCookieOptions($name);

		$server_key			= $options['server_key'];
		$server_salt		= $options['server_salt'];
		$separator_length	= $options['separator_length'];

		$raw_data = file_get_contents(static::CreateCookieSavePath($cookie_name, $name));
		$data = CompressionGz::UnCompressVariable(OpenSSL::DecryptRandom($raw_data, $cookie_name, $server_salt, $server_key, $separator_length));

		return $data['shadow'];
	}
312200
public function formElementId(string $action, string $var_name = ''): string
    {
        return $this->data_slug.'-'.$this->c::nameToSlug($action).($var_name ? '-'.$this->c::nameToSlug($var_name) : '');
    }
734912
final protected function getBlockSetting(int $block_id, string $setting_name, string $default = ''): string
    {
        $settings = app('cache.array')->rememberForever('block_setting' . $block_id, static function () use ($block_id): array {
            return DB::table('block_setting')
                ->where('block_id', '=', $block_id)
                ->pluck('setting_value', 'setting_name')
                ->all();
        });

        return $settings[$setting_name] ?? $default;
    }
95093
public function get_slug( $config_name, $suffix = '-' ) {
		if ( ! isset( self::$_slugs[ $this->app->plugin_name ][ $config_name ] ) ) {
			$default = $this->app->slug_name . $suffix;
			$slug    = $this->app->get_config( 'slug', $config_name, $default );
			if ( empty( $slug ) ) {
				$slug = $default;
			}
			self::$_slugs[ $this->app->plugin_name ][ $config_name ] = $slug;
		}

		return self::$_slugs[ $this->app->plugin_name ][ $config_name ];
	}
531859
public function getPrefix()
    {
        $returnValue = (string) '';

        
        
        //prevent to use empty prefix. By default the name is used!
        if(empty($this->prefix) && !empty($this->name)){
        	$this->prefix = $this->name . '_';
        }
        
        $returnValue = $this->prefix;
        
        

        return (string) $returnValue;
    }
436074
public function getSpell($spellId)
	{
		if (isset($this->info['data'][$spellId]))
		{
			return $this->info['data'][$spellId];
		}

		return null;
	}
1242227
def render_settingsLink(self, ctx, data):
        
        return settingsLink(
            self.translator, self.pageComponents.settings, ctx.tag)
646249
public function getCurrentSpellPower(): ?SpellPower
    {
        $powerWithAddition = $this->getSpellPowerWithAddition();
        $powerBonus = $this->getParameterBonusFromModifiers(ModifierMutableSpellParameterCode::SPELL_POWER);
        if (!$powerWithAddition && $powerBonus === false) {
            return null;
        }

        return new SpellPower(
            [
                ($powerWithAddition
                    ? $powerWithAddition->getValue()
                    : 0)
                + (int)$powerBonus,
                0, // no addition
            ],
            Tables::getIt()
        );
    }
501950
function getGuildPrefix(?\CharlotteDunois\Yasmin\Models\Guild $guild = null) {
        if($guild !== null && $this->provider !== null) {
            try {
                $prefix = $this->provider->get($guild, 'commandPrefix', 404);
                if($prefix !== 404 && $prefix !== '') {
                    return $prefix;
                }
            } catch (\BadMethodCallException $e) {
                return $this->commandPrefix;
            }
        }
        
        return $this->commandPrefix;
    }
706135
public static function getUri($name_space){
		$refl = new \ReflectionClass(get_called_class());
		$name_space = strtoupper($name_space);
		return $refl->hasConstant($name_space)
			? $refl->getConstant($name_space)
			: '';
	}
440688
public static function name($name, $icon = null, bool $skip_i18n = false) : string {
		if (empty($skip_i18n)) {
			$name = i18n(null, $name);
		}
		if (!empty($icon)) {
			$name = \HTML::icon(['type' => $icon]) . ' ' . $name;
		}
		return $name;
	}
1372356
private static String getSolrSpellcheckRfsPath() {

        String sPath = OpenCms.getSystemInfo().getWebInfRfsPath();

        if (!OpenCms.getSystemInfo().getWebInfRfsPath().endsWith(File.separator)) {
            sPath += File.separator;
        }

        return sPath + "solr" + File.separator + "spellcheck" + File.separator + "data";
    }
32818
public function get(bool $clear_keyboard = true) : string
    {
        if (empty($this->inline_keyboard)) {
            throw new BotException("Inline keyboard is empty");
        }

        // Create a new array to put our buttons
        $reply_markup = ['inline_keyboard' => $this->inline_keyboard];
        $reply_markup = json_encode($reply_markup);

        if ($clear_keyboard) {
            $this->clearKeyboard();
        }

        return $reply_markup;
    }
17362
public function getStaticSummonerSpell( int $summoner_spell_id, string $locale = 'en_US', string $version = null ): StaticData\StaticSummonerSpellDto
	{
		$result = false;
		try
		{
			// Fetch StaticData from JSON files
			$result = DataDragonAPI::getStaticSummonerSpellById($summoner_spell_id, $locale, $version);
			if (!$result) throw new ServerException("StaticData failed to be loaded.");

			$this->result_data = $result;
		}
		catch (DataDragonExceptions\SettingsException $ex)
		{
			throw new SettingsException("DataDragon API was not initialized properly! StaticData endpoints cannot be used.");
		}
		catch (DataDragonExceptions\ArgumentException $ex)
		{
			throw new RequestException($ex->getMessage(), $ex->getCode());
		}
		finally
		{
			// Parse array and create instances
			return new StaticData\StaticSummonerSpellDto($result, $this);
		}
	}