public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
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 | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
public function addSprite($sprite)
public function addSprite($sprite)
Parameters
PhutilSprite | $sprite |
Return
wild |
public function setCSSHeader($header)
public function setCSSHeader($header)
Parameters
$header |
Return
wild |
public function setScales($scales)
public function setScales($scales)
Parameters
array | $scales |
Return
wild |
public function getScales()
public function getScales()
Return
wild |
public function setSheetType($type)
public function setSheetType($type)
Parameters
$type |
Return
wild |
public function setBasePath($base_path)
public function setBasePath($base_path)
Parameters
$base_path |
Return
wild |
private function generate()
private function generate()
Return
wild |
public function generateImage($path, $scale)
public function generateImage($path, $scale)
Parameters
$path | ||
$scale |
Return
wild |
public function generateCSS($path)
public function generateCSS($path)
Parameters
$path |
Return
wild |
public function needsRegeneration($manifest)
public function needsRegeneration($manifest)
Parameters
array | $manifest |
Return
wild |
private function buildManifest()
private function buildManifest()
Return
wild |
public function generateManifest($path)
public function generateManifest($path)
Parameters
$path |
Return
wild |
private function log($message)
private function log($message)
Parameters
$message |
Return
wild |
private function loadSourceHash($sprite)
private function loadSourceHash($sprite)
Parameters
PhutilSprite | $sprite |
Return
wild |
private function loadSource($sprite, $scale)
private function loadSource($sprite, $scale)
Parameters
PhutilSprite | $sprite | |
$scale |
Return
wild |