Code Duplication    Length = 8-8 lines in 4 locations

application/modules/xbanners/models/Base/BannerImage.php 1 location

@@ 327-334 (lines=8) @@
324
     *
325
     * @throws PropelException
326
     */
327
    public function getVirtualColumn($name)
328
    {
329
        if (!$this->hasVirtualColumn($name)) {
330
            throw new PropelException(sprintf('Cannot get value of inexistent virtual column %s.', $name));
331
        }
332
333
        return $this->virtualColumns[$name];
334
    }
335
336
    /**
337
     * Set the value of a virtual column in this object

application/modules/xbanners/models/Base/BannerImageI18n.php 1 location

@@ 282-289 (lines=8) @@
279
     *
280
     * @throws PropelException
281
     */
282
    public function getVirtualColumn($name)
283
    {
284
        if (!$this->hasVirtualColumn($name)) {
285
            throw new PropelException(sprintf('Cannot get value of inexistent virtual column %s.', $name));
286
        }
287
288
        return $this->virtualColumns[$name];
289
    }
290
291
    /**
292
     * Set the value of a virtual column in this object

application/modules/xbanners/models/Base/Banners.php 1 location

@@ 307-314 (lines=8) @@
304
     *
305
     * @throws PropelException
306
     */
307
    public function getVirtualColumn($name)
308
    {
309
        if (!$this->hasVirtualColumn($name)) {
310
            throw new PropelException(sprintf('Cannot get value of inexistent virtual column %s.', $name));
311
        }
312
313
        return $this->virtualColumns[$name];
314
    }
315
316
    /**
317
     * Set the value of a virtual column in this object

application/modules/xbanners/models/Base/BannersI18n.php 1 location

@@ 261-268 (lines=8) @@
258
     *
259
     * @throws PropelException
260
     */
261
    public function getVirtualColumn($name)
262
    {
263
        if (!$this->hasVirtualColumn($name)) {
264
            throw new PropelException(sprintf('Cannot get value of inexistent virtual column %s.', $name));
265
        }
266
267
        return $this->virtualColumns[$name];
268
    }
269
270
    /**
271
     * Set the value of a virtual column in this object