Page MenuHomePhorge
Diviner Tech Docs PhabricatorDocumentRef

final class PhabricatorDocumentRef
Phorge Technical Documentation (Files)

This class is not documented.

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.

public function setFile($file)

This method is not documented.
Parameters
PhabricatorFile$file
Return
wild

public function getFile()

This method is not documented.
Return
wild

public function setMimeType($mime_type)

This method is not documented.
Parameters
$mime_type
Return
wild

public function getMimeType()

This method is not documented.
Return
wild

public function setName($name)

This method is not documented.
Parameters
$name
Return
wild

public function getName()

This method is not documented.
Return
wild

public function setByteLength($length)

This method is not documented.
Parameters
$length
Return
wild

public function getByteLength()

This method is not documented.
Return
wild

public function setData($data)

This method is not documented.
Parameters
$data
Return
wild

public function loadData($begin, $end)

This method is not documented.
Parameters
$begin
$end
Return
wild

public function hasAnyMimeType($candidate_types)

This method is not documented.
Parameters
array$candidate_types
Return
wild

private function normalizeMimeType($mime_type)

This method is not documented.
Parameters
$mime_type
Return
wild

public function isProbablyText()

This method is not documented.
Return
wild

public function isProbablyJSON()

This method is not documented.
Return
wild

public function getSnippet()

This method is not documented.
Return
wild

public function setSymbolMetadata($metadata)

This method is not documented.
Parameters
array$metadata
Return
wild

public function getSymbolMetadata()

This method is not documented.
Return
wild

public function setBlameURI($blame_uri)

This method is not documented.
Parameters
$blame_uri
Return
wild

public function getBlameURI()

This method is not documented.
Return
wild

public function addCoverage($coverage)

This method is not documented.
Parameters
$coverage
Return
wild

public function getCoverage()

This method is not documented.
Return
wild