Moodle  2.2.1
http://www.collinsharper.com
SimplePie_IRI Class Reference

Public Member Functions

 __toString ()
 __construct ($iri)
 parse_iri ($iri)
 remove_dot_segments ($input)
 replace_invalid_with_pct_encoding ($string, $valid_chars, $case=SIMPLEPIE_SAME_CASE)
 is_valid ()
 set_scheme ($scheme)
 set_authority ($authority)
 set_userinfo ($userinfo)
 set_host ($host)
 set_port ($port)
 set_path ($path)
 set_query ($query)
 set_fragment ($fragment)
 get_iri ()
 get_scheme ()
 get_authority ()
 get_userinfo ()
 get_host ()
 get_port ()
 get_path ()
 get_query ()
 get_fragment ()

Static Public Member Functions

static absolutize ($base, $relative)

Data Fields

 $scheme
 $userinfo
 $host
 $port
 $path
 $query
 $fragment
 $valid = array()

Detailed Description

Definition at line 11108 of file simplepie.class.php.


Constructor & Destructor Documentation

__construct ( iri)

Create a new IRI object, from a specified string

public

Parameters:
string$iri
Returns:
SimplePie_IRI

Definition at line 11192 of file simplepie.class.php.


Member Function Documentation

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

public

Returns:
string

Definition at line 11180 of file simplepie.class.php.

static absolutize ( base,
relative 
) [static]

Create a new IRI object by resolving a relative IRI

public

Parameters:
SimplePie_IRI$baseBase IRI
string$relativeRelative IRI
Returns:
SimplePie_IRI

Definition at line 11215 of file simplepie.class.php.

Here is the caller graph for this function:

Get the complete authority

public

Returns:
string

Definition at line 11751 of file simplepie.class.php.

Get the fragment

public

Returns:
string

Definition at line 11838 of file simplepie.class.php.

get_host ( )

Get the host

public

Returns:
string

Definition at line 11794 of file simplepie.class.php.

get_iri ( )

Get the complete IRI

public

Returns:
string

Definition at line 11700 of file simplepie.class.php.

get_path ( )

Get the path

public

Returns:
string

Definition at line 11816 of file simplepie.class.php.

get_port ( )

Get the port

public

Returns:
string

Definition at line 11805 of file simplepie.class.php.

get_query ( )

Get the query

public

Returns:
string

Definition at line 11827 of file simplepie.class.php.

Get the scheme

public

Returns:
string

Definition at line 11740 of file simplepie.class.php.

Get the user information

public

Returns:
string

Definition at line 11783 of file simplepie.class.php.

is_valid ( )

Check if the object represents a valid IRI

public

Returns:
bool

Definition at line 11450 of file simplepie.class.php.

parse_iri ( iri)

Parse an IRI into scheme/authority/path/query/fragment segments

private

Parameters:
string$iri
Returns:
array

Definition at line 11294 of file simplepie.class.php.

remove_dot_segments ( input)

Remove dot segments from a path

private

Parameters:
string$input
Returns:
string

Definition at line 11311 of file simplepie.class.php.

replace_invalid_with_pct_encoding ( string,
valid_chars,
case = SIMPLEPIE_SAME_CASE 
)

Replace invalid character with percent encoding

private

Parameters:
string$stringInput string
string$valid_charsValid characters
int$caseNormalise case
Returns:
string

Definition at line 11374 of file simplepie.class.php.

set_authority ( authority)

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

public

Parameters:
string$authority
Returns:
bool

Definition at line 11504 of file simplepie.class.php.

set_fragment ( fragment)

Set the fragment.

public

Parameters:
string$fragment
Returns:
bool

Definition at line 11680 of file simplepie.class.php.

set_host ( host)

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

public

Parameters:
string$host
Returns:
bool

Definition at line 11558 of file simplepie.class.php.

set_path ( path)

Set the path.

public

Parameters:
string$path
Returns:
bool

Definition at line 11626 of file simplepie.class.php.

set_port ( port)

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

public

Parameters:
string$port
Returns:
bool

Definition at line 11597 of file simplepie.class.php.

set_query ( query)

Set the query.

public

Parameters:
string$query
Returns:
bool

Definition at line 11659 of file simplepie.class.php.

set_scheme ( scheme)

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

public

Parameters:
string$scheme
Returns:
bool

Definition at line 11463 of file simplepie.class.php.

set_userinfo ( userinfo)

Set the userinfo.

public

Parameters:
string$userinfo
Returns:
bool

Definition at line 11536 of file simplepie.class.php.


Field Documentation

$fragment

Definition at line 11164 of file simplepie.class.php.

$host

Definition at line 11132 of file simplepie.class.php.

$path

Definition at line 11148 of file simplepie.class.php.

$port

Definition at line 11140 of file simplepie.class.php.

$query

Definition at line 11156 of file simplepie.class.php.

$scheme

Definition at line 11116 of file simplepie.class.php.

$userinfo

Definition at line 11124 of file simplepie.class.php.

$valid = array()

Definition at line 11172 of file simplepie.class.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations