Page MenuHomePhorge
Diviner Tech Docs PhabricatorFilesComposeAvatarBuiltinFile

final class PhabricatorFilesComposeAvatarBuiltinFile
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 getBuiltinFileKey()

This method is not documented.
Return
wild

public function getBuiltinDisplayName()

This method is not documented.
Return
wild

public function loadBuiltinFileData()

This method is not documented.
Return
wild

public function updateUser($user)

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

private function getMap($map_key)

This method is not documented.
Parameters
$map_key
Return
wild

private function pickMap($map_key, $username)

This method is not documented.
Parameters
$map_key
$username
Return
wild

public function setIcon($icon)

This method is not documented.
Parameters
$icon
Return
wild

public function getIcon()

This method is not documented.
Return
wild

public function setColor($color)

This method is not documented.
Parameters
$color
Return
wild

public function getColor()

This method is not documented.
Return
wild

public function setBorder($border)

This method is not documented.
Parameters
$border
Return
wild

public function getBorder()

This method is not documented.
Return
wild

private function getImageDisplayName($icon, $color, $border)

This method is not documented.
Parameters
$icon
$color
$border
Return
wild

private function composeImage($color, $image, $border)

This method is not documented.
Parameters
$color
$image
$border
Return
wild

private static function rgba2gd($rgba)

Convert a color from RGBA to a value usable in PHP-GD. Each RGB color should be expressed as an integer from 0 to 255. The Alpha Channel should be expressed as a float from 0 to 1.

Parameters
array$rgbaarray( int Red, int Green, int Blue, float Alpha )
Return
int

private function newImageMap()

This method is not documented.
Return
wild

private function newPackMap()

This method is not documented.
Return
wild

private function newBorderMap()

This method is not documented.
Return
wild

private function newColorMap()

This method is not documented.
Return
wild