Code Duplication    Length = 10-10 lines in 7 locations

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

@@ 1394-1403 (lines=10) @@
1391
     *
1392
     * @return $this|\xbanners\models\BannerImage The current object, for fluid interface
1393
     */
1394
    public function importFrom($parser, $data, $keyType = TableMap::TYPE_PHPNAME)
1395
    {
1396
        if (!$parser instanceof AbstractParser) {
1397
            $parser = AbstractParser::getParser($parser);
1398
        }
1399
1400
        $this->fromArray($parser->toArray($data), $keyType);
1401
1402
        return $this;
1403
    }
1404
1405
    /**
1406
     * Build a Criteria object containing the values of all modified columns in this object.

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

@@ 1112-1121 (lines=10) @@
1109
     *
1110
     * @return $this|\xbanners\models\BannerImageI18n The current object, for fluid interface
1111
     */
1112
    public function importFrom($parser, $data, $keyType = TableMap::TYPE_PHPNAME)
1113
    {
1114
        if (!$parser instanceof AbstractParser) {
1115
            $parser = AbstractParser::getParser($parser);
1116
        }
1117
1118
        $this->fromArray($parser->toArray($data), $keyType);
1119
1120
        return $this;
1121
    }
1122
1123
    /**
1124
     * Build a Criteria object containing the values of all modified columns in this object.

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

@@ 1177-1186 (lines=10) @@
1174
     *
1175
     * @return $this|\xbanners\models\Banners The current object, for fluid interface
1176
     */
1177
    public function importFrom($parser, $data, $keyType = TableMap::TYPE_PHPNAME)
1178
    {
1179
        if (!$parser instanceof AbstractParser) {
1180
            $parser = AbstractParser::getParser($parser);
1181
        }
1182
1183
        $this->fromArray($parser->toArray($data), $keyType);
1184
1185
        return $this;
1186
    }
1187
1188
    /**
1189
     * Build a Criteria object containing the values of all modified columns in this object.

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

@@ 944-953 (lines=10) @@
941
     *
942
     * @return $this|\xbanners\models\BannersI18n The current object, for fluid interface
943
     */
944
    public function importFrom($parser, $data, $keyType = TableMap::TYPE_PHPNAME)
945
    {
946
        if (!$parser instanceof AbstractParser) {
947
            $parser = AbstractParser::getParser($parser);
948
        }
949
950
        $this->fromArray($parser->toArray($data), $keyType);
951
952
        return $this;
953
    }
954
955
    /**
956
     * Build a Criteria object containing the values of all modified columns in this object.

application/modules/mod_link/models/Base/PageLink.php 1 location

@@ 1150-1159 (lines=10) @@
1147
     *
1148
     * @return $this|\mod_link\models\PageLink The current object, for fluid interface
1149
     */
1150
    public function importFrom($parser, $data, $keyType = TableMap::TYPE_PHPNAME)
1151
    {
1152
        if (!$parser instanceof AbstractParser) {
1153
            $parser = AbstractParser::getParser($parser);
1154
        }
1155
1156
        $this->fromArray($parser->toArray($data), $keyType);
1157
1158
        return $this;
1159
    }
1160
1161
    /**
1162
     * Build a Criteria object containing the values of all modified columns in this object.

application/modules/mod_link/models/Base/PageLinkProduct.php 1 location

@@ 870-879 (lines=10) @@
867
     *
868
     * @return $this|\mod_link\models\PageLinkProduct The current object, for fluid interface
869
     */
870
    public function importFrom($parser, $data, $keyType = TableMap::TYPE_PHPNAME)
871
    {
872
        if (!$parser instanceof AbstractParser) {
873
            $parser = AbstractParser::getParser($parser);
874
        }
875
876
        $this->fromArray($parser->toArray($data), $keyType);
877
878
        return $this;
879
    }
880
881
    /**
882
     * Build a Criteria object containing the values of all modified columns in this object.

application/modules/mod_link/models/Base/PageLinkProducts.php 1 location

@@ 870-879 (lines=10) @@
867
     *
868
     * @return $this|\mod_link\models\PageLinkProducts The current object, for fluid interface
869
     */
870
    public function importFrom($parser, $data, $keyType = TableMap::TYPE_PHPNAME)
871
    {
872
        if (!$parser instanceof AbstractParser) {
873
            $parser = AbstractParser::getParser($parser);
874
        }
875
876
        $this->fromArray($parser->toArray($data), $keyType);
877
878
        return $this;
879
    }
880
881
    /**
882
     * Build a Criteria object containing the values of all modified columns in this object.