function __construct($nameid, $title, $nametype, $options = array())
 {
     parent::__construct($nameid, $title, $options);
     $this->nametype = $nametype;
     if (isset($options['with_comment'])) {
         $this->with_comment = $options['with_comment'];
     }
 }
 function __construct($name, $title, $options = array())
 {
     if (!isset($options['extrafine'])) {
         $options['extrafine'] = "class='center'";
     }
     if (!isset($options['extrabold'])) {
         $options['extrabold'] = "class='b center'";
     }
     parent::__construct($name, $title, $options);
 }
Ejemplo n.º 3
0
 function __construct($name, $title, $itemtype, $options = array())
 {
     parent::__construct($name, $title, $options);
     $this->obj = getItemForItemtype($itemtype);
     if (isset($options['with_comment'])) {
         $this->with_comment = $options['with_comment'];
     }
     if (isset($options['with_navigate'])) {
         $this->with_navigate = $options['with_navigate'];
         Session::initNavigateListItems($this->obj->getType(), _n('Report', 'Reports', 2));
     }
 }
 function __construct($name, $title, $options = array())
 {
     if (!isset($options['extrafine'])) {
         $options['extrafine'] = "class='right'";
     }
     if (!isset($options['extrabold'])) {
         $options['extrabold'] = "class='b right'";
     }
     if (isset($options['with_zero'])) {
         $this->with_zero = $options['with_zero'];
     }
     parent::__construct($name, $title, $options);
     $this->total = 0;
 }
 function __construct($name, $title, $options = array())
 {
     if (!isset($options['extrafine'])) {
         $options['extrafine'] = "class='right'";
     }
     if (!isset($options['extrabold'])) {
         $options['extrabold'] = "class='b right'";
     }
     if (!isset($options['export_timestamp'])) {
         $options['export_timestamp'] = false;
     }
     // Export with timestamp
     $this->export_timestamp = isset($options['export_timestamp']) ? $options['export_timestamp'] : false;
     // Always display sec ?
     $this->withsec = isset($options['withsec']) ? $options['withsec'] : false;
     parent::__construct($name, $title, $options);
     $this->total = 0;
 }
 function __construct($name, $title, $map = array(), $options = array())
 {
     parent::__construct($name, $title, $options);
     if (count($map)) {
         $this->map = $map;
     } else {
         switch ($name) {
             case 'status':
                 $this->map = Ticket::getAllStatusArray();
                 break;
             case 'impact':
                 $this->map = getImpactLabelsArray();
                 break;
             case 'urgency':
                 $this->map = getUrgencyLabelsArray();
                 break;
             case 'priority':
                 $this->map = getPriorityLabelsArray();
                 break;
             default:
                 $this->map = array();
         }
     }
 }
 function __construct($name, $itemtype, $options = array())
 {
     parent::__construct($name, ' ', $options);
     $this->obj = getItemForItemtype($itemtype);
 }
Ejemplo n.º 8
0
 function __construct($name, $title, $options = array())
 {
     parent::__construct($name, $title, $options);
 }