Page MenuHomePhorge
Diviner Tech Docs PhabricatorFileUploadSource

abstract class PhabricatorFileUploadSource
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 setName($name)

This method is not documented.
Parameters
$name
Return
wild

public function getName()

This method is not documented.
Return
wild

public function setRelativeTTL($relative_ttl)

This method is not documented.
Parameters
$relative_ttl
Return
wild

public function getRelativeTTL()

This method is not documented.
Return
wild

public function setViewPolicy($view_policy)

This method is not documented.
Parameters
$view_policy
Return
wild

public function getViewPolicy()

This method is not documented.
Return
wild

public function setByteLimit($byte_limit)

This method is not documented.
Parameters
$byte_limit
Return
wild

public function getByteLimit()

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 setAuthorPHID($author_phid)

This method is not documented.
Parameters
$author_phid
Return
wild

public function getAuthorPHID()

This method is not documented.
Return
wild

public function uploadFile()

This method is not documented.
Return
wild

private function getDataIterator()

This method is not documented.
Return
wild

private function getRope()

This method is not documented.
Return
wild

abstract protected function newDataIterator()

This method is not documented.
Return
wild

abstract protected function getDataLength()

This method is not documented.
Return
wild

private function readFileData()

This method is not documented.
Return
wild

private function shouldChunkFile()

This method is not documented.
Return
wild

private function writeSingleFile()

This method is not documented.
Return
wild

private function writeChunkedFile()

This method is not documented.
Return
wild

private function writeChunk($file, $engine)

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

private function getNewFileParameters()

This method is not documented.
Return
wild

private function getChunkEngine()

This method is not documented.
Return
wild

private function setTotalBytesWritten($total_bytes_written)

This method is not documented.
Parameters
$total_bytes_written
Return
wild

private function getTotalBytesWritten()

This method is not documented.
Return
wild