/adei/ui

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/ui

« back to all changes in this revision

Viewing changes to classes/axis.php

  • Committer: Aram Yeghikyan
  • Date: 2008-10-24 16:09:04 UTC
  • Revision ID: eghikyan@gmail.com-20081024160904-x6h9i29d0iuiqo03
Added virtual group concept, made refactoring of the code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
class ADEI_AXIS {
 
4
 var $id;
 
5
 var $name;
 
6
 var $logarithmic_mode;
 
7
 var $unit;
 
8
 
 
9
 function __construct(array $props) {
 
10
    $this->id = isset($props["axis_id"])?$props["axis_id"]: "0" ;
 
11
    $this->name = $props["axis_name"]?$props["axis_name"]: "unnamed";
 
12
    $this->unit = $props["axis_unit"]?$props["axis_unit"]: "unnamed";
 
13
    $this->logarithmic = $props["axis_logarithmic_mode"]? $props["axis_logarithmic_mode"]: false;
 
14
 }
 
15
}
 
16
 
 
17
//class ADEI_UI_AXIS extends ADEI_AXIS {
 
18
//}
 
19
 
 
20
 
 
21
?>
 
 
b'\\ No newline at end of file'