foreach (explode("\n",
$urls) as $url) { list
($key,
$value) =
explode(',',
trim($url));
if (empty($key) ||
empty($value)) { continue;
} $static[$key] =
$value;
} } foreach ($static as $org_path =>
$name) { $path =
$this->
sCleanupPath($name);
$this->
sInsertUrl($org_path,
$path);
} } /**
* Create rewrite rules for categories
* Default, deprecated method which updates rewrite URLs depending on the current shop
*
* @param int|null $offset
* @param int|null $limit
*/
public function sCreateRewriteTableCategories($offset = null,
$limit = null
) {