Page MenuHomePhabricator

abstract class ConduitParameterType
Phabricator Technical Documentation (Conduit)

Defines how to read a value from a Conduit request.

This class behaves like AphrontHTTPParameterType, but for Conduit.

Methods

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