Example #1
0
 /**
  * Like getId(), but returns the result as a string, including prefix,
  * i.e. "r123" instead of 123.
  * @param $id
  * @return String
  */
 public function getIdString($id = null)
 {
     if ($id === null) {
         $id = $this->getId();
     }
     return $this->repo->getRevIdString($id);
 }