Code Duplication    Length = 9-9 lines in 4 locations

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

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

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

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

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

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

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

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