Code Duplication    Length = 10-10 lines in 3 locations

programs/exportvac.php 1 location

@@ 133-142 (lines=10) @@
130
    }
131
132
133
    public function getnextfield()
134
    {
135
        if (list($name,$arr) = each($this->dirfields))
136
        {
137
            $this->fieldname = bab_toHtml($name);
138
            $this->fieldlabel = bab_toHtml($arr['name']);
139
            return true;
140
        }
141
        return false;
142
    }
143
}
144
145

programs/utilit/exportbalance.php 1 location

@@ 108-117 (lines=10) @@
105
	}
106
107
108
	public function getnextfield()
109
	{
110
		if (list($name,$arr) = each($this->dirfields))
111
		{
112
			$this->fieldname = bab_toHtml($name);
113
			$this->fieldlabel = bab_toHtml($arr['name']);
114
			return true;
115
		}
116
		return false;
117
	}
118
119
	/**
120
	 * template method to list available organization

programs/utilit/right_export.class.php 1 location

@@ 302-311 (lines=10) @@
299
    }
300
    
301
    
302
    public function getnextfield()
303
    {
304
        if (list($name,$arr) = each($this->dirfields))
305
        {
306
            $this->fieldname = bab_toHtml($name);
307
            $this->fieldlabel = bab_toHtml($arr['name']);
308
            return true;
309
        }
310
        return false;
311
    }
312
    
313
    
314
    public function getnextorganization()