Code Duplication    Length = 10-10 lines in 3 locations

programs/utilit/dynamic_right.class.php 1 location

@@ 136-145 (lines=10) @@
133
	/**
134
	 * @return absences_Entry
135
	 */
136
	public function getEntry()
137
	{
138
		if (!isset($this->entry))
139
		{
140
			$row = $this->getRow();
141
			$this->entry = absences_Entry::getById($row['id_entry']);
142
		}
143
	
144
		return $this->entry;
145
	}
146
	
147
	
148
	

programs/utilit/entry_elem.class.php 1 location

@@ 133-142 (lines=10) @@
130
	/**
131
	 * @return absences_Entry
132
	 */
133
	public function getEntry()
134
	{
135
		if (!isset($this->entry))
136
		{
137
			$row = $this->getRow();
138
			$this->entry = absences_Entry::getById($row['id_entry']);
139
		}
140
	
141
		return $this->entry;
142
	}
143
	
144
	
145
	/**

programs/utilit/entry_period.class.php 1 location

@@ 103-112 (lines=10) @@
100
	/**
101
	 * @return absences_Entry
102
	 */
103
	public function getEntry()
104
	{
105
		if (!isset($this->entry))
106
		{
107
			$row = $this->getRow();
108
			$this->entry = absences_Entry::getById($row['id_entry']);
109
		}
110
	
111
		return $this->entry;
112
	}
113
	
114
	
115
	/**