Example #1
0
 /**
  * Like getIdString(), but if more than one repository is defined
  * on the wiki then it includes the repo name as a prefix to the revision ID
  * (separated with a period).
  * This ensures you get a unique reference, as the revision ID alone can be
  * confusing (e.g. in e-mails, page titles etc.).  If only one repository is
  * defined then this returns the same as getIdString() as there is no ambiguity.
  *
  * @param $id int
  * @return string
  */
 public function getIdStringUnique($id = null)
 {
     if ($id === null) {
         $id = $this->getId();
     }
     return $this->repo->getRevIdStringUnique($id);
 }