Code Duplication    Length = 8-8 lines in 2 locations

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

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

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

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