Code Duplication    Length = 8-8 lines in 2 locations

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

@@ 1207-1214 (lines=8) @@
1204
     * The array elements will be in same order as specified in XML.
1205
     * @return array
1206
     */
1207
    public function getPrimaryKey()
1208
    {
1209
        $pks = array();
1210
        $pks[0] = $this->getId();
1211
        $pks[1] = $this->getLocale();
1212
1213
        return $pks;
1214
    }
1215
1216
    /**
1217
     * Set the [composite] primary key.

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

@@ 1030-1037 (lines=8) @@
1027
     * The array elements will be in same order as specified in XML.
1028
     * @return array
1029
     */
1030
    public function getPrimaryKey()
1031
    {
1032
        $pks = array();
1033
        $pks[0] = $this->getId();
1034
        $pks[1] = $this->getLocale();
1035
1036
        return $pks;
1037
    }
1038
1039
    /**
1040
     * Set the [composite] primary key.