示例#1
0
 protected function readParameters($params, $outputmode)
 {
     SMWResultPrinter::readParameters($params, $outputmode);
     // init breakdown instance
     $this->m_projectmanagementclass = new ProjectManagementClass();
     $this->m_projectmanagementclass->setInternals();
 }
示例#2
0
 protected function readParameters($params, $outputmode)
 {
     SMWResultPrinter::readParameters($params, $outputmode);
     if (array_key_exists('sep', $params)) {
         $this->mSep = str_replace('_', ' ', $params['sep']);
     }
     if (array_key_exists('template', $params)) {
         $this->mTemplate = trim($params['template']);
     }
 }
示例#3
0
 protected function readParameters($params, $outputmode)
 {
     parent::readParameters($params, $outputmode);
     if (array_key_exists('ploticusparams', $this->m_params)) {
         $this->m_ploticusparams = trim($params['ploticusparams']);
     }
     if (array_key_exists('imageformat', $this->m_params)) {
         $this->m_imageformat = strtolower(trim($params['imageformat']));
     }
     if (array_key_exists('titletext', $this->m_params)) {
         $this->m_titletext = trim($params['titletext']);
     }
     if (array_key_exists('showcsv', $this->m_params)) {
         $tmpcmp = strtolower(trim($params['showcsv']));
         $this->m_showcsv = $tmpcmp == 'false' || $tmpcmp == 'no' ? false : $tmpcmp;
     }
     if (array_key_exists('debug', $this->m_params)) {
         $tmpcmp = strtolower(trim($params['debug']));
         $this->m_debug = $tmpcmp == 'false' || $tmpcmp == 'no' ? false : $tmpcmp;
     }
     if (array_key_exists('liveupdating', $this->m_params)) {
         $tmpcmp = strtolower(trim($params['liveupdating']));
         $this->m_liveupdating = $tmpcmp == 'false' || $tmpcmp == 'no' ? false : $tmpcmp;
     }
     if (array_key_exists('updatefrequency', $this->m_params)) {
         $this->m_updatefrequency = trim($params['updatefrequency']);
     }
     if (array_key_exists('showtimestamp', $this->m_params)) {
         $tmpcmp = strtolower(trim($params['showtimestamp']));
         $this->m_showtimestamp = $tmpcmp == 'false' || $tmpcmp == 'no' ? false : $tmpcmp;
     }
     if (array_key_exists('showrefresh', $this->m_params)) {
         $tmpcmp = strtolower(trim($params['showrefresh']));
         $this->m_showrefresh = $tmpcmp == 'false' || $tmpcmp == 'no' ? false : $tmpcmp;
     }
     if (array_key_exists('showimagelink', $this->m_params)) {
         $tmpcmp = strtolower(trim($params['showimagelink']));
         $this->m_showimagelink = $tmpcmp == 'false' || $tmpcmp == 'no' ? false : $tmpcmp;
     }
     if (array_key_exists('drawdumpoutput', $this->m_params)) {
         $this->m_drawdumpoutput = trim($params['drawdumpoutput']);
     }
     if (array_key_exists('tblwidth', $this->m_params)) {
         $this->m_tblwidth = trim($params['tblwidth']);
     }
     if (array_key_exists('tblheight', $this->m_params)) {
         $this->m_tblheight = trim($params['tblheight']);
     }
     if (array_key_exists('width', $this->m_params)) {
         $this->m_width = trim($params['width']);
     }
     if (array_key_exists('height', $this->m_params)) {
         $this->m_height = trim($params['height']);
     }
 }
示例#4
0
 protected function readParameters($params, $outputmode)
 {
     SMWResultPrinter::readParameters($params, $outputmode);
     $this->m_projectmanagementclass = new ProjectManagementClass();
     //set display options for Gantt-chart
     if (array_key_exists('showdiscussion', $params)) {
         if (self::isTrue($params['showdiscussion'])) {
             $this->m_projectmanagementclass->setShowDiscussion(true);
         }
     }
     if (array_key_exists('showresponsible', $params)) {
         if (self::isTrue($params['showresponsible'])) {
             $this->m_projectmanagementclass->setShowResponsible(true);
         }
     }
     if (array_key_exists('showduration', $params)) {
         if (self::isTrue($params['showduration'])) {
             $this->m_projectmanagementclass->setShowDuration(true);
         }
     }
     if (array_key_exists('showcompleteness', $params)) {
         if (self::isTrue($params['showcompleteness'])) {
             $this->m_projectmanagementclass->setShowComplete(true);
         }
     }
     if (array_key_exists('showstartdate', $params)) {
         if (self::isTrue($params['showstartdate'])) {
             $this->m_projectmanagementclass->setShowStartdate(true);
         }
     }
     if (array_key_exists('showenddate', $params)) {
         if (self::isTrue($params['showenddate'])) {
             $this->m_projectmanagementclass->setShowEnddate(true);
         }
     }
     $this->m_projectmanagementclass->setInternals();
 }
示例#5
0
 protected function readParameters($params, $outputmode)
 {
     parent::readParameters($params, $outputmode);
     if (array_key_exists('width', $params)) {
         $this->paramWidth = $params['width'];
     }
 }