Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/storage/PhabricatorRepository.php
Show First 20 Lines • Show All 197 Lines • ▼ Show 20 Lines | public function getMonogram() { | ||||
} | } | ||||
$id = $this->getID(); | $id = $this->getID(); | ||||
return "R{$id}"; | return "R{$id}"; | ||||
} | } | ||||
public function getDisplayName() { | public function getDisplayName() { | ||||
$slug = $this->getRepositorySlug(); | $slug = $this->getRepositorySlug(); | ||||
if (strlen($slug)) { | |||||
if (phutil_nonempty_string($slug)) { | |||||
return $slug; | return $slug; | ||||
} | } | ||||
return $this->getMonogram(); | return $this->getMonogram(); | ||||
} | } | ||||
public function getAllMonograms() { | public function getAllMonograms() { | ||||
$monograms = array(); | $monograms = array(); | ||||
▲ Show 20 Lines • Show All 2,668 Lines • Show Last 20 Lines |