63                 $this->days = $a_days;
 
   83                 $this->hours = $a_hours;
 
  103                 $this->minutes = $a_minutes;
 
  123                 $this->seconds = $a_seconds;
 
  135                 $this->months = $a_months;
 
  167                 $this->showmonths = $a_show_months;
 
  187                 $this->showdays = $a_showdays;
 
  207                 $this->showhours = $a_showhours;
 
  227                 $this->showminutes = $a_showminutes;
 
  247                 $this->showseconds = $a_showseconds;
 
  306                 $a_tpl->setCurrentBlock(
"prop_generic");
 
  307                 $a_tpl->setVariable(
"PROP_GENERIC", $html);
 
  308                 $a_tpl->parseCurrentBlock();
 
  319                 $tpl = 
new ilTemplate(
"tpl.prop_duration.html", 
true, 
true, 
"Services/Form");
 
  323                         $tpl->setCurrentBlock(
"dur_months");
 
  324                         $tpl->setVariable(
"TXT_MONTHS", $lng->txt(
"form_months"));
 
  326                         for ($i=0; $i<=36; $i++)
 
  330                         $tpl->setVariable(
"SELECT_MONTHS",
 
  333                         $tpl->parseCurrentBlock();
 
  337                         $tpl->setCurrentBlock(
"dur_days");
 
  338                         $tpl->setVariable(
"TXT_DAYS", $lng->txt(
"form_days"));
 
  340                         for ($i=0; $i<=366; $i++)
 
  344                         $tpl->setVariable(
"SELECT_DAYS",
 
  347                         $tpl->parseCurrentBlock();
 
  351                         $tpl->setCurrentBlock(
"dur_hours");
 
  352                         $tpl->setVariable(
"TXT_HOURS", $lng->txt(
"form_hours"));
 
  354                         for ($i=0; $i<=23; $i++)
 
  358                         $tpl->setVariable(
"SELECT_HOURS",
 
  361                         $tpl->parseCurrentBlock();
 
  365                         $tpl->setCurrentBlock(
"dur_minutes");
 
  366                         $tpl->setVariable(
"TXT_MINUTES", $lng->txt(
"form_minutes"));
 
  368                         for ($i=0; $i<=59; $i++)
 
  372                         $tpl->setVariable(
"SELECT_MINUTES",
 
  375                         $tpl->parseCurrentBlock();
 
  379                         $tpl->setCurrentBlock(
"dur_seconds");
 
  380                         $tpl->setVariable(
"TXT_SECONDS", $lng->txt(
"form_seconds"));
 
  382                         for ($i=0; $i<=59; $i++)
 
  386                         $tpl->setVariable(
"SELECT_SECONDS",
 
  389                         $tpl->parseCurrentBlock();
 
  415                 return serialize(
$data);
 
  423                 $data = unserialize($a_data);
 
  442                         $value += $this->
getMonths()*30*24*60*60;
 
  446                         $value += $this->
getDays()*24*60*60;