Page MenuHomePhorge
Diviner Tech Docs ConduitParameterType

abstract class ConduitParameterType
Phorge Technical Documentation (Conduit)

Defines how to read a value from a Conduit request.

This class behaves like AphrontHTTPParameterType, but for Conduit.

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

This method is not documented.
Parameters
$name
$value
Return
wild

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

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$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

final public function setViewer($viewer)

This method is not documented.
Parameters
PhabricatorUser$viewer
Return
wild

final public function getViewer()

This method is not documented.
Return
wild

final public function getExists($request, $key)

This method is not documented.
Parameters
array$request
$key
Return
wild

final public function getValue($request, $key, $strict)

This method is not documented.
Parameters
array$request
$key
$strict
Return
wild

final public function getKeys($key)

This method is not documented.
Parameters
$key
Return
wild

final public function getDefaultValue()

This method is not documented.
Return
wild

final public function getTypeName()

This method is not documented.
Return
wild

final public function getFormatDescriptions()

This method is not documented.
Return
wild

final public function getExamples()

This method is not documented.
Return
wild

protected function raiseValidationException($request, $key, $message)

This method is not documented.
Parameters
array$request
$key
$message
Return
wild

final public static function getAllTypes()

This method is not documented.
Return
wild

protected function getParameterExists($request, $key)

This method is not documented.
Parameters
array$request
$key
Return
wild

protected function getParameterValue($request, $key, $strict)

This method is not documented.
Parameters
array$request
$key
$strict
Return
wild

protected function getParameterKeys($key)

This method is not documented.
Parameters
$key
Return
wild

protected function parseStringValue($request, $key, $value, $strict)

This method is not documented.
Parameters
array$request
$key
$value
$strict
Return
wild

protected function parseIntValue($request, $key, $value, $strict)

This method is not documented.
Parameters
array$request
$key
$value
$strict
Return
wild

protected function parseBoolValue($request, $key, $value, $strict)

This method is not documented.
Parameters
array$request
$key
$value
$strict
Return
wild

abstract protected function getParameterTypeName()

This method is not documented.
Return
wild

abstract protected function getParameterFormatDescriptions()

This method is not documented.
Return
wild

abstract protected function getParameterExamples()

This method is not documented.
Return
wild

protected function getParameterDefault()

This method is not documented.
Return
wild