Code Duplication    Length = 9-9 lines in 5 locations

application/modules/core/models/Base/Route.php 1 location

@@ 1294-1302 (lines=9) @@
1291
     * @return \core\models\Route Clone of current object.
1292
     * @throws PropelException
1293
     */
1294
    public function copy($deepCopy = false)
1295
    {
1296
        // we use get_class(), because this might be a subclass
1297
        $clazz = get_class($this);
1298
        $copyObj = new $clazz();
1299
        $this->copyInto($copyObj, $deepCopy);
1300
1301
        return $copyObj;
1302
    }
1303
1304
1305
    /**

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

@@ 1575-1583 (lines=9) @@
1572
     * @return \xbanners\models\BannerImage Clone of current object.
1573
     * @throws PropelException
1574
     */
1575
    public function copy($deepCopy = false)
1576
    {
1577
        // we use get_class(), because this might be a subclass
1578
        $clazz = get_class($this);
1579
        $copyObj = new $clazz();
1580
        $this->copyInto($copyObj, $deepCopy);
1581
1582
        return $copyObj;
1583
    }
1584
1585
    /**
1586
     * Declares an association between this object and a ChildBanners object.

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

@@ 1278-1286 (lines=9) @@
1275
     * @return \xbanners\models\BannerImageI18n Clone of current object.
1276
     * @throws PropelException
1277
     */
1278
    public function copy($deepCopy = false)
1279
    {
1280
        // we use get_class(), because this might be a subclass
1281
        $clazz = get_class($this);
1282
        $copyObj = new $clazz();
1283
        $this->copyInto($copyObj, $deepCopy);
1284
1285
        return $copyObj;
1286
    }
1287
1288
    /**
1289
     * Declares an association between this object and a ChildBannerImage object.

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

@@ 1348-1356 (lines=9) @@
1345
     * @return \xbanners\models\Banners Clone of current object.
1346
     * @throws PropelException
1347
     */
1348
    public function copy($deepCopy = false)
1349
    {
1350
        // we use get_class(), because this might be a subclass
1351
        $clazz = get_class($this);
1352
        $copyObj = new $clazz();
1353
        $this->copyInto($copyObj, $deepCopy);
1354
1355
        return $copyObj;
1356
    }
1357
1358
1359
    /**

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

@@ 1098-1106 (lines=9) @@
1095
     * @return \xbanners\models\BannersI18n Clone of current object.
1096
     * @throws PropelException
1097
     */
1098
    public function copy($deepCopy = false)
1099
    {
1100
        // we use get_class(), because this might be a subclass
1101
        $clazz = get_class($this);
1102
        $copyObj = new $clazz();
1103
        $this->copyInto($copyObj, $deepCopy);
1104
1105
        return $copyObj;
1106
    }
1107
1108
    /**
1109
     * Declares an association between this object and a ChildBanners object.