public function getFriendlyName() { $manifest = $this->getManifest(); if ($manifest) { return $manifest->getName(); } return $this->getID(); }