function __construct($name, $template, $owner)
 {
     parent::__construct();
     $this->name = $name;
     $this->owner = $owner;
     $this->template = $template;
     $this->inherit_fieldlist = array('my_default' => null, 'width' => 7, 'commentfont' => 1, 'bwfont' => 2, 'template' => ':: DEFAULT ::', 'splitpos' => 50, 'labeloffset_out' => 25, 'labeloffset_in' => 75, 'commentoffset_out' => 5, 'commentoffset_in' => 95, 'commentstyle' => 'edge', 'arrowstyle' => 'classic', 'viastyle' => 'curved', 'usescale' => 'DEFAULT', 'scaletype' => 'percent', 'targets' => array(), 'duplex' => 'full', 'infourl' => array('', ''), 'notes' => array(), 'hints' => array(), 'comments' => array('', ''), 'bwlabelformats' => array(FMT_PERC_IN, FMT_PERC_OUT), 'overliburl' => array(array(), array()), 'notestext' => array(IN => '', OUT => ''), 'labelstyle' => 'percent', 'labelboxstyle' => 'classic', 'linkstyle' => 'twoway', 'overlibwidth' => 0, 'overlibheight' => 0, 'outlinecolour' => new WMColour(0, 0, 0), 'bwoutlinecolour' => new WMColour(0, 0, 0), 'bwfontcolour' => new WMColour(0, 0, 0), 'bwboxcolour' => new WMColour(255, 255, 255), 'commentfontcolour' => new WMColour(192, 192, 192), 'inpercent' => 0, 'outpercent' => 0, 'inscalekey' => '', 'outscalekey' => '', 'a_offset' => 'C', 'b_offset' => 'C', 'a_offset_dx' => 0, 'a_offset_dy' => 0, 'b_offset_dx' => 0, 'b_offset_dy' => 0, 'a_offset_resolved' => false, 'b_offset_resolved' => false, 'zorder' => 300, 'overlibcaption' => array('', ''), 'max_bandwidth_in' => 100000000, 'max_bandwidth_out' => 100000000, 'bandwidth_in' => 0, 'bandwidth_out' => 0, 'max_bandwidth_in_cfg' => '100M', 'max_bandwidth_out_cfg' => '100M');
     $this->reset($owner);
 }
 function __construct($name, $template, $owner)
 {
     parent::__construct();
     $this->name = $name;
     $this->owner = $owner;
     $this->template = $template;
     $this->inherit_fieldlist = array('boundingboxes' => array(), 'named_offsets' => array(), 'my_default' => null, 'label' => '', 'proclabel' => '', 'usescale' => 'DEFAULT', 'scaletype' => 'percent', 'iconscaletype' => 'percent', 'useiconscale' => 'none', 'scalevar' => 'in', 'template' => ':: DEFAULT ::', 'iconscalevar' => 'in', 'labelfont' => 3, 'relative_to' => '', 'relative_name' => '', 'relative_resolved' => false, 'x' => null, 'y' => null, 'inscalekey' => '', 'outscalekey' => '', 'original_x' => 0, 'original_y' => 0, 'inpercent' => 0, 'outpercent' => 0, 'labelangle' => 0, 'iconfile' => '', 'iconscalew' => 0, 'iconscaleh' => 0, 'targets' => array(), 'infourl' => array(IN => '', OUT => ''), 'notestext' => array(IN => '', OUT => ''), 'notes' => array(), 'hints' => array(), 'overliburl' => array(IN => array(), OUT => array()), 'overlibwidth' => 0, 'overlibheight' => 0, 'overlibcaption' => array(IN => '', OUT => ''), 'labeloutlinecolour' => new WMColour(0, 0, 0), 'labelbgcolour' => new WMColour(255, 255, 255), 'labelfontcolour' => new WMColour(0, 0, 0), 'labelfontshadowcolour' => new WMColour('none'), 'aiconoutlinecolour' => new WMColour(0, 0, 0), 'aiconfillcolour' => new WMColour('copy'), 'labeloffset' => '', 'labeloffsetx' => 0, 'labeloffsety' => 0, 'zorder' => 600, 'max_bandwidth_in' => 100, 'max_bandwidth_out' => 100, 'max_bandwidth_in_cfg' => '100', 'max_bandwidth_out_cfg' => '100');
     $this->width = 0;
     $this->height = 0;
     $this->centre_x = 0;
     $this->centre_y = 0;
     $this->polar = false;
     $this->pos_named = false;
     $this->image = null;
     $this->reset($owner);
 }