コード例 #1
0
ファイル: Report.php プロジェクト: irovast/eyedock
 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;
 }
コード例 #2
0
ファイル: Report.php プロジェクト: subashemphasize/test_site
 public function addLine(Am_Report_Line $line)
 {
     $this->lines[$line->getKey()] = $line;
 }