PHP 클래스 SimplePie_IRI, ojs

파일 보기 프로젝트 열기: pkp/ojs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$fragment string Fragment
$host string Host
$path string Path
$port string Port
$query string Query
$scheme string Scheme
$userinfo string User Information
$valid array Whether the object represents a valid IRI

공개 메소드들

메소드 설명
SimplePie_IRI ( string $iri ) : SimplePie_IRI Create a new IRI object, from a specified string
__toString ( ) : string Return the entire IRI when you try and read the object as a string
absolutize ( SimplePie_IRI $base, string $relative ) : SimplePie_IRI Create a new IRI object by resolving a relative IRI
get_authority ( ) : string Get the complete authority
get_fragment ( ) : string Get the fragment
get_host ( ) : string Get the host
get_iri ( ) : string Get the complete IRI
get_path ( ) : string Get the path
get_port ( ) : string Get the port
get_query ( ) : string Get the query
get_scheme ( ) : string Get the scheme
get_userinfo ( ) : string Get the user information
is_valid ( ) : boolean Check if the object represents a valid IRI
parse_iri ( string $iri ) : array Parse an IRI into scheme/authority/path/query/fragment segments
remove_dot_segments ( string $input ) : string Remove dot segments from a path
replace_invalid_with_pct_encoding ( string $string, string $valid_chars, integer $case = SIMPLEPIE_SAME_CASE ) : string Replace invalid character with percent encoding
set_authority ( string $authority ) : boolean Set the authority. Returns true on success, false on failure (if there are any invalid characters).
set_fragment ( string $fragment ) : boolean Set the fragment.
set_host ( string $host ) : boolean Set the host. Returns true on success, false on failure (if there are any invalid characters).
set_path ( string $path ) : boolean Set the path.
set_port ( string $port ) : boolean Set the port. Returns true on success, false on failure (if there are any invalid characters).
set_query ( string $query ) : boolean Set the query.
set_scheme ( string $scheme ) : boolean Set the scheme. Returns true on success, false on failure (if there are any invalid characters).
set_userinfo ( string $userinfo ) : boolean Set the userinfo.

메소드 상세

SimplePie_IRI() 공개 메소드

Create a new IRI object, from a specified string
public SimplePie_IRI ( string $iri ) : SimplePie_IRI
$iri string
리턴 SimplePie_IRI

__toString() 공개 메소드

Return the entire IRI when you try and read the object as a string
public __toString ( ) : string
리턴 string

absolutize() 공개 메소드

Create a new IRI object by resolving a relative IRI
public absolutize ( SimplePie_IRI $base, string $relative ) : SimplePie_IRI
$base SimplePie_IRI Base IRI
$relative string Relative IRI
리턴 SimplePie_IRI

get_authority() 공개 메소드

Get the complete authority
public get_authority ( ) : string
리턴 string

get_fragment() 공개 메소드

Get the fragment
public get_fragment ( ) : string
리턴 string

get_host() 공개 메소드

Get the host
public get_host ( ) : string
리턴 string

get_iri() 공개 메소드

Get the complete IRI
public get_iri ( ) : string
리턴 string

get_path() 공개 메소드

Get the path
public get_path ( ) : string
리턴 string

get_port() 공개 메소드

Get the port
public get_port ( ) : string
리턴 string

get_query() 공개 메소드

Get the query
public get_query ( ) : string
리턴 string

get_scheme() 공개 메소드

Get the scheme
public get_scheme ( ) : string
리턴 string

get_userinfo() 공개 메소드

Get the user information
public get_userinfo ( ) : string
리턴 string

is_valid() 공개 메소드

Check if the object represents a valid IRI
public is_valid ( ) : boolean
리턴 boolean

parse_iri() 공개 메소드

Parse an IRI into scheme/authority/path/query/fragment segments
public parse_iri ( string $iri ) : array
$iri string
리턴 array

remove_dot_segments() 공개 메소드

Remove dot segments from a path
public remove_dot_segments ( string $input ) : string
$input string
리턴 string

replace_invalid_with_pct_encoding() 공개 메소드

Replace invalid character with percent encoding
public replace_invalid_with_pct_encoding ( string $string, string $valid_chars, integer $case = SIMPLEPIE_SAME_CASE ) : string
$string string Input string
$valid_chars string Valid characters
$case integer Normalise case
리턴 string

set_authority() 공개 메소드

Set the authority. Returns true on success, false on failure (if there are any invalid characters).
public set_authority ( string $authority ) : boolean
$authority string
리턴 boolean

set_fragment() 공개 메소드

Set the fragment.
public set_fragment ( string $fragment ) : boolean
$fragment string
리턴 boolean

set_host() 공개 메소드

Set the host. Returns true on success, false on failure (if there are any invalid characters).
public set_host ( string $host ) : boolean
$host string
리턴 boolean

set_path() 공개 메소드

Set the path.
public set_path ( string $path ) : boolean
$path string
리턴 boolean

set_port() 공개 메소드

Set the port. Returns true on success, false on failure (if there are any invalid characters).
public set_port ( string $port ) : boolean
$port string
리턴 boolean

set_query() 공개 메소드

Set the query.
public set_query ( string $query ) : boolean
$query string
리턴 boolean

set_scheme() 공개 메소드

Set the scheme. Returns true on success, false on failure (if there are any invalid characters).
public set_scheme ( string $scheme ) : boolean
$scheme string
리턴 boolean

set_userinfo() 공개 메소드

Set the userinfo.
public set_userinfo ( string $userinfo ) : boolean
$userinfo string
리턴 boolean

프로퍼티 상세

$fragment 공개적으로 프로퍼티

Fragment
public string $fragment
리턴 string

$host 공개적으로 프로퍼티

Host
public string $host
리턴 string

$path 공개적으로 프로퍼티

Path
public string $path
리턴 string

$port 공개적으로 프로퍼티

Port
public string $port
리턴 string

$query 공개적으로 프로퍼티

Query
public string $query
리턴 string

$scheme 공개적으로 프로퍼티

Scheme
public string $scheme
리턴 string

$userinfo 공개적으로 프로퍼티

User Information
public string $userinfo
리턴 string

$valid 공개적으로 프로퍼티

Whether the object represents a valid IRI
public array $valid
리턴 array