Class SimplePie_IRI

Description

IRI parser/serialiser

Located in /libraries/simplepie/simplepie.php (line 11578)


	
			
Method Summary
 static SimplePie_IRI absolutize (SimplePie_IRI $base, string $relative)
 SimplePie_IRI SimplePie_IRI (string $iri)
 string get_authority ()
 string get_fragment ()
 string get_host ()
 string get_iri ()
 string get_path ()
 string get_port ()
 string get_query ()
 string get_scheme ()
 string get_userinfo ()
 bool is_valid ()
 bool set_authority (string $authority)
 bool set_fragment (string $fragment)
 bool set_host (string $host)
 bool set_path (string $path)
 bool set_port (string $port)
 bool set_query (string $query)
 bool set_scheme (string $scheme)
 bool set_userinfo (string $userinfo)
 string __toString ()
Methods
static absolutize (line 11685)

Create a new IRI object by resolving a relative IRI

  • access: public
static SimplePie_IRI absolutize (SimplePie_IRI $base, string $relative)
Constructor SimplePie_IRI (line 11662)

Create a new IRI object, from a specified string

  • access: public
SimplePie_IRI SimplePie_IRI (string $iri)
  • string $iri
get_authority (line 12221)

Get the complete authority

  • access: public
string get_authority ()
get_fragment (line 12308)

Get the fragment

  • access: public
string get_fragment ()
get_host (line 12264)

Get the host

  • access: public
string get_host ()
get_iri (line 12170)

Get the complete IRI

  • access: public
string get_iri ()
get_path (line 12286)

Get the path

  • access: public
string get_path ()
get_port (line 12275)

Get the port

  • access: public
string get_port ()
get_query (line 12297)

Get the query

  • access: public
string get_query ()
get_scheme (line 12210)

Get the scheme

  • access: public
string get_scheme ()
get_userinfo (line 12253)

Get the user information

  • access: public
string get_userinfo ()
is_valid (line 11920)

Check if the object represents a valid IRI

  • access: public
bool is_valid ()
set_authority (line 11974)

Set the authority. Returns true on success, false on failure (if there are any invalid characters).

  • access: public
bool set_authority (string $authority)
  • string $authority
set_fragment (line 12150)

Set the fragment.

  • access: public
bool set_fragment (string $fragment)
  • string $fragment
set_host (line 12028)

Set the host. Returns true on success, false on failure (if there are any invalid characters).

  • access: public
bool set_host (string $host)
  • string $host
set_path (line 12096)

Set the path.

  • access: public
bool set_path (string $path)
  • string $path
set_port (line 12067)

Set the port. Returns true on success, false on failure (if there are any invalid characters).

  • access: public
bool set_port (string $port)
  • string $port
set_query (line 12129)

Set the query.

  • access: public
bool set_query (string $query)
  • string $query
set_scheme (line 11933)

Set the scheme. Returns true on success, false on failure (if there are any invalid characters).

  • access: public
bool set_scheme (string $scheme)
  • string $scheme
set_userinfo (line 12006)

Set the userinfo.

  • access: public
bool set_userinfo (string $userinfo)
  • string $userinfo
__toString (line 11650)

Return the entire IRI when you try and read the object as a string

  • access: public
string __toString ()

Documentation generated on Tue, 19 Nov 2013 15:13:49 +0100 by phpDocumentor 1.4.3