Ejemplo n.º 1
0
 function CreateAxes($flags = 0)
 {
     if ($this->axes) {
         return $this->axes;
     }
     $axes_table = $this->opts->Get("axes_table");
     if ($axes_table) {
         $this->axes = new DBAxes($this->req, $this->db, $axes_table, $flags | ($this->private_axes ? GRAPHAxes::PRIVATE_AXES : 0));
         return $this->axes;
     } else {
         return parent::CreateAxes($flags);
     }
 }
Ejemplo n.º 2
0
 function CreateAxes($flags = 0)
 {
     if ($this->axes) {
         return $this->axes;
     }
     $axes_table = $this->req->GetGroupOptions()->options['axes_table'];
     if ($axes_table) {
         $this->axes = new MUNINAxes($this->req, $axes_table);
         //try to change this to GRAPHAxes and then something...
         return $this->axes;
     } else {
         return parent::CreateAxes($flags);
     }
 }