Example #1
0
 /**
  * test for value of show_graph field
  *
  * @param $name of graph
  * @param $classname of graph
  **/
 static function showGraphConfigValue($name, $classname)
 {
     $crit = false;
     $self = new self();
     if ($self->getFromDBByFunctionAndClassname($name, $classname)) {
         $crit = $self->fields['show_graph'];
     }
     if (DEBUG_MREPORTING == true) {
         $crit = true;
     }
     return $crit;
 }