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 |
public static function compress_parse_url($scheme = '', $authority = '', $path = '', $query = '', $fragment = '') { $iri = new SimplePie_IRI(''); $iri->set_scheme($scheme); $iri->set_authority($authority); $iri->set_path($path); $iri->set_query($query); $iri->set_fragment($fragment); return $iri->get_iri(); }