Example #1
0
 public function addLine(Am_Report_Line $line, Am_Report_Shift $shift = null)
 {
     if ($shift) {
         $line->setlabel(sprintf('%s (%s)', $line->getLabel(), $shift->getTitle()));
         $line->setKey($line->getKey() . $shift->getId());
     }
     $this->lines[$line->getKey()] = $line;
 }
Example #2
0
 public function addLine(Am_Report_Line $line)
 {
     $this->lines[$line->getKey()] = $line;
 }