Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/storage/PhabricatorRepository.php
Show First 20 Lines • Show All 211 Lines • ▼ Show 20 Lines | final class PhabricatorRepository extends PhabricatorRepositoryDAO | ||||
} | } | ||||
public function getAllMonograms() { | public function getAllMonograms() { | ||||
$monograms = array(); | $monograms = array(); | ||||
$monograms[] = 'R'.$this->getID(); | $monograms[] = 'R'.$this->getID(); | ||||
$callsign = $this->getCallsign(); | $callsign = $this->getCallsign(); | ||||
if (strlen($callsign)) { | if (phutil_nonempty_string($callsign)) { | ||||
$monograms[] = 'r'.$callsign; | $monograms[] = 'r'.$callsign; | ||||
} | } | ||||
return $monograms; | return $monograms; | ||||
} | } | ||||
public function setLocalPath($path) { | public function setLocalPath($path) { | ||||
// Convert any extra slashes ("//") in the path to a single slash ("/"). | // Convert any extra slashes ("//") in the path to a single slash ("/"). | ||||
▲ Show 20 Lines • Show All 2,657 Lines • Show Last 20 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0