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 static function getCommandArgs($command)
public static function getCommandArgs($command)
Parameters
$command |
Return
wild |
public static function isReadOnlyCommand($command)
public static function isReadOnlyCommand($command)
Parameters
$command |
Return
wild |
public static function isReadOnlyBatchCommand($cmds)
public static function isReadOnlyBatchCommand($cmds)
Parameters
$cmds |
Return
wild |
public static function filterBundle2Capability($capabilities)
public static function filterBundle2Capability($capabilities)
If the server version is running 3.4+ it will respond with 'bundle2' capability in the format of "bundle2=(url-encoding)". Until we manage to properly package up bundles to send back we disallow the client from knowing we speak bundle2 by removing it from the capabilities listing.
The format of the capabilities string is: "a space separated list of strings representing what commands the server supports"
Parameters
string | $capabilities | - The string of capabilities to strip the bundle2 capability from. This is expected to be the space-separated list of strings resulting from the querying the 'capabilities' command. |
Return
string | The resulting space-separated list of capabilities which no longer contains the 'bundle2' capability. This is meant to replace the original $body to send back to client. |