SimplePie_IRI::set_fragment

Advertisement

Summery Summery

Set the ifragment.

Syntax Syntax

SimplePie_IRI::set_fragment( string $ifragment )

Parameters Parameters

$ifragment

(Required)

Return Return

(bool)

Source Source

File: wp-includes/SimplePie/IRI.php

	public function set_fragment($ifragment)
	{
		if ($ifragment === null)
		{
			$this->ifragment = null;
		}
		else
		{
			$this->ifragment = $this->replace_invalid_with_pct_encoding($ifragment, '!$&\'()*+,;=:@/?');
			$this->scheme_normalization();
		}
		return true;
	}

Advertisement

Advertisement

Leave a Reply