public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
public function getPhobjectClassConstant($key, $byte_limit)
Inherited
Phobject
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
Parameters
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
public function __construct($uri)
public function __construct($uri)
Parameters
string|PhutilURI | $uri | $uri |
Return
this | //Implicit.// |
public function isSelf()
public function isSelf()
Check if the URI points to Phorge itself.
Return
bool |
public function isAnchor()
public function isAnchor()
Check whenever an URI is just a simple fragment without path and protocol.
Return
bool |
public function isStartingWithSlash()
public function isStartingWithSlash()
Check whenever an URI starts with a slash (no protocol, etc.)
Return
bool |
public function __toString()
public function __toString()
A sane default.
Return
wild |
private function isStartingWithChar($char)
private function isStartingWithChar($char)
Check whenever the URI starts with the provided character.
Parameters
string | $char | String that MUST have length of 1. |
Return
bool |