php8
[web.mtrack] / MTrack / SCMAnnotation.php
1 <?php
2 class MTrackSCMAnnotation {
3   
4   public $repo;
5   /** Revision of changeset identifier for when line was changed */
6   
7   
8   public $rev;
9
10   /** who made the change */
11   public $changeby;
12
13   /** the content from that line of the file.
14    * This is null unless $include_line_content was set to true when annotate()
15    * was called */
16   public $line;
17   
18   public $lineno;
19   
20     function  revToHtml($link) {
21       return $link->changeset($this->rev, $this->repo);
22       
23     }
24     function changebyToHtml($link) {
25         return $link->username($this->changeby,
26             array('no_image' => true)); 
27     }
28    
29   
30 }