public function setViewer($viewer)
public function setViewer($viewer)
Parameters
PhabricatorUser | $viewer |
Return
wild |
public function getViewer()
public function getViewer()
Return
wild |
public function setTemplate($template)
public function setTemplate($template)
Parameters
$template |
Return
wild |
public function getTemplate()
public function getTemplate()
Return
wild |
public function setAboveText($above_text)
public function setAboveText($above_text)
Parameters
$above_text |
Return
wild |
public function getAboveText()
public function getAboveText()
Return
wild |
public function setBelowText($below_text)
public function setBelowText($below_text)
Parameters
$below_text |
Return
wild |
public function getBelowText()
public function getBelowText()
Return
wild |
public function getGenerateURI()
public function getGenerateURI()
Return
wild |
public function newAsset()
public function newAsset()
Return
wild |
private function newTransformHash()
private function newTransformHash()
Return
wild |
public function loadCachedFile()
public function loadCachedFile()
Return
wild |
private function loadTemplateFile()
private function loadTemplateFile()
Return
wild |
private function newAssetFile($template)
private function newAssetFile($template)
Parameters
PhabricatorFile | $template |
Return
wild |
private function newAssetData($template)
private function newAssetData($template)
Parameters
PhabricatorFile | $template |
Return
wild |
private function newImagemagickAsset($template, $template_data)
private function newImagemagickAsset($template, $template_data)
Parameters
PhabricatorFile | $template | |
$template_data |
Return
wild |
private function newGDAsset($template, $data)
private function newGDAsset($template, $data)
Parameters
PhabricatorFile | $template | |
$data |
Return
wild |
private function getFont()
private function getFont()
Return
wild |
private function getMetrics($dim_x, $dim_y)
private function getMetrics($dim_x, $dim_y)
Parameters
$dim_x | ||
$dim_y |
Return
wild |
private function drawText($img, $font, $size, $x, $y, $text)
private function drawText($img, $font, $size, $x, $y, $text)
Parameters
$img | ||
$font | ||
$size | ||
$x | ||
$y | ||
$text |
Return
wild |