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

@@ 314-323 (lines=10) @@
311
    }
312
    
313
    
314
    public function getnextfield()
315
    {
316
        if (list($name,$arr) = each($this->dirfields))
317
        {
318
            $this->fieldname = bab_toHtml($name);
319
            $this->fieldlabel = bab_toHtml($arr['name']);
320
            return true;
321
        }
322
        return false;
323
    }
324
    
325
    
326
    public function getnextorganization()