Code Duplication    Length = 8-8 lines in 4 locations

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

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

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

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

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

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

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

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