repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
DATA-DOG/DataDogAuditBundle
https://github.com/DATA-DOG/DataDogAuditBundle/blob/c85c0cf8596181376a9f00e44da9950572067743/src/EventListener/AuditListener.php
src/EventListener/AuditListener.php
<?php namespace DataDog\AuditBundle\EventListener; use DataDog\AuditBundle\DBAL\Middleware\AuditFlushMiddleware; use DataDog\AuditBundle\Entity\Association; use DataDog\AuditBundle\Entity\AuditLog; use Doctrine\DBAL\Types\Type; use Doctrine\DBAL\Types\Types; use Doctrine\ORM\EntityManager; use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\Event\OnFlushEventArgs; use Doctrine\ORM\Mapping\ClassMetadata; use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Role\SwitchUserRole; use Symfony\Component\Security\Core\User\UserInterface; class AuditListener { /** * @var callable|null */ protected $labeler; protected array $auditedEntities = []; protected array $unauditedEntities = []; protected array $entities = []; protected bool $blameImpersonator = false; protected array $inserted = []; // [$source, $changeset] protected array $updated = []; // [$source, $changeset] protected array $removed = []; // [$source, $id] protected array $associated = []; // [$source, $target, $mapping] protected array $dissociated = []; // [$source, $target, $id, $mapping] protected $assocInsertStmt; protected $auditInsertStmt; protected ?UserInterface $blameUser = null; protected array $middlewares; public function __construct( private readonly TokenStorageInterface $securityTokenStorage, private readonly EntityManagerInterface $entityManager ) { } public function setLabeler(?callable $labeler = null): self { $this->labeler = $labeler; return $this; } public function getLabeler(): ?callable { return $this->labeler; } public function addAuditedEntities(array $auditedEntities): void { // use entity names as array keys for easier lookup foreach ($auditedEntities as $auditedEntity) { $this->auditedEntities[$auditedEntity] = true; } } public function addUnauditedEntities(array $unauditedEntities): void { // use entity names as array keys for easier lookup foreach ($unauditedEntities as $unauditedEntity) { $this->unauditedEntities[$unauditedEntity] = true; } } public function addEntities(array $entities): void { $this->entities = $entities; $auditedEntities = []; $unauditedEntities = []; foreach ($entities as $fqcn => $data) { if ( $data['mode'] === 'include' || ($data['mode'] === 'exclude' && !empty($data['fields'])) ) { $auditedEntities[] = $fqcn; } elseif ($data['mode'] === 'exclude' && empty($data['fields'])) { $unauditedEntities[] = $fqcn; } } $this->addAuditedEntities($auditedEntities); $this->addUnauditedEntities($unauditedEntities); } public function setBlameImpersonator(bool $blameImpersonator): void { // blame impersonator user instead of logged user (where applicable) $this->blameImpersonator = $blameImpersonator; } public function getUnauditedEntities(): array { return array_keys($this->unauditedEntities); } protected function isEntityUnaudited(object $entity): bool { if (!empty($this->auditedEntities)) { // only selected entities are audited $isEntityUnaudited = true; foreach (array_keys($this->auditedEntities) as $auditedEntity) { if ($entity instanceof $auditedEntity) { $isEntityUnaudited = false; break; } } } else { $isEntityUnaudited = false; foreach (array_keys($this->unauditedEntities) as $unauditedEntity) { if ($entity instanceof $unauditedEntity) { $isEntityUnaudited = true; break; } } } return $isEntityUnaudited; } public function onFlush(OnFlushEventArgs $args): void { $em = $this->entityManager; $uow = $em->getUnitOfWork(); $middlewares = $this->entityManager->getConnection()->getConfiguration()->getMiddlewares(); foreach ($middlewares as $middleware) { if ($middleware::class === AuditFlushMiddleware::class) { $middleware->flushHandler = [$this, 'flush']; } } foreach ($uow->getScheduledEntityUpdates() as $entity) { if ($this->isEntityUnaudited($entity)) { continue; } $this->updated[] = [$entity, $uow->getEntityChangeSet($entity)]; } foreach ($uow->getScheduledEntityInsertions() as $entity) { if ($this->isEntityUnaudited($entity)) { continue; } $this->inserted[] = [$entity, $ch = $uow->getEntityChangeSet($entity)]; } foreach ($uow->getScheduledEntityDeletions() as $entity) { if ($this->isEntityUnaudited($entity)) { continue; } $uow->initializeObject($entity); $this->removed[] = [$entity, $this->id($em, $entity)]; } foreach ($uow->getScheduledCollectionUpdates() as $collection) { if ($this->isEntityUnaudited($collection->getOwner())) { continue; } $mapping = $collection->getMapping(); if (!$mapping['isOwningSide'] || $mapping['type'] !== ClassMetadata::MANY_TO_MANY) { continue; // ignore inverse side or one to many relations } // For backward compatibility: // If $mapping is not already an array, convert it to an array. if (!is_array($mapping)) { $mapping = $mapping->toArray(); } foreach ($collection->getInsertDiff() as $entity) { if ($this->isEntityUnaudited($entity)) { continue; } $this->associated[] = [$collection->getOwner(), $entity, $mapping]; } foreach ($collection->getDeleteDiff() as $entity) { if ($this->isEntityUnaudited($entity)) { continue; } $this->dissociated[] = [$collection->getOwner(), $entity, $this->id($em, $entity), $mapping]; } } foreach ($uow->getScheduledCollectionDeletions() as $collection) { if ($this->isEntityUnaudited($collection->getOwner())) { continue; } $mapping = $collection->getMapping(); if (!is_array($mapping)) { $mapping = $mapping->toArray(); } if (!$mapping['isOwningSide'] || $mapping['type'] !== ClassMetadata::MANY_TO_MANY) { continue; // ignore inverse side or one to many relations } foreach ($collection->toArray() as $entity) { if ($this->isEntityUnaudited($entity)) { continue; } $this->dissociated[] = [$collection->getOwner(), $entity, $this->id($em, $entity), $mapping]; } } } public function flush(): void { $uow = $this->entityManager->getUnitOfWork(); $auditPersister = $uow->getEntityPersister(AuditLog::class); $rmAuditInsertSQL = new \ReflectionMethod($auditPersister, 'getInsertSQL'); $rmAuditInsertSQL->setAccessible(true); $this->auditInsertStmt = $this->entityManager->getConnection()->prepare($rmAuditInsertSQL->invoke($auditPersister)); $assocPersister = $uow->getEntityPersister(Association::class); $rmAssocInsertSQL = new \ReflectionMethod($assocPersister, 'getInsertSQL'); $rmAssocInsertSQL->setAccessible(true); $this->assocInsertStmt = $this->entityManager->getConnection()->prepare($rmAssocInsertSQL->invoke($assocPersister)); foreach ($this->updated as $entry) { list($entity, $ch) = $entry; // the changeset might be updated from UOW extra updates $ch = array_merge($ch, $uow->getEntityChangeSet($entity)); $this->update($this->entityManager, $entity, $ch); } foreach ($this->inserted as $entry) { list($entity, $ch) = $entry; // the changeset might be updated from UOW extra updates $ch = array_merge($ch, $uow->getEntityChangeSet($entity)); $this->insert($this->entityManager, $entity, $ch); } foreach ($this->associated as $entry) { list($source, $target, $mapping) = $entry; $this->associate($this->entityManager, $source, $target, $mapping); } foreach ($this->dissociated as $entry) { list($source, $target, $id, $mapping) = $entry; $this->dissociate($this->entityManager, $source, $target, $id, $mapping); } foreach ($this->removed as $entry) { list($entity, $id) = $entry; $this->remove($this->entityManager, $entity, $id); } $this->inserted = []; $this->updated = []; $this->removed = []; $this->associated = []; $this->dissociated = []; } protected function associate(EntityManager $em, ?object $source, ?object $target, array $mapping): void { $this->audit($em, [ 'source' => $this->assoc($em, $source), 'target' => $this->assoc($em, $target), 'action' => 'associate', 'blame' => $this->blame($em), 'diff' => null, 'tbl' => $mapping['joinTable']['name'], ]); } protected function dissociate(EntityManager $em, ?object $source, ?object $target, string|int $id, array $mapping): void { $this->audit($em, [ 'source' => $this->assoc($em, $source), 'target' => array_merge($this->assoc($em, $target), ['fk' => $id]), 'action' => 'dissociate', 'blame' => $this->blame($em), 'diff' => null, 'tbl' => $mapping['joinTable']['name'], ]); } protected function insert(EntityManager $em, object $entity, array $ch): void { $diff = $this->diff($em, $entity, $ch); if (empty($diff)) { return; // if there is no entity diff, do not log it } $meta = $em->getClassMetadata(get_class($entity)); $this->audit($em, [ 'action' => 'insert', 'source' => $this->assoc($em, $entity), 'target' => null, 'blame' => $this->blame($em), 'diff' => $diff, 'tbl' => $meta->table['name'], ]); } protected function update(EntityManager $em, object $entity, array $ch): void { $diff = $this->diff($em, $entity, $ch); if (empty($diff)) { return; // if there is no entity diff, do not log it } $meta = $em->getClassMetadata(get_class($entity)); $this->audit($em, [ 'action' => 'update', 'source' => $this->assoc($em, $entity), 'target' => null, 'blame' => $this->blame($em), 'diff' => $diff, 'tbl' => $meta->table['name'], ]); } protected function remove(EntityManager $em, object $entity, string|int $id): void { $meta = $em->getClassMetadata(get_class($entity)); $source = array_merge($this->assoc($em, $entity), ['fk' => $id]); $this->audit($em, [ 'action' => 'remove', 'source' => $source, 'target' => null, 'blame' => $this->blame($em), 'diff' => null, 'tbl' => $meta->table['name'], ]); } protected function audit(EntityManager $em, array $data): void { $c = $em->getConnection(); $p = $c->getDatabasePlatform(); $q = $em->getConfiguration()->getQuoteStrategy(); foreach (['source', 'target', 'blame'] as $field) { if (null === $data[$field]) { continue; } $meta = $em->getClassMetadata(Association::class); $idx = 1; foreach ($meta->reflFields as $name => $f) { if ($meta->isIdentifier($name)) { continue; } $typ = $meta->fieldMappings[$name]['type']; $this->assocInsertStmt->bindValue($idx++, $data[$field][$name], $typ); } $this->assocInsertStmt->executeQuery(); // use id generator, it will always use identity strategy, since our // audit association explicitly sets that. $data[$field] = $meta->idGenerator->generateId($em, null); } $meta = $em->getClassMetadata(AuditLog::class); $data['loggedAt'] = new \DateTime(); $idx = 1; foreach ($meta->reflFields as $name => $f) { if ($meta->isIdentifier($name)) { continue; } if (isset($meta->fieldMappings[$name]['type'])) { $typ = $meta->fieldMappings[$name]['type']; } else { $typ = Type::getType(Types::BIGINT); // relation } // @TODO: this check may not be necessary, simply it ensures that empty values are nulled if (in_array($name, ['source', 'target', 'blame']) && $data[$name] === false) { $data[$name] = null; } $this->auditInsertStmt->bindValue($idx++, $data[$name], $typ); } $this->auditInsertStmt->executeQuery(); } protected function id(EntityManager $em, object $entity) { $meta = $em->getClassMetadata(get_class($entity)); $pk = $meta->getSingleIdentifierFieldName(); $pk = $this->value( $em, Type::getType($meta->fieldMappings[$pk]['type']), $meta->getReflectionProperty($pk)->getValue($entity) ); return $pk; } protected function isDiff(object $entity, string $fieldName): bool { if (array_key_exists($entity::class, $this->entities)) { // New logic $entityConfig = $this->entities[$entity::class]; return ( ( $entityConfig['mode'] === 'include' && ( !empty($entityConfig['fields']) && in_array($fieldName, $entityConfig['fields']) || empty($entityConfig['fields']) ) ) || ( $entityConfig['mode'] === 'exclude' && !empty($entityConfig['fields']) && !in_array($fieldName, $entityConfig['fields']) ) ); } else { // Old logic return true; } } protected function diff(EntityManager $em, object $entity, array $ch): array { $uow = $em->getUnitOfWork(); $meta = $em->getClassMetadata(get_class($entity)); $diff = []; foreach ($ch as $fieldName => list($old, $new)) { if ($meta->hasField($fieldName) && !array_key_exists($fieldName, $meta->embeddedClasses)) { if ($this->isDiff($entity, $fieldName)) { $mapping = $meta->fieldMappings[$fieldName]; $diff[$fieldName] = [ 'old' => $this->value($em, Type::getType($mapping['type']), $old), 'new' => $this->value($em, Type::getType($mapping['type']), $new), 'col' => $mapping['columnName'], ]; } } elseif ($meta->hasAssociation($fieldName) && $meta->isSingleValuedAssociation($fieldName)) { if ($this->isDiff($entity, $fieldName)) { $mapping = $meta->associationMappings[$fieldName]; $colName = $meta->getSingleAssociationJoinColumnName($fieldName); $assocMeta = $em->getClassMetadata($mapping['targetEntity']); $diff[$fieldName] = [ 'old' => $this->assoc($em, $old), 'new' => $this->assoc($em, $new), 'col' => $colName, ]; } } } return $diff; } protected function assoc(EntityManager $em, ?object $association = null): ?array { if (null === $association) { return null; } $meta = $em->getClassMetadata(get_class($association))->getName(); $res = ['class' => $meta, 'typ' => $this->typ($meta), 'tbl' => null, 'label' => null]; try { $meta = $em->getClassMetadata($meta); $res['tbl'] = $meta->table['name']; $em->getUnitOfWork()->initializeObject($association); // ensure that proxies are initialized $res['fk'] = (string)$this->id($em, $association); $res['label'] = $this->label($em, $association); } catch (\Exception $e) { $res['fk'] = (string)$association->getId(); } return $res; } protected function typ($className): string { // strip prefixes and repeating garbage from name $className = preg_replace("/^(.+\\\)?(.+)(Bundle\\\Entity)/", "$2", $className); // underscore and lowercase each subdirectory return implode('.', array_map(function ($name) { return strtolower(preg_replace('/(?<=\\w)(?=[A-Z])/', '_$1', $name)); }, explode('\\', $className))); } protected function label(EntityManager $em, object $entity) { if (is_callable($this->labeler)) { return call_user_func($this->labeler, $entity); } $meta = $em->getClassMetadata(get_class($entity)); switch (true) { case $meta->hasField('title'): return $meta->getReflectionProperty('title')->getValue($entity); case $meta->hasField('name'): return $meta->getReflectionProperty('name')->getValue($entity); case $meta->hasField('label'): return $meta->getReflectionProperty('label')->getValue($entity); case $meta->getReflectionClass()->hasMethod('__toString'): return (string)$entity; default: return "Unlabeled"; } } protected function value(EntityManager $em, Type $type, $value) { // json_encode will error when trying to encode a resource if (is_resource($value)) { // https://stackoverflow.com/questions/26303513/getting-blob-type-doctrine-entity-property-returns-data-only-once/26306571 if (0 !== ftell($value)) { rewind($value); } $value = stream_get_contents($value); } $platform = $em->getConnection()->getDatabasePlatform(); switch ($type->getBindingType()) { case Types::BOOLEAN: return $type->convertToPHPValue($value, $platform); // json supports boolean values default: return $type->convertToDatabaseValue($value, $platform); } } protected function blame(EntityManager $em): ?array { if ($this->blameUser instanceof UserInterface && \method_exists($this->blameUser, 'getId')) { return $this->assoc($em, $this->blameUser); } $token = $this->securityTokenStorage->getToken(); $impersonatorUser = $this->getImpersonatorUserFromSecurityToken($token); if ($impersonatorUser instanceof UserInterface) { return $this->assoc($em, $impersonatorUser); } if ($token && $token->getUser() instanceof UserInterface && \method_exists($token->getUser(), 'getId')) { return $this->assoc($em, $token->getUser()); } return null; } private function getImpersonatorUserFromSecurityToken(?TokenInterface $token) { if (false === $this->blameImpersonator) { return null; } if (!$token instanceof TokenInterface) { return null; } foreach ($this->getRoles($token) as $role) { if ($role instanceof SwitchUserRole) { return $role->getSource()->getUser(); } } return null; } private function getRoles(TokenInterface $token): array { if (method_exists($token, 'getRoleNames')) { return $token->getRoleNames(); } return $token->getRoles(); } public function setBlameUser(UserInterface $user): void { $this->blameUser = $user; } }
php
MIT
c85c0cf8596181376a9f00e44da9950572067743
2026-01-05T04:58:02.995658Z
false
DATA-DOG/DataDogAuditBundle
https://github.com/DATA-DOG/DataDogAuditBundle/blob/c85c0cf8596181376a9f00e44da9950572067743/src/Command/AuditLogDeleteOldLogsCommand.php
src/Command/AuditLogDeleteOldLogsCommand.php
<?php declare(strict_types=1); namespace DataDog\AuditBundle\Command; use Doctrine\DBAL\Connection; use Doctrine\DBAL\ParameterType; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class AuditLogDeleteOldLogsCommand extends Command { public const DEFAULT_RETENTION_PERIOD = 'P3M'; public function __construct( protected Connection $connection ) { parent::__construct(); } #[\Override] protected function configure(): void { $this->setName('audit-logs:delete-old-logs') ->setDescription('Remove old records from the audit logs') ->addOption('retention-period', null, InputOption::VALUE_OPTIONAL, 'The retention interval, format: https://www.php.net/manual/en/dateinterval.construct.php', self::DEFAULT_RETENTION_PERIOD) ; } #[\Override] protected function execute(InputInterface $input, OutputInterface $output): int { $date = (new \DateTime())->sub(new \DateInterval($input->getOption('retention-period'))); $formattedDate = $date->format('Y-m-d H:i:s'); $output->writeln(sprintf('<info>Delete all records before %s</info>', $formattedDate)); $result = $this->connection->executeQuery( 'SELECT * FROM audit_logs WHERE logged_at < ? ORDER BY logged_at DESC LIMIT 1', [$formattedDate] ) ->fetchAssociative(); if ($result === false) { $output->writeln(sprintf('<info>No records to delete</info>')); return 0; } $auditLogStartRecordId = $result['id']; $auditAssociativeStartRecordId = max($result['source_id'], $result['target_id'], $result['blame_id']); $count = $this->deleteFromAuditLogs($auditLogStartRecordId); $output->writeln(sprintf('<info> %s records from audit_logs deleted!</info>', $count)); $count = $this->deleteFromAuditAssociations($auditAssociativeStartRecordId); $output->writeln(sprintf('<info> %s records from audit_associations deleted!</info>', $count)); return 0; } private function deleteFromAuditLogs(int $startRecordId): int { $allRecords = 0; $this->connection->executeQuery('SET FOREIGN_KEY_CHECKS=0'); $sql = 'DELETE LOW_PRIORITY FROM audit_logs WHERE id <= ? ORDER BY id LIMIT 10000'; $stmt = $this->connection->prepare($sql); $stmt->bindValue(1, $startRecordId, ParameterType::INTEGER); do { $startTime = microtime(true); $deletedRows = $stmt->executeStatement(); $allRecords += $deletedRows; echo round((microtime(true) - $startTime), 3) . "s "; sleep(1); } while ($deletedRows > 0); $this->connection->executeQuery('SET FOREIGN_KEY_CHECKS=1'); return $allRecords; } private function deleteFromAuditAssociations(int $startRecordId): int { $allRecords = 0; $this->connection->executeQuery('SET FOREIGN_KEY_CHECKS=0'); $sql = 'DELETE LOW_PRIORITY FROM audit_associations WHERE id <= ? ORDER BY id LIMIT 10000'; $stmt = $this->connection->prepare($sql); $stmt->bindValue(1, $startRecordId, ParameterType::INTEGER); do { $startTime = microtime(true); $deletedRows = $stmt->executeStatement(); $allRecords += $deletedRows; echo round((microtime(true) - $startTime), 3) . "s "; sleep(1); } while ($deletedRows > 0); $this->connection->executeQuery('SET FOREIGN_KEY_CHECKS=1'); return $allRecords; } }
php
MIT
c85c0cf8596181376a9f00e44da9950572067743
2026-01-05T04:58:02.995658Z
false
DATA-DOG/DataDogAuditBundle
https://github.com/DATA-DOG/DataDogAuditBundle/blob/c85c0cf8596181376a9f00e44da9950572067743/tests/TestKernel.php
tests/TestKernel.php
<?php declare(strict_types=1); namespace DataDog\AuditBundle\Tests; use DataDog\AuditBundle\DataDogAuditBundle; use Doctrine\Bundle\DoctrineBundle\DoctrineBundle; use Psr\Log\NullLogger; use Symfony\Bundle\FrameworkBundle\FrameworkBundle; use Symfony\Bundle\SecurityBundle\SecurityBundle; use Symfony\Component\Config\Loader\LoaderInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Kernel; class TestKernel extends Kernel { private ?string $projectDir = null; public function __construct(private readonly array $dataDogAuditConfig = []) { parent::__construct('test', true); } public function registerBundles(): iterable { return [ new FrameworkBundle(), new SecurityBundle(), new DoctrineBundle(), new DataDogAuditBundle(), ]; } public function registerContainerConfiguration(LoaderInterface $loader): void { $loader->load(function (ContainerBuilder $container): void { $container->loadFromExtension('framework'); $container->loadFromExtension('security', [ 'firewalls' => [ 'main' => [ 'security' => false, ], ], ]); $container->loadFromExtension('doctrine', [ 'dbal' => ['driver' => 'pdo_sqlite'], 'orm' => [ 'auto_generate_proxy_classes' => true, 'mappings' => [ 'DataDogAuditBundleFixtures' => [ 'dir' => __DIR__.'/Entity', 'prefix' => 'DataDog\AuditBundle\Tests\Entity', ], ], ], ]); $container->loadFromExtension('data_dog_audit', $this->dataDogAuditConfig); $container->register('logger', NullLogger::class); }); } public function getProjectDir(): string { if ($this->projectDir === null) { $this->projectDir = sys_get_temp_dir().'/sf_kernel_'.md5((string)mt_rand()); } return $this->projectDir; } }
php
MIT
c85c0cf8596181376a9f00e44da9950572067743
2026-01-05T04:58:02.995658Z
false
DATA-DOG/DataDogAuditBundle
https://github.com/DATA-DOG/DataDogAuditBundle/blob/c85c0cf8596181376a9f00e44da9950572067743/tests/OrmTestCase.php
tests/OrmTestCase.php
<?php declare(strict_types=1); namespace DataDog\AuditBundle\Tests; use DataDog\AuditBundle\Tests\Entity\Tag; use Doctrine\Bundle\DoctrineBundle\Registry; use Doctrine\ORM\Tools\SchemaTool; use PHPUnit\Framework\TestCase; use Symfony\Component\HttpKernel\KernelInterface; abstract class OrmTestCase extends TestCase { protected KernelInterface $kernel; protected function bootKernel(array $dataDogAuditConfig): void { $this->kernel = new TestKernel($dataDogAuditConfig); $this->kernel->boot(); } protected function getKernel(): KernelInterface { return $this->kernel; } protected function getDoctrine(): Registry { return $this->getKernel()->getContainer()->get('doctrine'); } protected function resetDatabase(): void { $em = $this->getDoctrine()->getManager(); $em->clear(); $metadata = $em->getMetadataFactory()->getAllMetadata(); $schemaTool = new SchemaTool($em); $schemaTool->dropSchema($metadata); $schemaTool->createSchema($metadata); } protected function loadFixtures(): void { $this->resetDatabase(); $this->persistFixtureData(); $this->getDoctrine()->getManager()->flush(); } protected function persistFixtureData(): void { $em = $this->getDoctrine()->getManager(); $tag1 = new Tag(); $tag1->setName('Books'); $em->persist($tag1); } }
php
MIT
c85c0cf8596181376a9f00e44da9950572067743
2026-01-05T04:58:02.995658Z
false
DATA-DOG/DataDogAuditBundle
https://github.com/DATA-DOG/DataDogAuditBundle/blob/c85c0cf8596181376a9f00e44da9950572067743/tests/Entity/Account.php
tests/Entity/Account.php
<?php declare(strict_types=1); namespace DataDog\AuditBundle\Tests\Entity; use Doctrine\DBAL\Types\Types; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity() * @ORM\Table() */ #[ORM\Entity] #[ORM\Table] class Account { /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column(type: Types::INTEGER)] private int $id; /** * @ORM\Column(type="string", length=255) */ #[ORM\Column(type: Types::STRING, length: 255)] private string $username; /** * @ORM\Column(type="string", length=255) */ #[ORM\Column(type: Types::STRING, length: 255)] private string $password; public function getId(): int { return $this->id; } public function setId(int $id): void { $this->id = $id; } public function getUsername(): string { return $this->username; } public function setUsername(string $username): void { $this->username = $username; } public function getPassword(): string { return $this->password; } public function setPassword(string $password): void { $this->password = $password; } }
php
MIT
c85c0cf8596181376a9f00e44da9950572067743
2026-01-05T04:58:02.995658Z
false
DATA-DOG/DataDogAuditBundle
https://github.com/DATA-DOG/DataDogAuditBundle/blob/c85c0cf8596181376a9f00e44da9950572067743/tests/Entity/Tag.php
tests/Entity/Tag.php
<?php declare(strict_types=1); namespace DataDog\AuditBundle\Tests\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\DBAL\Types\Types; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity() * @ORM\Table() */ #[ORM\Entity] #[ORM\Table] class Tag { /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column(type: Types::INTEGER)] private int $id; /** * @ORM\Column(type="string", length=255) */ #[ORM\Column(type: Types::STRING, length: 255)] private string $name; /** * @ORM\ManyToMany(targetEntity=Post::class, mappedBy="tags") */ #[ORM\ManyToMany(targetEntity: Post::class, mappedBy: 'tags')] private Collection $posts; public function __construct() { $this->posts = new ArrayCollection(); } public function getId(): int { return $this->id; } public function getName(): string { return $this->name; } public function setName(string $name): self { $this->name = $name; return $this; } /** * @return Post[] */ public function getPosts(): Collection { return $this->posts; } public function addPost(Post $post): self { if (!$this->posts->contains($post)) { $this->posts[] = $post; $post->addTag($this); } return $this; } public function removePost(Post $post): self { if ($this->posts->contains($post)) { $this->posts->removeElement($post); $post->removeTag($this); } return $this; } }
php
MIT
c85c0cf8596181376a9f00e44da9950572067743
2026-01-05T04:58:02.995658Z
false
DATA-DOG/DataDogAuditBundle
https://github.com/DATA-DOG/DataDogAuditBundle/blob/c85c0cf8596181376a9f00e44da9950572067743/tests/Entity/Post.php
tests/Entity/Post.php
<?php declare(strict_types=1); namespace DataDog\AuditBundle\Tests\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\DBAL\Types\Types; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity() * @ORM\Table() */ #[ORM\Entity] #[ORM\Table] class Post { /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column(type: Types::INTEGER)] private int $id; /** * @ORM\Column(type="string", length=255) */ #[ORM\Column(type: Types::STRING, length: 255)] private string $title; /** * @ORM\ManyToMany(targetEntity=Tag::class, inversedBy="posts") */ #[ORM\ManyToMany(targetEntity: Tag::class, inversedBy: 'posts')] private Collection $tags; public function __construct() { $this->tags = new ArrayCollection(); } public function getId(): int { return $this->id; } public function getTitle(): string { return $this->title; } public function setTitle(string $title): self { $this->title = $title; return $this; } /** * @return Tag[] */ public function getTags(): Collection { return $this->tags; } public function addTag(Tag $tag): self { if (!$this->tags->contains($tag)) { $this->tags[] = $tag; } return $this; } public function removeTag(Tag $tag): self { if ($this->tags->contains($tag)) { $this->tags->removeElement($tag); } return $this; } }
php
MIT
c85c0cf8596181376a9f00e44da9950572067743
2026-01-05T04:58:02.995658Z
false
DATA-DOG/DataDogAuditBundle
https://github.com/DATA-DOG/DataDogAuditBundle/blob/c85c0cf8596181376a9f00e44da9950572067743/tests/EventListener/AuditListenerTest.php
tests/EventListener/AuditListenerTest.php
<?php declare(strict_types=1); namespace DataDog\AuditBundle\Tests\EventListener; use DataDog\AuditBundle\Entity\AuditLog; use DataDog\AuditBundle\Tests\Entity\Post; use DataDog\AuditBundle\Tests\Entity\Tag; use DataDog\AuditBundle\Tests\OrmTestCase; use DataDog\AuditBundle\Tests\TestKernel; final class AuditListenerTest extends OrmTestCase { public function testSingleEntityCreation(): void { $this->includeKernelBoot(); $this->resetDatabase(); $em = $this->getDoctrine()->getManager(); $tag = new Tag(); $tag->setName('Books'); $em->persist($tag); $em->flush(); $this->assertCount(1, $em->createQuery('SELECT l FROM '.AuditLog::class.' l')->getResult()); } public function testSingleEntityUpdate(): void { $this->includeKernelBoot(); $this->resetDatabase(); $em = $this->getDoctrine()->getManager(); $tag = new Tag(); $tag->setName('Books'); $em->persist($tag); $em->flush(); $tag->setName('Movies'); $em->flush(); $this->assertCount(2, $em->createQuery('SELECT l FROM '.AuditLog::class.' l')->getResult()); } public function testSingleEntityDelete(): void { $this->includeKernelBoot(); $this->resetDatabase(); $em = $this->getDoctrine()->getManager(); $tag = new Tag(); $tag->setName('Books'); $em->persist($tag); $em->flush(); $em->remove($tag); $em->flush(); $this->assertCount(2, $em->createQuery('SELECT l FROM '.AuditLog::class.' l')->getResult()); } public function testEntityRelationCreate(): void { $this->includeKernelBoot(); $this->resetDatabase(); $em = $this->getDoctrine()->getManager(); $tag = new Tag(); $tag->setName('Books'); $post = new Post(); $post->setTitle('Top 10 Books You Should Read'); $post->addTag($tag); $em->persist($tag); $em->persist($post); $em->flush(); $this->assertCount(3, $em->createQuery('SELECT l FROM '.AuditLog::class.' l')->getResult()); } public function testEntityRelationUpdate(): void { $this->includeKernelBoot(); $this->resetDatabase(); $em = $this->getDoctrine()->getManager(); $tag1 = new Tag(); $tag1->setName('Books'); $tag2 = new Tag(); $tag2->setName('Lists'); $post = new Post(); $post->setTitle('Top 10 Books You Should Read'); $post->addTag($tag1); $em->persist($tag1); $em->persist($tag2); $em->persist($post); $em->flush(); $post->removeTag($tag1); $post->addTag($tag2); $em->flush(); $this->assertCount(6, $em->createQuery('SELECT l FROM '.AuditLog::class.' l')->getResult()); } public function testExcludeField(): void { $this->excludeKernelBoot(); $this->resetDatabase(); $em = $this->getDoctrine()->getManager(); $tag = new Tag(); $tag->setName('Books'); $em->persist($tag); $em->flush(); $tag->setName('Movies'); $em->flush(); $this->assertCount(2, $em->createQuery('SELECT l FROM '.AuditLog::class.' l')->getResult()); } private function includeKernelBoot(): void { $this->bootKernel([ 'audited_entities' => [ Tag::class, Post::class, ], ]); $this->loadFixtures(); } private function excludeKernelBoot(): void { $this->bootKernel([ 'unaudited_entities' => [ Tag::class, ], ]); $this->loadFixtures(); } }
php
MIT
c85c0cf8596181376a9f00e44da9950572067743
2026-01-05T04:58:02.995658Z
false
DATA-DOG/DataDogAuditBundle
https://github.com/DATA-DOG/DataDogAuditBundle/blob/c85c0cf8596181376a9f00e44da9950572067743/tests/EventListener/AuditListenerExtendsVersionTest.php
tests/EventListener/AuditListenerExtendsVersionTest.php
<?php declare(strict_types=1); namespace DataDog\AuditBundle\Tests\EventListener; use DataDog\AuditBundle\Entity\AuditLog; use DataDog\AuditBundle\Tests\Entity\Account; use DataDog\AuditBundle\Tests\OrmTestCase; use DataDog\AuditBundle\Tests\TestKernel; final class AuditListenerExtendsVersionTest extends OrmTestCase { protected function setUp(): void { } /** * @dataProvider dataProvider */ public function testExtendsVersion( array $dataDogAuditConfig, callable $callable, array $expectedFields ): void { $this->bootKernel([ 'entities' => [ Account::class => $dataDogAuditConfig, ], ]); $this->loadFixtures(); $em = $this->getDoctrine()->getManager(); $account = new Account(); $callable($account); $em->persist($account); $em->flush(); $auditLogs = $em->createQuery('SELECT l FROM '.AuditLog::class.' l')->getResult(); $this->assertCount(1, $auditLogs); foreach ($expectedFields as $field) { $this->assertArrayHasKey($field, $auditLogs[0]->getDiff()); } } public static function dataProvider(): array { return [ 'exclude-password-field' => [ [ 'mode' => 'exclude', 'fields' => [ 'password', ], ], function (Account $account): void { $account->setUsername('username'); $account->setPassword('password'); }, [ 'username', ], ], 'exclude-all' => [ [ 'mode' => 'exclude', 'fields' => null, ], function (Account $account): void { $account->setUsername('username'); $account->setPassword('password'); }, [], ], 'include-password-field' => [ [ 'mode' => 'include', 'fields' => [ 'password', ], ], function (Account $account): void { $account->setUsername('username'); $account->setPassword('password'); }, [ 'password', ], ], 'include-all' => [ [ 'mode' => 'include', 'fields' => null, ], function (Account $account): void { $account->setUsername('username'); $account->setPassword('password'); }, [ 'username', 'password', ], ] ]; } }
php
MIT
c85c0cf8596181376a9f00e44da9950572067743
2026-01-05T04:58:02.995658Z
false
DATA-DOG/DataDogAuditBundle
https://github.com/DATA-DOG/DataDogAuditBundle/blob/c85c0cf8596181376a9f00e44da9950572067743/config/services.php
config/services.php
<?php namespace Symfony\Component\DependencyInjection\Loader\Configurator; use DataDog\AuditBundle\Command\AuditLogDeleteOldLogsCommand; use DataDog\AuditBundle\DBAL\Middleware\AuditFlushMiddleware; use DataDog\AuditBundle\EventListener\AuditListener; use Doctrine\DBAL\Connection; use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\Events; use Symfony\Component\DependencyInjection\Reference; use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; return static function (ContainerConfigurator $container) { // @formatter:off $services = $container->services(); $services ->set('data_dog_audit.listener.audit', AuditListener::class)->private() ->arg(0, new Reference(TokenStorageInterface::class)) ->arg(1, new Reference(EntityManagerInterface::class)) ->tag('doctrine.event_listener', ['event' => Events::onFlush,]) ; $services ->set('data_dog_audit.flusher_middleware', AuditFlushMiddleware::class) ->tag('doctrine.middleware') ; $services->set('data_dog_audit.command.delete_old_logs', AuditLogDeleteOldLogsCommand::class) ->arg(0, new Reference(Connection::class)) ->tag('console.command') ; // @formatter:on };
php
MIT
c85c0cf8596181376a9f00e44da9950572067743
2026-01-05T04:58:02.995658Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Model/Resource/Indexer/Attribute.php
app/code/community/Catalin/SEO/Model/Resource/Indexer/Attribute.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Model_Resource_Indexer_Attribute extends Mage_Index_Model_Resource_Abstract { /** * @var array */ protected $storesIds; /** * @var Catalin_SEO_Helper_Data */ protected $helper; /** * Initialize resource model * */ protected function _construct() { $this->_init('catalin_seo/attribute_url_key', 'id'); } /** * Reindex all * * @return Catalin_SEO_Model_Resource_Indexer_Attribute */ public function reindexAll() { $this->reindexSeoUrlKeys(); return $this; } /** * Generate SEO values for catalog product attributes options * * @param int|null $attributeId - transmit this to limit processing to one specific attribute * @return Catalin_SEO_Model_Resource_Indexer_Attribute */ public function reindexSeoUrlKeys($attributeId = null) { $attributes = $this->getAttributes($attributeId); foreach ($attributes as $attribute) { if ($attribute->usesSource()) { $this->reindexAttribute($attribute); } } return $this; } /** * Retrieve filterable product attributes with frontend input type 'select' and 'multiselect' * * @param int|null $attributeId * @return Mage_Eav_Model_Resource_Entity_Attribute_Collection */ protected function getAttributes($attributeId = null) { $collection = Mage::getSingleton('eav/config') ->getEntityType(Mage_Catalog_Model_Product::ENTITY) ->getAttributeCollection() ->addFieldToFilter('main_table.frontend_input', array('in' => array('select', 'multiselect'))) ->addFieldToFilter(array('is_filterable', 'is_filterable_in_search'), array(array('eq' => 1), array('eq' => 1))); //->addSetInfo(); if (!empty($attributeId)) { $collection->addFieldToFilter('main_table.attribute_id', $attributeId); } return $collection; } /** * Reindex attribute * * @param Mage_Catalog_Model_Resource_Eav_Attribute $attribute * @throws Exception */ protected function reindexAttribute($attribute) { $this->beginTransaction(); try { $writeAdapter = $this->_getWriteAdapter(); $writeAdapter->delete($this->getMainTable(), array("attribute_id = ?" => $attribute->getId())); $writeAdapter->insertMultiple($this->getMainTable(), $this->getInsertValues($attribute)); $this->commit(); } catch (Exception $e) { $this->rollBack(); throw $e; } } /** * Retrieve data to be inserted * * @param Mage_Catalog_Model_Resource_Eav_Attribute $attribute * @return array */ protected function getInsertValues($attribute) { $data = array(); foreach ($this->getAllStoresIds() as $storeId) { $attribute->setStoreId($storeId); if ($attribute->getSourceModel()) { $options = $attribute->getSource()->getAllOptions(false); } else { $collection = Mage::getResourceModel('eav/entity_attribute_option_collection') ->setStoreFilter($storeId) ->setPositionOrder('asc') ->setAttributeFilter($attribute->getId()) ->load(); $options = $collection->toOptionArray(); } foreach ($options as $option) { // Generate url value $urlValue = $this->getHelper()->transliterate($option['label']); $urlKey = $this->getHelper()->transliterate($attribute->getStoreLabel($storeId)); // Check if this url value is taken and add -{count} $countValue = 0; $origUrlValue = $urlValue; do { $found = false; foreach ($data as $line) { if ($line['store_id'] == $storeId && $line['url_value'] == $urlValue) { $urlValue = $origUrlValue . '-' . ++$countValue; $found = true; } } } while ($found); // Check if this url key is taken and add -{count} $countKey = 0; $origUrlKey = $urlKey; do { $found = false; if ($this->urlKeyExists($attribute->getId(), $urlKey)) { $urlKey = $origUrlKey . '-' . ++$countKey; $found = true; } } while ($found); $data[] = array( 'attribute_code' => $attribute->getAttributeCode(), 'attribute_id' => $attribute->getId(), 'store_id' => $storeId, 'option_id' => $option['value'], 'url_key' => $urlKey, 'url_value' => $urlValue, ); } } return $data; } /** * @param int $attributeId * @param string $urlKey * @return bool */ protected function urlKeyExists($attributeId, $urlKey) { $readAdapter = $this->_getReadAdapter(); $select = $readAdapter->select() ->from($this->getMainTable(), array('attribute_id')) ->where('attribute_id != ?', $attributeId) ->where('url_key = ?', $urlKey) ->limit(1); return (bool) $readAdapter->fetchOne($select); } /** * Retrieve all stores ids * * @return array */ protected function getAllStoresIds() { if ($this->storesIds === null) { $this->storesIds = array(); $stores = Mage::app()->getStores(); foreach ($stores as $storeId => $store) { $this->storesIds[] = $storeId; } } return $this->storesIds; } /** * Retrieve helper object * * @return Catalin_SEO_Helper_Data */ protected function getHelper() { if ($this->helper === null) { $this->helper = Mage::helper('catalin_seo'); } return $this->helper; } /** * Reindex attribute options on attribute save event * * @param Mage_Index_Model_Event $event * @return Catalin_SEO_Model_Resource_Indexer_Attribute */ public function catalogEavAttributeSave(Mage_Index_Model_Event $event) { $attribute = $event->getDataObject(); $this->reindexSeoUrlKeys($attribute->getId()); return $this; } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Model/Resource/Attribute/Urlkey.php
app/code/community/Catalin/SEO/Model/Resource/Attribute/Urlkey.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Model_Resource_Attribute_Urlkey extends Mage_Core_Model_Resource_Db_Abstract { protected static $_cachedResults; /** * Initialize resource model * */ protected function _construct() { $this->_init('catalin_seo/attribute_url_key', 'id'); } /** * Retrieve urk_key for specific attribute code * * @param string $attributeCode * @param int $storeId * @return string */ public function getUrlKey($attributeCode, $storeId = null) { foreach ($this->getAttributeData($storeId, $attributeCode, 'attribute_code') as $result) { if ($result['attribute_code'] == $attributeCode) { return $result['url_key']; } } return $attributeCode; } /** * Retrieve url_value for specific option * * @param int $attributeId * @param int $optionId * @param int $storeId * @return int|string */ public function getUrlValue($attributeId, $optionId, $storeId = null) { foreach ($this->getAttributeData($storeId, $attributeId) as $result) { if ($result['option_id'] == $optionId) { return $result['url_value']; } } return $optionId; } /** * Retrieve option_id for specific url_value * * @param int $attributeId * @param string $urlValue * @param int $storeId * @return int|string */ public function getOptionId($attributeId, $urlValue, $storeId = null) { foreach ($this->getAttributeData($storeId, $attributeId) as $result) { if ($result['url_value'] == $urlValue) { return $result['option_id']; } } return $urlValue; } /** * Retrieve attribute data * * @param int $storeId * @param int|string $whereValue * @param string $whereField * @return array */ protected function getAttributeData($storeId, $whereValue, $whereField = 'attribute_id') { if ($storeId === null) { $storeId = Mage::app()->getStore()->getId(); } if (!isset(self::$_cachedResults[$whereValue][$storeId])) { $readAdapter = $this->_getReadAdapter(); $select = $readAdapter->select() ->from($this->getMainTable()) ->where('store_id = ?', $storeId) ->where("{$whereField} = ?", $whereValue); $data = $readAdapter->fetchAll($select); if (!empty($data)) { self::$_cachedResults[$data[0]['attribute_id']][$storeId] = $data; self::$_cachedResults[$data[0]['attribute_code']][$storeId] = $data; } else { self::$_cachedResults[$whereValue][$storeId] = $data; } } return self::$_cachedResults[$whereValue][$storeId]; } /** * Load attributes options from the database * * @param Mage_Catalog_Model_Resource_Product_Attribute_Collection $collection * @return Catalin_SEO_Model_Resource_Attribute_Urlkey */ public function preloadAttributesOptions(Mage_Catalog_Model_Resource_Product_Attribute_Collection $collection, $storeId = null) { if ($storeId === null) { $storeId = Mage::app()->getStore()->getId(); } $attributesIds = array(); foreach ($collection as $attribute) { $attributesIds[] = $attribute->getId(); } if (empty($attributesIds)) { return $this; } $readAdapter = $this->_getReadAdapter(); $select = $readAdapter->select() ->from($this->getMainTable()) ->where('store_id = ?', $storeId) ->where('attribute_id IN (?)', array('in' => $attributesIds)); $data = $readAdapter->fetchAll($select); foreach ($data as $attr) { self::$_cachedResults[$attr['attribute_id']][$attr['store_id']][] = $attr; self::$_cachedResults[$attr['attribute_code']][$attr['store_id']][] = $attr; } // Fill with empty array for the attributes ids that have no values in database // Prevents from doing supplementary queries foreach ($collection as $attribute) { if (!isset(self::$_cachedResults[$attribute->getId()][$storeId])) { self::$_cachedResults[$attribute->getId()][$storeId] = array(); self::$_cachedResults[$attribute->getAttributeCode()][$storeId] = array(); } } return $this; } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Model/Enterprise/Catalog/Layer/Filter/Attribute.php
app/code/community/Catalin/SEO/Model/Enterprise/Catalog/Layer/Filter/Attribute.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Model_Enterprise_Catalog_Layer_Filter_Attribute extends Enterprise_Search_Model_Catalog_Layer_Filter_Attribute { protected $_values = array(); public function getValues() { return $this->_values; } /** * Apply attribute filter to layer * * @param Zend_Controller_Request_Abstract $request * @param object $filterBlock * @return Enterprise_Search_Model_Catalog_Layer_Filter_Attribute */ public function apply(Zend_Controller_Request_Abstract $request, $filterBlock) { if (!Mage::helper('catalin_seo')->isEnabled()) { return parent::apply($request, $filterBlock); } $filter = $request->getParam($this->_requestVar); if (is_array($filter)) { return $this; } if (empty($filter)) { return $this; } $this->_values = explode(Catalin_SEO_Helper_Data::MULTIPLE_FILTERS_DELIMITER, $filter); if (!empty($this->_values)) { $attrUrlKeyModel = Mage::getResourceModel('catalin_seo/attribute_urlkey'); $this->_getResource()->applyFilterToCollection($this, $this->_values); foreach ($this->_values as $filter) { $optionId = $attrUrlKeyModel->getOptionId($this->getAttributeModel()->getId(), $filter); $text = $this->_getOptionText($optionId); $this->getLayer()->getState()->addFilter($this->_createItem($text, $filter)); // process all items if multiple choice is enabled if (!Mage::helper('catalin_seo')->isMultipleChoiceFiltersEnabled()) { $this->_items = array(); } } } return $this; } /** * Get data array for building attribute filter items * * @return array */ protected function _getItemsData() { if (!Mage::helper('catalin_seo')->isEnabled()) { return parent::_getItemsData(); } $attribute = $this->getAttributeModel(); $this->_requestVar = $attribute->getAttributeCode(); $key = $this->getLayer()->getStateKey() . '_' . $this->_requestVar; $data = $this->getLayer()->getAggregator()->getCacheData($key); if ($data === null) { $attrUrlKeyModel = Mage::getResourceModel('catalin_seo/attribute_urlkey'); $options = $attribute->getFrontend()->getSelectOptions(); $optionsCount = $this->_getResource()->getCount($this); $data = array(); foreach ($options as $option) { if (is_array($option['value'])) { continue; } if (Mage::helper('core/string')->strlen($option['value'])) { // Check filter type if ($this->_getIsFilterableAttribute($attribute) == self::OPTIONS_ONLY_WITH_RESULTS) { if (!empty($optionsCount[$option['value']])) { $data[] = array( 'label' => $option['label'], 'value' => $attrUrlKeyModel->getUrlKey($attribute->getId(), $option['value']), 'count' => $optionsCount[$option['value']], ); } } else { $data[] = array( 'label' => $option['label'], 'value' => $attrUrlKeyModel->getUrlKey($attribute->getId(), $option['value']), 'count' => isset($optionsCount[$option['value']]) ? $optionsCount[$option['value']] : 0, ); } } } $tags = array( Mage_Eav_Model_Entity_Attribute::CACHE_TAG . ':' . $attribute->getId() ); $tags = $this->getLayer()->getStateTags($tags); $this->getLayer()->getAggregator()->saveCacheData($data, $key, $tags); } return $data; } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Model/Enterprise/Catalog/Layer/Filter/Category.php
app/code/community/Catalin/SEO/Model/Enterprise/Catalog/Layer/Filter/Category.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Model_Enterprise_Catalog_Layer_Filter_Category extends Enterprise_Search_Model_Catalog_Layer_Filter_Category { /** * Retrieve a collection of child categories for the provided category * * @param Mage_Catalog_Model_Category $category * @return Varien_Data_Collection_Db */ protected function _getChildrenCategories(Mage_Catalog_Model_Category $category) { $collection = $category->getCollection(); $collection->addAttributeToSelect('url_key') ->addAttributeToSelect('name') ->addAttributeToSelect('is_anchor') ->addAttributeToFilter('is_active', 1) ->addIdFilter($category->getChildren()) ->setOrder('position', Varien_Db_Select::SQL_ASC) ->load(); return $collection; } /** * Get data array for building category filter items * * @return array */ protected function _getItemsData() { if (!Mage::helper('catalin_seo')->isEnabled()) { return parent::_getItemsData(); } $key = $this->getLayer()->getStateKey() . '_SUBCATEGORIES'; $data = $this->getLayer()->getAggregator()->getCacheData($key); if ($data === null) { $categoty = $this->getCategory(); /** @var $categoty Mage_Catalog_Model_Category */ $categories = $this->_getChildrenCategories($categoty); $this->getLayer()->getProductCollection() ->addCountToCategories($categories); $data = array(); foreach ($categories as $category) { if ($category->getIsActive() && $category->getProductCount()) { if (Mage::helper('catalin_seo')->isCategoryLinksEnabled()) { $urlKey = $category->getUrl(); } else { $urlKey = $category->getUrlKey(); if (empty($urlKey)) { $urlKey = $category->getId(); } else { $urlKey = $category->getId() . '-' . $urlKey; } } $data[] = array( 'label' => Mage::helper('core')->escapeHtml($category->getName()), 'value' => $urlKey, 'count' => $category->getProductCount(), ); } } $tags = $this->getLayer()->getStateTags(); $this->getLayer()->getAggregator()->saveCacheData($data, $key, $tags); } return $data; } /** * Apply category filter to layer * * @param Zend_Controller_Request_Abstract $request * @param Mage_Core_Block_Abstract $filterBlock * @return Mage_Catalog_Model_Layer_Filter_Category */ public function apply(Zend_Controller_Request_Abstract $request, $filterBlock) { if (!Mage::helper('catalin_seo')->isEnabled()) { return parent::apply($request, $filterBlock); } $filter = $request->getParam($this->getRequestVar()); if (!$filter) { return $this; } $parts = explode('-', $filter); // Load the category filter by url_key $this->_appliedCategory = Mage::getModel('catalog/category') ->setStoreId(Mage::app()->getStore()->getId()) ->loadByAttribute('url_key', $parts[0]); // Extra check in case it is a category id and not url key if (!($this->_appliedCategory instanceof Mage_Catalog_Model_Category)) { return parent::apply($request, $filterBlock); } $this->_categoryId = $this->_appliedCategory->getId(); Mage::register('current_category_filter', $this->getCategory(), true); if ($this->_isValidCategory($this->_appliedCategory)) { $this->getLayer()->getProductCollection() ->addCategoryFilter($this->_appliedCategory); $this->getLayer()->getState()->addFilter( $this->_createItem($this->_appliedCategory->getName(), $filter) ); } return $this; } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Model/Indexer/Attribute.php
app/code/community/Catalin/SEO/Model/Indexer/Attribute.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Model_Indexer_Attribute extends Mage_Index_Model_Indexer_Abstract { protected $_matchedEntities = array( Mage_Catalog_Model_Resource_Eav_Attribute::ENTITY => array( Mage_Index_Model_Event::TYPE_SAVE, ), ); /** * Initialize model * */ protected function _construct() { $this->_init('catalin_seo/indexer_attribute'); } /** * Process event based on event state data * * @param Mage_Index_Model_Event $event */ protected function _processEvent(Mage_Index_Model_Event $event) { $this->callEventHandler($event); } /** * Register indexer required data inside event object * * @param Mage_Index_Model_Event $event * @return $this */ protected function _registerEvent(Mage_Index_Model_Event $event) { return $this; } /** * Get Indexer name * * @return string */ public function getName() { return Mage::helper('catalin_seo')->__('Catalin SEO'); } /** * Get Indexer description * * @return string */ public function getDescription() { return Mage::helper('catalin_seo')->__('Index attribute options for layered navigation filters'); } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Model/Catalog/Layer.php
app/code/community/Catalin/SEO/Model/Catalog/Layer.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Model_Catalog_Layer extends Mage_Catalog_Model_Layer { /** * Get collection of all filterable attributes for layer products set * * @return Mage_Catalog_Model_Resource_Eav_Mysql4_Attribute_Collection */ public function getFilterableAttributes() { $collection = parent::getFilterableAttributes(); if ($collection instanceof Mage_Catalog_Model_Resource_Product_Attribute_Collection) { // Pre-loads all needed attributes at once $attrUrlKeyModel = Mage::getResourceModel('catalin_seo/attribute_urlkey'); $attrUrlKeyModel->preloadAttributesOptions($collection); } return $collection; } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Model/Catalog/Resource/Layer/Filter/Attribute.php
app/code/community/Catalin/SEO/Model/Catalog/Resource/Layer/Filter/Attribute.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Model_Catalog_Resource_Layer_Filter_Attribute extends Mage_Catalog_Model_Resource_Layer_Filter_Attribute { /** * Apply attribute filter to product collection * * @param Mage_Catalog_Model_Layer_Filter_Attribute $filter * @param int $value * @return Mage_Catalog_Model_Resource_Layer_Filter_Attribute */ public function applyFilterToCollection($filter, $value) { if (!Mage::helper('catalin_seo')->isEnabled()) { return parent::applyFilterToCollection($filter, $value); } $collection = $filter->getLayer()->getProductCollection(); $attribute = $filter->getAttributeModel(); $connection = $this->_getReadAdapter(); $tableAlias = $attribute->getAttributeCode() . '_idx' . uniqid(); $conditions = array( "{$tableAlias}.entity_id = e.entity_id", $connection->quoteInto("{$tableAlias}.attribute_id = ?", $attribute->getAttributeId()), $connection->quoteInto("{$tableAlias}.store_id = ?", $collection->getStoreId()), ); $attrUrlKeyModel = Mage::getResourceModel('catalin_seo/attribute_urlkey'); if (!is_array($value)) { $options = $attribute->getSource()->getAllOptions(false); foreach ($options as $option) { if ($option['label'] == $value) { $value = $option['value']; } } $conditions[] = $connection->quoteInto("{$tableAlias}.value = ?", $value); } else { $conditions[] = "{$tableAlias}.value in ( "; foreach ($value as $v) { $v = $attrUrlKeyModel->getOptionId($attribute->getId(), $v); $conditions[count($conditions) - 1] .= $connection->quoteInto("?", $v) . ' ,'; } $conditions[count($conditions) - 1] = rtrim($conditions[count($conditions) - 1], ','); $conditions[count($conditions) - 1] .= ')'; } $collection->getSelect()->join( array($tableAlias => $this->getMainTable()), implode(' AND ', $conditions), array() ); $collection->getSelect()->distinct(); return $this; } /** * Retrieve array with products counts per attribute option * * @param Mage_Catalog_Model_Layer_Filter_Attribute $filter * @return array */ public function getCount($filter) { if (!Mage::helper('catalin_seo')->isEnabled()) { return parent::getCount($filter); } // clone select from collection with filters $select = clone $filter->getLayer()->getProductCollection()->getSelect(); // reset columns, order and limitation conditions $select->reset(Zend_Db_Select::COLUMNS); $select->reset(Zend_Db_Select::ORDER); $select->reset(Zend_Db_Select::LIMIT_COUNT); $select->reset(Zend_Db_Select::LIMIT_OFFSET); $connection = $this->_getReadAdapter(); $attribute = $filter->getAttributeModel(); $tableAlias = sprintf('%s_idx', $attribute->getAttributeCode()); $conditions = array( "{$tableAlias}.entity_id = e.entity_id", $connection->quoteInto("{$tableAlias}.attribute_id = ?", $attribute->getAttributeId()), $connection->quoteInto("{$tableAlias}.store_id = ?", $filter->getStoreId()), ); // start removing all filters for current attribute - we need correct count $parts = $select->getPart(Zend_Db_Select::FROM); $from = array(); foreach ($parts as $key => $part) { if (stripos($key, $tableAlias) === false) { $from[$key] = $part; } } $select->setPart(Zend_Db_Select::FROM, $from); // end of removing $select ->join( array($tableAlias => $this->getMainTable()), join(' AND ', $conditions), array('value', 'count' => new Zend_Db_Expr("COUNT({$tableAlias}.entity_id)"))) ->group("{$tableAlias}.value"); return $connection->fetchPairs($select); } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Model/Catalog/Resource/Layer/Filter/Price.php
app/code/community/Catalin/SEO/Model/Catalog/Resource/Layer/Filter/Price.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Model_Catalog_Resource_Layer_Filter_Price extends Mage_Catalog_Model_Resource_Layer_Filter_Price { /** * Get comparing value sql part * * @param float $price * @param Mage_Catalog_Model_Layer_Filter_Price $filter * @param bool $decrease * @return float */ protected function _getComparingValue($price, $filter, $decrease = true) { if (Mage::helper('catalin_seo')->isEnabled() && Mage::helper('catalin_seo')->isPriceSliderEnabled() ) { $currencyRate = $filter->getLayer()->getProductCollection()->getCurrencyRate(); return sprintf('%F', $price / $currencyRate); } return parent::_getComparingValue($price, $filter, $decrease); } /** * Apply price range filter to product collection * * @param Mage_Catalog_Model_Layer_Filter_Price $filter * @return Mage_Catalog_Model_Resource_Layer_Filter_Price */ public function applyPriceRange($filter) { $interval = $filter->getInterval(); if (!$interval) { return $this; } list($from, $to) = $interval; if ($from === '' && $to === '') { return $this; } $select = $filter->getLayer()->getProductCollection()->getSelect(); $priceExpr = $this->_getPriceExpression($filter, $select, false); if ($to !== '') { $to = (float)$to; if ($from == $to) { $to += self::MIN_POSSIBLE_PRICE; } } if ($from !== '') { $select->where($priceExpr . ' >= ' . $this->_getComparingValue($from, $filter)); } if ($to !== '') { $select->where($priceExpr . ' <= ' . $this->_getComparingValue($to, $filter)); } return $this; } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Model/Catalog/Layer/Filter/Attribute.php
app/code/community/Catalin/SEO/Model/Catalog/Layer/Filter/Attribute.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Model_Catalog_Layer_Filter_Attribute extends Mage_Catalog_Model_Layer_Filter_Attribute { protected $_values = array(); public function getValues() { return $this->_values; } /** * Apply attribute filter to layer * * @param Zend_Controller_Request_Abstract $request * @param object $filterBlock * @return Enterprise_Search_Model_Catalog_Layer_Filter_Attribute */ public function apply(Zend_Controller_Request_Abstract $request, $filterBlock) { if (!Mage::helper('catalin_seo')->isEnabled()) { return parent::apply($request, $filterBlock); } $filter = $request->getParam($this->_requestVar); if (is_array($filter)) { return $this; } if (empty($filter)) { return $this; } $this->_values = explode(Catalin_SEO_Helper_Data::MULTIPLE_FILTERS_DELIMITER, $filter); if (!empty($this->_values)) { $attrUrlKeyModel = Mage::getResourceModel('catalin_seo/attribute_urlkey'); $this->_getResource()->applyFilterToCollection($this, $this->_values); foreach ($this->_values as $filter) { $optionId = $attrUrlKeyModel->getOptionId($this->getAttributeModel()->getId(), $filter); $text = $this->_getOptionText($optionId); $this->getLayer()->getState()->addFilter($this->_createItem($text, $filter)); // process all items if multiple choice is enabled if (!Mage::helper('catalin_seo')->isMultipleChoiceFiltersEnabled()) { $this->_items = array(); } } } return $this; } /** * Get data array for building attribute filter items * * @return array */ protected function _getItemsData() { if (!Mage::helper('catalin_seo')->isEnabled()) { return parent::_getItemsData(); } $attribute = $this->getAttributeModel(); $key = $this->getLayer()->getStateKey() . '_' . $this->_requestVar; $data = $this->getLayer()->getAggregator()->getCacheData($key); if ($data === null) { $attrUrlKeyModel = Mage::getResourceModel('catalin_seo/attribute_urlkey'); $options = $attribute->getFrontend()->getSelectOptions(); $optionsCount = $this->_getResource()->getCount($this); $data = array(); foreach ($options as $option) { if (is_array($option['value'])) { continue; } if (Mage::helper('core/string')->strlen($option['value'])) { // Check filter type if ($this->_getIsFilterableAttribute($attribute) == self::OPTIONS_ONLY_WITH_RESULTS) { if (!empty($optionsCount[$option['value']])) { $data[] = array( 'label' => $option['label'], 'value' => $attrUrlKeyModel->getUrlValue($attribute->getId(), $option['value']), 'count' => $optionsCount[$option['value']], ); } } else { $data[] = array( 'label' => $option['label'], 'value' => $attrUrlKeyModel->getUrlValue($attribute->getId(), $option['value']), 'count' => isset($optionsCount[$option['value']]) ? $optionsCount[$option['value']] : 0, ); } } } $tags = array( Mage_Eav_Model_Entity_Attribute::CACHE_TAG . ':' . $attribute->getId() ); $tags = $this->getLayer()->getStateTags($tags); $this->getLayer()->getAggregator()->saveCacheData($data, $key, $tags); } return $data; } /** * Set request variable name which is used for apply filter * * @param string $varName * @return Mage_Catalog_Model_Layer_Filter_Abstract */ public function setRequestVar($varName) { if (Mage::helper('catalin_seo')->isEnabled()) { $attrUrlKeyModel = Mage::getResourceModel('catalin_seo/attribute_urlkey'); $varName = $attrUrlKeyModel->getUrlKey($varName); } return parent::setRequestVar($varName); } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Model/Catalog/Layer/Filter/Category.php
app/code/community/Catalin/SEO/Model/Catalog/Layer/Filter/Category.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Model_Catalog_Layer_Filter_Category extends Mage_Catalog_Model_Layer_Filter_Category { /** * Retrieve a collection of child categories for the provided category * * @param Mage_Catalog_Model_Category $category * @return Varien_Data_Collection_Db */ protected function getChildrenCategories(Mage_Catalog_Model_Category $category) { $collection = $category->getCollection(); $collection->addAttributeToSelect('url_key') ->addAttributeToSelect('name') ->addAttributeToSelect('is_anchor') ->addAttributeToFilter('is_active', 1) ->addIdFilter($category->getChildren()) ->setOrder('position', Varien_Db_Select::SQL_ASC) ->load(); return $collection; } /** * Get data array for building category filter items * * @return array */ protected function _getItemsData() { if (!Mage::helper('catalin_seo')->isEnabled()) { return parent::_getItemsData(); } $key = $this->getLayer()->getStateKey() . '_SUBCATEGORIES'; $data = $this->getLayer()->getAggregator()->getCacheData($key); if ($data === null) { $currentCategory = $this->getCategory(); /** @var $currentCategory Mage_Catalog_Model_Category */ $categories = $this->getChildrenCategories($currentCategory); $this->getLayer()->getProductCollection() ->addCountToCategories($categories); $data = array(); foreach ($categories as $category) { if ($category->getIsActive() && $category->getProductCount()) { if (Mage::helper('catalin_seo')->isCategoryLinksEnabled()) { $urlKey = $category->getUrl(); } else { $urlKey = $category->getUrlKey(); if (empty($urlKey)) { $urlKey = $category->getId(); } else { $urlKey = $category->getId() . '-' . $urlKey; } } $data[] = array( 'label' => Mage::helper('core')->escapeHtml($category->getName()), 'value' => $urlKey, 'count' => $category->getProductCount(), ); } } $tags = $this->getLayer()->getStateTags(); $this->getLayer()->getAggregator()->saveCacheData($data, $key, $tags); } return $data; } /** * Apply category filter to layer * * @param Zend_Controller_Request_Abstract $request * @param Mage_Core_Block_Abstract $filterBlock * @return Mage_Catalog_Model_Layer_Filter_Category */ public function apply(Zend_Controller_Request_Abstract $request, $filterBlock) { if (!Mage::helper('catalin_seo')->isEnabled()) { return parent::apply($request, $filterBlock); } $filter = $request->getParam($this->getRequestVar()); if (!$filter) { return $this; } $parts = explode('-', $filter); // Load the category filter by url_key $this->_appliedCategory = Mage::getModel('catalog/category') ->setStoreId(Mage::app()->getStore()->getId()) ->loadByAttribute('url_key', $parts[0]); // Extra check in case it is a category id and not url key if (!($this->_appliedCategory instanceof Mage_Catalog_Model_Category)) { return parent::apply($request, $filterBlock); } $this->_categoryId = $this->_appliedCategory->getId(); Mage::register('current_category_filter', $this->getCategory(), true); if ($this->_isValidCategory($this->_appliedCategory)) { $this->getLayer()->getProductCollection() ->addCategoryFilter($this->_appliedCategory); $this->getLayer()->getState()->addFilter( $this->_createItem($this->_appliedCategory->getName(), $filter) ); } return $this; } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Model/Catalog/Layer/Filter/Price.php
app/code/community/Catalin/SEO/Model/Catalog/Layer/Filter/Price.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Model_Catalog_Layer_Filter_Price extends Mage_Catalog_Model_Layer_Filter_Price { /** * Get maximum price from layer products set * * @return float */ public function getMaxPriceFloat() { if (!$this->hasData('max_price_float')) { $this->collectPriceRange(); } return $this->getData('max_price_float'); } /** * Get minimum price from layer products set * * @return float */ public function getMinPriceFloat() { if (!$this->hasData('min_price_float')) { $this->collectPriceRange(); } return $this->getData('min_price_float'); } /** * Prepare text of range label * * @param float|string $fromPrice * @param float|string $toPrice * @return string */ protected function _renderRangeLabel($fromPrice, $toPrice) { $store = Mage::app()->getStore(); $formattedFromPrice = $store->formatPrice($fromPrice); if ($toPrice === '') { return Mage::helper('catalog')->__('%s and above', $formattedFromPrice); } elseif ($fromPrice == $toPrice && Mage::app()->getStore()->getConfig(self::XML_PATH_ONE_PRICE_INTERVAL)) { return $formattedFromPrice; } else { return Mage::helper('catalog')->__('%s - %s', $formattedFromPrice, $store->formatPrice($toPrice)); } } /** * Collect useful information - max and min price * * @return Catalin_SEO_Model_Catalog_Layer_Filter_Price */ protected function collectPriceRange() { $collection = $this->getLayer()->getProductCollection(); $select = $collection->getSelect(); $conditions = $select->getPart(Zend_Db_Select::WHERE); // Remove price sql conditions $conditionsNoPrice = array(); foreach ($conditions as $key => $condition) { if (stripos($condition, 'price_index') !== false) { continue; } $conditionsNoPrice[] = $condition; } $select->setPart(Zend_Db_Select::WHERE, $conditionsNoPrice); $this->setData('min_price_float', floor($collection->getMinPrice())); $this->setData('max_price_float', ceil($collection->getMaxPrice())); // Restore all sql conditions $select->setPart(Zend_Db_Select::WHERE, $conditions); return $this; } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Model/Catalog/Layer/Filter/Item.php
app/code/community/Catalin/SEO/Model/Catalog/Layer/Filter/Item.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Model_Catalog_Layer_Filter_Item extends Mage_Catalog_Model_Layer_Filter_Item { protected $helper; protected function helper() { if ($this->helper === null) { $this->helper = Mage::helper('catalin_seo'); } return $this->helper; } /** * Get filter item url * * @return string */ public function getUrl() { if (!$this->helper()->isEnabled()) { return parent::getUrl(); } $values = $this->getFilter()->getValues(); if (!empty($values)) { $tmp = array_merge($values, array($this->getValue())); // Sort filters - small SEO improvement asort($tmp); $values = implode(Catalin_SEO_Helper_Data::MULTIPLE_FILTERS_DELIMITER, $tmp); } else { $values = $this->getValue(); } if ($this->helper()->isCatalogSearch()) { $query = array( 'isLayerAjax' => null, $this->getFilter()->getRequestVar() => $values, Mage::getBlockSingleton('page/html_pager')->getPageVarName() => null // exclude current page from urls ); return Mage::getUrl('*/*/*', array('_current' => true, '_use_rewrite' => true, '_query' => $query)); } return $this->helper()->getFilterUrl(array( $this->getFilter()->getRequestVar() => $values )); } /** * Get url for remove item from filter * * @return string */ public function getRemoveUrl() { if (!$this->helper()->isEnabled()) { return parent::getRemoveUrl(); } $values = $this->getFilter()->getValues(); if (!empty($values)) { $tmp = array_diff($values, array($this->getValue())); if (!empty($tmp)) { $values = implode(Catalin_SEO_Helper_Data::MULTIPLE_FILTERS_DELIMITER, $tmp); } else { $values = null; } } else { $values = null; } if ($this->helper()->isCatalogSearch()) { $query = array( 'isLayerAjax' => null, $this->getFilter()->getRequestVar() => $values ); $params['_current'] = true; $params['_use_rewrite'] = true; $params['_query'] = $query; $params['_escape'] = true; return Mage::getUrl('*/*/*', $params); } return $this->helper()->getFilterUrl(array( $this->getFilter()->getRequestVar() => $values )); } /** * Check if current filter is selected * * @return boolean */ public function isSelected() { $values = $this->getFilter()->getValues(); if (is_array($values) && in_array($this->getValue(), $values)) { return true; } return false; } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Model/CatalogSearch/Layer.php
app/code/community/Catalin/SEO/Model/CatalogSearch/Layer.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Model_CatalogSearch_Layer extends Catalin_SEO_Model_Catalog_Layer { const XML_PATH_DISPLAY_LAYER_COUNT = 'catalog/search/use_layered_navigation_count'; /** * Get current layer product collection * * @return Mage_Catalog_Model_Resource_Eav_Resource_Product_Collection */ public function getProductCollection() { if (isset($this->_productCollections[$this->getCurrentCategory()->getId()])) { $collection = $this->_productCollections[$this->getCurrentCategory()->getId()]; } else { $collection = Mage::getResourceModel('catalogsearch/fulltext_collection'); $this->prepareProductCollection($collection); $this->_productCollections[$this->getCurrentCategory()->getId()] = $collection; } return $collection; } /** * Prepare product collection * * @param Mage_Catalog_Model_Resource_Eav_Resource_Product_Collection $collection * @return Mage_Catalog_Model_Layer */ public function prepareProductCollection($collection) { $collection ->addAttributeToSelect(Mage::getSingleton('catalog/config')->getProductAttributes()) ->addSearchFilter(Mage::helper('catalogsearch')->getQuery()->getQueryText()) ->setStore(Mage::app()->getStore()) ->addMinimalPrice() ->addFinalPrice() ->addTaxPercents() ->addStoreFilter() ->addUrlRewrite(); Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($collection); Mage::getSingleton('catalog/product_visibility')->addVisibleInSearchFilterToCollection($collection); return $this; } /** * Get layer state key * * @return string */ public function getStateKey() { if ($this->_stateKey === null) { $this->_stateKey = 'Q_' . Mage::helper('catalogsearch')->getQuery()->getId() . '_' . parent::getStateKey(); } return $this->_stateKey; } /** * Get default tags for current layer state * * @param array $additionalTags * @return array */ public function getStateTags(array $additionalTags = array()) { $additionalTags = parent::getStateTags($additionalTags); $additionalTags[] = Mage_CatalogSearch_Model_Query::CACHE_TAG; return $additionalTags; } /** * Add filters to attribute collection * * @param Mage_Catalog_Model_Resource_Eav_Resource_Product_Attribute_Collection $collection * @return Mage_Catalog_Model_Resource_Eav_Resource_Product_Attribute_Collection */ protected function _prepareAttributeCollection($collection) { $collection->addIsFilterableInSearchFilter() ->addVisibleFilter(); return $collection; } /** * Prepare attribute for use in layered navigation * * @param Mage_Eav_Model_Entity_Attribute $attribute * @return Mage_Eav_Model_Entity_Attribute */ protected function _prepareAttribute($attribute) { $attribute = parent::_prepareAttribute($attribute); $attribute->setIsFilterable(Mage_Catalog_Model_Layer_Filter_Attribute::OPTIONS_ONLY_WITH_RESULTS); return $attribute; } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Model/CatalogSearch/Layer/Filter/Attribute.php
app/code/community/Catalin/SEO/Model/CatalogSearch/Layer/Filter/Attribute.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Model_CatalogSearch_Layer_Filter_Attribute extends Catalin_SEO_Model_Catalog_Layer_Filter_Attribute { /** * Check whether specified attribute can be used in LN * * @param Mage_Catalog_Model_Resource_Eav_Attribute $attribute * @return bool */ protected function _getIsFilterableAttribute($attribute) { return $attribute->getIsFilterableInSearch(); } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Model/System/Config/Backend/Seo/Catalog.php
app/code/community/Catalin/SEO/Model/System/Config/Backend/Seo/Catalog.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Model_System_Config_Backend_Seo_Catalog extends Mage_Core_Model_Config_Data { /** * After enabling layered navigation seo cache refresh is required * * @return Catalin_SEO_Model_System_Config_Backend_Seo_Catalog */ protected function _afterSave() { if ($this->isValueChanged()) { $instance = Mage::app()->getCacheInstance(); $instance->invalidateType('block_html'); } return $this; } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Block/ConfigurableSwatches/Catalog/Layer/State/Swatch.php
app/code/community/Catalin/SEO/Block/ConfigurableSwatches/Catalog/Layer/State/Swatch.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Block_ConfigurableSwatches_Catalog_Layer_State_Swatch extends Mage_ConfigurableSwatches_Block_Catalog_Layer_State_Swatch { /** * @inheritdoc */ protected function _init($filter) { $dimHelper = Mage::helper('configurableswatches/swatchdimensions'); $this->setSwatchInnerWidth( $dimHelper->getInnerWidth(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LAYER) ); $this->setSwatchInnerHeight( $dimHelper->getInnerHeight(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LAYER) ); $this->setSwatchOuterWidth( $dimHelper->getOuterWidth(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LAYER) ); $this->setSwatchOuterHeight( $dimHelper->getOuterHeight(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LAYER) ); $swatchUrl = Mage::helper('configurableswatches/productimg') ->getGlobalSwatchUrl( $filter, $this->stripTags($filter->getLabel()), $this->getSwatchInnerWidth(), $this->getSwatchInnerHeight() ); $this->setSwatchUrl($swatchUrl); } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Block/Enterprise/Catalog/Layer/Filter/Attribute.php
app/code/community/Catalin/SEO/Block/Enterprise/Catalog/Layer/Filter/Attribute.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Block_Enterprise_Catalog_Layer_Filter_Attribute extends Enterprise_Search_Block_Catalog_Layer_Filter_Attribute { /** * Class constructor */ public function __construct() { parent::__construct(); if ($this->helper('catalin_seo')->isEnabled() && $this->helper('catalin_seo')->isMultipleChoiceFiltersEnabled()) { /** * Modify template for multiple filters rendering * It has checkboxes instead of classic links */ $this->setTemplate('catalin_seo/catalog/layer/filter.phtml'); } } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Block/Enterprise/CatalogSearch/Layer/Filter/Attribute.php
app/code/community/Catalin/SEO/Block/Enterprise/CatalogSearch/Layer/Filter/Attribute.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Block_Enterprise_CatalogSearch_Layer_Filter_Attribute extends Catalin_SEO_Block_Enterprise_Catalog_Layer_Filter_Attribute { /** * Set filter model name * */ public function __construct() { parent::__construct(); $this->_filterModelName = 'enterprise_search/catalog_layer_filter_attribute'; } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Block/Catalog/Layer/State.php
app/code/community/Catalin/SEO/Block/Catalog/Layer/State.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Block_Catalog_Layer_State extends Mage_Catalog_Block_Layer_State { /** * Retrieve Clear Filters URL * * @return string */ public function getClearUrl() { if (!$this->helper('catalin_seo')->isEnabled()) { return parent::getClearUrl(); } if ($this->helper('catalin_seo')->isCatalogSearch()) { $filterState = array('isLayerAjax' => null); foreach ($this->getActiveFilters() as $item) { $filterState[$item->getFilter()->getRequestVar()] = $item->getFilter()->getCleanValue(); } $params['_current'] = true; $params['_use_rewrite'] = true; $params['_query'] = $filterState; $params['_escape'] = true; return Mage::getUrl('*/*/*', $params); } return $this->helper('catalin_seo')->getClearFiltersUrl(); } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Block/Catalog/Layer/Filter/Attribute.php
app/code/community/Catalin/SEO/Block/Catalog/Layer/Filter/Attribute.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Block_Catalog_Layer_Filter_Attribute extends Mage_Catalog_Block_Layer_Filter_Attribute { /** * Class constructor */ public function __construct() { parent::__construct(); if ($this->helper('catalin_seo')->isEnabled() && $this->helper('catalin_seo')->isMultipleChoiceFiltersEnabled()) { /** * Modify template for multiple filters rendering * It has checkboxes instead of classic links */ $this->setTemplate('catalin_seo/catalog/layer/filter.phtml'); } } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Block/Catalog/Layer/Filter/Category.php
app/code/community/Catalin/SEO/Block/Catalog/Layer/Filter/Category.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Block_Catalog_Layer_Filter_Category extends Mage_Catalog_Block_Layer_Filter_Category { /** * Class constructor */ public function __construct() { parent::__construct(); if ($this->helper('catalin_seo')->isCategoryLinksEnabled()) { /** * Modify template for category filter to disable ajax when url is used. */ $this->setTemplate('catalin_seo/catalog/layer/category.phtml'); } } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Block/Catalog/Layer/Filter/Price.php
app/code/community/Catalin/SEO/Block/Catalog/Layer/Filter/Price.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Block_Catalog_Layer_Filter_Price extends Mage_Catalog_Block_Layer_Filter_Price { /** * Class constructor * * Set correct template depending on module state */ public function __construct() { parent::__construct(); if ($this->helper('catalin_seo')->isEnabled() && $this->helper('catalin_seo')->isPriceSliderEnabled()) { // Modify template to render price filter as slider $this->setTemplate('catalin_seo/catalog/layer/price.phtml'); } } /** * Get maximum price from layer products set * * @return float */ public function getMaxPriceFloat() { return $this->_filter->getMaxPriceFloat(); } /** * Get minimum price from layer products set * * @return float */ public function getMinPriceFloat() { return $this->_filter->getMinPriceFloat(); } /** * Get current minimum price filter * * @return float */ public function getCurrentMinPriceFilter() { $interval = $this->_filter->getInterval(); $from = floor((float) $interval[0]); if ($from < $this->getMinPriceFloat()) { return $this->getMinPriceFloat(); } return $from; } /** * Get current maximum price filter * * @return float */ public function getCurrentMaxPriceFilter() { $interval = $this->_filter->getInterval(); $to = round((float) $interval[1]); if ($to == 0 || $to > $this->getMaxPriceFloat()) { return $this->getMaxPriceFloat(); } return $to; } /** * URL Pattern used in javascript for price filtering * * @return string */ public function getUrlPattern() { $item = Mage::getModel('catalog/layer_filter_item') ->setFilter($this->_filter) ->setValue('__PRICE_VALUE__') ->setCount(0); return $item->getUrl(); } /** * Retrieve filter items count * * @return int */ public function getItemsCount() { if ($this->helper('catalin_seo')->isEnabled() && $this->helper('catalin_seo')->isPriceSliderEnabled()) { return 1; // Keep price filter ON } return parent::getItemsCount(); } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Block/Catalog/Product/List/Toolbar.php
app/code/community/Catalin/SEO/Block/Catalog/Product/List/Toolbar.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Block_Catalog_Product_List_Toolbar extends Mage_Catalog_Block_Product_List_Toolbar { /** * Return current URL with rewrites and additional parameters * * @param array $params Query parameters * @return string */ public function getPagerUrl($params = array()) { if (!$this->helper('catalin_seo')->isEnabled()) { return parent::getPagerUrl($params); } if ($this->helper('catalin_seo')->isCatalogSearch()) { $params['isLayerAjax'] = null; return parent::getPagerUrl($params); } return $this->helper('catalin_seo')->getPagerUrl($params); } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Block/Catalog/Product/List/Pager.php
app/code/community/Catalin/SEO/Block/Catalog/Product/List/Pager.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Block_Catalog_Product_List_Pager extends Mage_Page_Block_Html_Pager { /** * Return current URL with rewrites and additional parameters * * @param array $params Query parameters * @return string */ public function getPagerUrl($params = array()) { if (!Mage::helper('catalin_seo')->isEnabled()) { return parent::getPagerUrl($params); } if ($this->helper('catalin_seo')->isCatalogSearch()) { $params['isLayerAjax'] = null; return parent::getPagerUrl($params); } return $this->helper('catalin_seo')->getPagerUrl($params); } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Block/CatalogSearch/Layer/Filter/Attribute.php
app/code/community/Catalin/SEO/Block/CatalogSearch/Layer/Filter/Attribute.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Block_CatalogSearch_Layer_Filter_Attribute extends Catalin_SEO_Block_Catalog_Layer_Filter_Attribute { /** * Set filter model name * */ public function __construct() { parent::__construct(); $this->_filterModelName = 'catalogsearch/layer_filter_attribute'; } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Controller/Router.php
app/code/community/Catalin/SEO/Controller/Router.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Controller_Router extends Mage_Core_Controller_Varien_Router_Standard { /** * Add catalog router to front controller * * @param Varien_Event_Observer $observer */ public function initControllerRouters(Varien_Event_Observer $observer) { $front = $observer->getEvent()->getFront(); // Collect routes - needed for match() $this->collectRoutes('frontend', 'standard'); $front->addRouter('catalin_catalog', $this); } /** * Match the request * * @param Zend_Controller_Request_Http $request * @return boolean */ public function match(Zend_Controller_Request_Http $request) { $helper = Mage::helper('catalin_seo'); if (!$helper->isEnabled()) { return false; } $suffix = Mage::getStoreConfig('catalog/seo/category_url_suffix'); $path = ltrim($request->getPathInfo(), '/'); $lenSuffix = (strlen($suffix) > 0?strlen($suffix)+1:0); $identifier = $helper->getUrlBody($suffix, $path); $urlSplit = explode($helper->getRoutingSuffix(), $identifier, 2); // Check if it is a link generated by the SEO module if (!isset($urlSplit[1])) { return false; } // Massage path to load proper request path $cat = $urlSplit[0]; $catPath = $cat; $catPath = $helper->appendSuffix($catPath, $suffix); if(Mage::getEdition() == Mage::EDITION_ENTERPRISE){ $urlRequest = Mage::getModel('enterprise_urlrewrite/url_rewrite_request'); $paths = $urlRequest->getSystemPaths($catPath); $urlRewrite = Mage::getModel('enterprise_urlrewrite/url_rewrite'); $urlRewrite->setStoreId(Mage::app()->getStore()->getId()); $urlRewrite->loadByRequestPath($paths); } else { $urlRewrite = Mage::getModel('core/url_rewrite'); $urlRewrite->setStoreId(Mage::app()->getStore()->getId()); $urlRewrite->loadByRequestPath($catPath); } // Check if a valid category is found if ($urlRewrite->getId()) { $modules = $this->getModuleByFrontName('catalog'); $found = false; // Find the controller to be executed // It takes in account rewrites foreach ($modules as $realModule) { $request->setRouteName($this->getRouteByFrontName('catalog')); // Check if this place should be secure $this->_checkShouldBeSecure($request, '/catalog/category/view'); // Find controller class name $controllerClassName = $this->_validateControllerClassName($realModule, 'category'); if (!$controllerClassName) { continue; } // Instantiate controller class $controllerInstance = Mage::getControllerInstance($controllerClassName, $request, $this->getFront()->getResponse()); // Check if controller has viewAction() method if (!$controllerInstance->hasAction('view')) { continue; } $found = true; break; } // Check if we found a controller if (!$found) { return false; } // Set the required data on $request object $request->setPathInfo($urlRewrite->getTargetPath()); $request->setRequestUri('/' . $urlRewrite->getTargetPath()); $request->setModuleName('catalog') ->setControllerName('category') ->setActionName('view') ->setControllerModule($realModule) ->setParam('id', $urlRewrite->getCategoryId()) ->setAlias( Mage_Core_Model_Url_Rewrite::REWRITE_REQUEST_PATH_ALIAS, $catPath ); // EE does not have category ID in enteprise_url_rewrite table if(Mage::getEdition() == Mage::EDITION_ENTERPRISE){ list($pathPrefix, $targetPath) = explode('/category/view/id/',$urlRewrite->getTargetPath()); $request->setParam('id', $targetPath); } // Parse url params $params = explode('/', trim($urlSplit[1], '/')); $layerParams = array(); $total = count($params); for ($i = 0; $i < $total - 1; $i++) { if (isset($params[$i + 1])) { $layerParams[$params[$i]] = urldecode($params[$i + 1]); ++$i; } } // Add post params to parsed ones from url // Useful to easily override params $layerParams += $request->getPost(); // Add params to request $request->setParams($layerParams); // Save params in registry - used later to generate links Mage::register('layer_params', $layerParams); // dispatch action $request->setDispatched(true); $controllerInstance->dispatch('view'); return true; } return false; } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/controllers/ResultController.php
app/code/community/Catalin/SEO/controllers/ResultController.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ require_once 'Mage/CatalogSearch/controllers/ResultController.php'; class Catalin_Seo_ResultController extends Mage_CatalogSearch_ResultController { /** * Display search result */ public function indexAction() { $query = Mage::helper('catalogsearch')->getQuery(); /* @var $query Mage_CatalogSearch_Model_Query */ $query->setStoreId(Mage::app()->getStore()->getId()); if ($query->getQueryText() != '') { if (Mage::helper('catalogsearch')->isMinQueryLength()) { $query->setId(0) ->setIsActive(1) ->setIsProcessed(1); } else { if ($query->getId()) { $query->setPopularity($query->getPopularity() + 1); } else { $query->setPopularity(1); } if ($query->getRedirect()) { $query->save(); $this->getResponse()->setRedirect($query->getRedirect()); return; } else { $query->prepare(); } } Mage::helper('catalogsearch')->checkNotes(); $this->loadLayout(); // apply custom ajax layout if (Mage::helper('catalin_seo')->isAjaxEnabled() && Mage::helper('catalin_seo')->isAjaxRequest()) { $update = $this->getLayout()->getUpdate(); $update->addHandle('catalog_category_layered_ajax_layer'); } $this->_initLayoutMessages('catalog/session'); $this->_initLayoutMessages('checkout/session'); // return json formatted response for ajax if (Mage::helper('catalin_seo')->isAjaxEnabled() && Mage::helper('catalin_seo')->isAjaxRequest()) { $listing = $this->getLayout()->getBlock('search_result_list')->toHtml(); if(Mage::getEdition() == Mage::EDITION_ENTERPRISE){ $block = $this->getLayout()->getBlock('enterprisesearch.leftnav'); } else { $block = $this->getLayout()->getBlock('catalogsearch.leftnav'); } $layer = $block->toHtml(); // Fix urls that contain '___SID=U' $urlModel = Mage::getSingleton('core/url'); $listing = $urlModel->sessionUrlVar($listing); $layer = $urlModel->sessionUrlVar($layer); $response = array( 'listing' => $listing, 'layer' => $layer ); $this->getResponse()->setHeader('Content-Type', 'application/json', true); $this->getResponse()->setBody(json_encode($response)); } else { $this->renderLayout(); } if (!Mage::helper('catalogsearch')->isMinQueryLength()) { $query->save(); } } else { $this->_redirectReferer(); } } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/controllers/CategoryController.php
app/code/community/Catalin/SEO/controllers/CategoryController.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ require_once 'Mage/Catalog/controllers/CategoryController.php'; class Catalin_Seo_CategoryController extends Mage_Catalog_CategoryController { public function viewAction() { if (($category = $this->_initCatagory())) { $design = Mage::getSingleton('catalog/design'); $settings = $design->getDesignSettings($category); // apply custom design if ($settings->getCustomDesign()) { $design->applyCustomDesign($settings->getCustomDesign()); } Mage::getSingleton('catalog/session')->setLastViewedCategoryId($category->getId()); $update = $this->getLayout()->getUpdate(); $update->addHandle('default'); if (!$category->hasChildren()) { $update->addHandle('catalog_category_layered_nochildren'); } $this->addActionLayoutHandles(); $update->addHandle($category->getLayoutUpdateHandle()); $update->addHandle('CATEGORY_' . $category->getId()); // apply custom ajax layout if (Mage::helper('catalin_seo')->isAjaxEnabled() && Mage::helper('catalin_seo')->isAjaxRequest()) { $update->addHandle('catalog_category_layered_ajax_layer'); } $this->loadLayoutUpdates(); // apply custom layout update once layout is loaded if (($layoutUpdates = $settings->getLayoutUpdates())) { if (is_array($layoutUpdates)) { foreach ($layoutUpdates as $layoutUpdate) { $update->addUpdate($layoutUpdate); } } } $this->generateLayoutXml()->generateLayoutBlocks(); // apply custom layout (page) template once the blocks are generated if ($settings->getPageLayout()) { $this->getLayout()->helper('page/layout')->applyTemplate($settings->getPageLayout()); } if (($root = $this->getLayout()->getBlock('root'))) { $root->addBodyClass('categorypath-' . $category->getUrlPath()) ->addBodyClass('category-' . $category->getUrlKey()); } $this->_initLayoutMessages('catalog/session'); $this->_initLayoutMessages('checkout/session'); // return json formatted response for ajax if (Mage::helper('catalin_seo')->isAjaxEnabled() && Mage::helper('catalin_seo')->isAjaxRequest()) { if(Mage::getEdition() == Mage::EDITION_ENTERPRISE){ $block = $this->getLayout()->getBlock('enterprisecatalog.leftnav'); } else { $block = $this->getLayout()->getBlock('catalog.leftnav'); } $listing = $this->getLayout()->getBlock('product_list')->toHtml(); $layer = $block->toHtml(); // Fix urls that contain '___SID=U' $urlModel = Mage::getSingleton('core/url'); $listing = $urlModel->sessionUrlVar($listing); $layer = $urlModel->sessionUrlVar($layer); $response = array( 'listing' => $listing, 'layer' => $layer ); $this->getResponse()->setHeader('Content-Type', 'application/json', true); $this->getResponse()->setBody(json_encode($response)); } else { $this->renderLayout(); } } elseif (!$this->getResponse()->isRedirect()) { $this->_forward('noRoute'); } } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/Data.php
app/code/community/Catalin/SEO/Helper/Data.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Helper_Data extends Mage_Core_Helper_Data { /** * Delimiter for multiple filters */ const MULTIPLE_FILTERS_DELIMITER = ','; const REL_NOFOLLOW = 'rel="nofollow"'; /** * Check if module is enabled or not * * @return boolean */ public function isEnabled() { return Mage::getStoreConfigFlag('catalin_seo/catalog/enabled'); } /** * Check if ajax is enabled * * @return boolean */ public function isAjaxEnabled() { if (!$this->isEnabled()) { return false; } return Mage::getStoreConfigFlag('catalin_seo/catalog/ajax_enabled'); } /** * Check if multiple choice filters is enabled * * @return boolean */ public function isMultipleChoiceFiltersEnabled() { if (!$this->isEnabled()) { return false; } return Mage::getStoreConfigFlag('catalin_seo/catalog/multiple_choice_filters'); } /** * Check if price slider is enabled * * @return boolean */ public function isPriceSliderEnabled() { if (!$this->isEnabled()) { return false; } return Mage::getStoreConfigFlag('catalin_seo/catalog/price_slider'); } /** * Check if category links are enabled instead of the filter * * @return boolean */ public function isCategoryLinksEnabled() { if (!$this->isEnabled()) { return false; } return Mage::getStoreConfigFlag('catalin_seo/catalog/category_links'); } /** * Retrieve routing suffix * * @return string */ public function getRoutingSuffix() { return '/' . Mage::getStoreConfig('catalin_seo/catalog/routing_suffix'); } /** * Getter for layered navigation params * If $params are provided then it overrides the ones from registry * * @param array $params * @return array|null */ public function getCurrentLayerParams(array $params = null) { $layerParams = Mage::registry('layer_params'); if (!is_array($layerParams)) { $layerParams = array(); } if (!empty($params)) { foreach ($params as $key => $value) { if ($value === null) { unset($layerParams[$key]); } else { $layerParams[$key] = $value; } } } unset($layerParams['isLayerAjax']); // Sort by key - small SEO improvement ksort($layerParams); return $layerParams; } /** * Method to get url for layered navigation * * @param array $filters array with new filter values * @param boolean $noFilters to add filters to the url or not * @param array $q array with values to add to query string * @return string */ public function getFilterUrl(array $filters, $noFilters = false, array $q = array()) { $query = array( 'isLayerAjax' => null, // this needs to be removed because of ajax request Mage::getBlockSingleton('page/html_pager')->getPageVarName() => null // exclude current page from urls ); $query = array_merge($query, $q); $suffix = Mage::getStoreConfig('catalog/seo/category_url_suffix'); $params = array( '_current' => true, '_use_rewrite' => true, '_query' => $query ); $url = Mage::getUrl('*/*/*', $params); $urlPath = ''; if (isset($filters['cat']) && $this->isCategoryLinksEnabled()) { $url = $filters['cat']; } if (!$noFilters) { // Add filters $layerParams = $this->getCurrentLayerParams($filters); if (isset($layerParams['cat']) && $this->isCategoryLinksEnabled()) { unset($layerParams['cat']); } foreach ($layerParams as $key => $value) { // Encode and replace escaped delimiter with the delimiter itself $value = str_replace(urlencode(self::MULTIPLE_FILTERS_DELIMITER), self::MULTIPLE_FILTERS_DELIMITER, urlencode($value)); $urlPath .= "/{$key}/{$value}"; } } // Skip adding routing suffix for links with no filters if (empty($urlPath)) { return $url; } $urlParts = explode('?', $url); $urlParts[0] = $this->getUrlBody($suffix, $urlParts[0]); // Add the suffix to the url - fixes when coming from non suffixed pages // It should always be the last bits in the URL $urlParts[0] .= $this->getRoutingSuffix(); $url = $urlParts[0] . $urlPath; $url = $this->appendSuffix($url, $suffix); if (!empty($urlParts[1])) { $url .= '?' . $urlParts[1]; } return $url; } /** * Get the url path, including the base url, minus the suffix. * Checks for Enterprise and if it is, checks for the dot * before returning * @param string $suffix * @param string $urlParts * @return string */ public function getUrlBody($suffix, $urlParts) { if (Mage::getEdition() == Mage::EDITION_ENTERPRISE) { $lenSuffix = (strlen($suffix) > 0 ? strlen($suffix) + 1 : 0); return substr($urlParts, 0, strlen($urlParts) - $lenSuffix); } else { return substr($urlParts, 0, strlen($urlParts) - strlen($suffix)); } } /** * Appends the suffix to the url, if applicable. * Checks for Enterprise and if it is, adds the dot * before returning * * @param string $url * @param string $suffix * @return string */ public function appendSuffix($url, $suffix) { if (strlen($suffix) == 0) { return $url; } if (Mage::getEdition() == Mage::EDITION_ENTERPRISE ? $ds = "." : $ds=""); return $url . $ds . $suffix; } /** * Get the url to clear all layered navigation filters * * @return string */ public function getClearFiltersUrl() { return $this->getFilterUrl(array(), true); } /** * Get url for layered navigation pagination * * @param array $query * @return string */ public function getPagerUrl(array $query) { return $this->getFilterUrl(array(), false, $query); } /** * Check if we are in the catalog search * * @return boolean */ public function isCatalogSearch() { $pathInfo = $this->_getRequest()->getPathInfo(); if (stripos($pathInfo, '/catalogsearch/result') !== false) { return true; } return false; } /** * Check if a string has utf8 characters in it * * @param string $string * @return boolean */ public function seemsUtf8($string) { $length = strlen($string); for ($i = 0; $i < $length; $i++) { if (ord($string[$i]) < 0x80) { continue; # 0bbbbbbb } elseif ((ord($string[$i]) & 0xE0) == 0xC0) { $n = 1; # 110bbbbb } elseif ((ord($string[$i]) & 0xF0) == 0xE0) { $n = 2; # 1110bbbb } elseif ((ord($string[$i]) & 0xF8) == 0xF0) { $n = 3; # 11110bbb } elseif ((ord($string[$i]) & 0xFC) == 0xF8) { $n = 4; # 111110bb } elseif ((ord($string[$i]) & 0xFE) == 0xFC) { $n = 5; # 1111110b } else { return false; # Does not match any model } for ($j = 0; $j < $n; $j++) { # n bytes matching 10bbbbbb follow ? if ((++$i == strlen($string)) || ((ord($string[$i]) & 0xC0) != 0x80)) { return false; } } } return true; } /** * US-ASCII transliterations of Unicode text * Warning: you should only pass this well formed UTF-8! * Be aware it works by making a copy of the input string which it appends transliterated * characters to - it uses a PHP output buffer to do this - it means, memory use will increase, * requiring up to the same amount again as the input string * * @param string $str UTF-8 string to convert * @param string $unknown Character use if character unknown * @return string US-ASCII string */ public function utf8ToAscii($str, $unknown = '?') { static $UTF8_TO_ASCII; if (strlen($str) == 0) { return; } preg_match_all('/.{1}|[^\x00]{1,1}$/us', $str, $ar); $chars = $ar[0]; foreach ($chars as $i => $c) { $ud = 0; if (ord($c{0}) >= 0 && ord($c{0}) <= 127) { continue; } // ASCII - next please if (ord($c{0}) >= 192 && ord($c{0}) <= 223) { $ord = (ord($c{0}) - 192) * 64 + (ord($c{1}) - 128); } if (ord($c{0}) >= 224 && ord($c{0}) <= 239) { $ord = (ord($c{0}) - 224) * 4096 + (ord($c{1}) - 128) * 64 + (ord($c{2}) - 128); } if (ord($c{0}) >= 240 && ord($c{0}) <= 247) { $ord = (ord($c{0}) - 240) * 262144 + (ord($c{1}) - 128) * 4096 + (ord($c{2}) - 128) * 64 + (ord($c{3}) - 128); } if (ord($c{0}) >= 248 && ord($c{0}) <= 251) { $ord = (ord($c{0}) - 248) * 16777216 + (ord($c{1}) - 128) * 262144 + (ord($c{2}) - 128) * 4096 + (ord($c{3}) - 128) * 64 + (ord($c{4}) - 128); } if (ord($c{0}) >= 252 && ord($c{0}) <= 253) { $ord = (ord($c{0}) - 252) * 1073741824 + (ord($c{1}) - 128) * 16777216 + (ord($c{2}) - 128) * 262144 + (ord($c{3}) - 128) * 4096 + (ord($c{4}) - 128) * 64 + (ord($c{5}) - 128); } if (ord($c{0}) >= 254 && ord($c{0}) <= 255) { $chars{$i} = $unknown; continue; } //error $bank = $ord >> 8; if (!array_key_exists($bank, (array) $UTF8_TO_ASCII)) { $bankfile = __DIR__ . '/data/' . sprintf("x%02x", $bank) . '.php'; if (file_exists($bankfile)) { include $bankfile; } else { $UTF8_TO_ASCII[$bank] = array(); } } $newchar = $ord & 255; if (array_key_exists($newchar, $UTF8_TO_ASCII[$bank])) { $chars{$i} = $UTF8_TO_ASCII[$bank][$newchar]; } else { $chars{$i} = $unknown; } } return implode('', $chars); } /** * Uses transliteration tables to convert any kind of utf8 character * * @param string $text * @param string $separator * @return string $text */ public function transliterate($text, $separator = '-') { if (preg_match('/[\x80-\xff]/', $text) && $this->validUtf8($text)) { $text = $this->utf8ToAscii($text); } return $this->postProcessText($text, $separator); } /** * Tests a string as to whether it's valid UTF-8 and supported by the * Unicode standard * * @param string $str UTF-8 encoded string * @return boolean true if valid */ public function validUtf8($str) { $mState = 0; // cached expected number of octets after the current octet // until the beginning of the next UTF8 character sequence $mUcs4 = 0; // cached Unicode character $mBytes = 1; // cached expected number of octets in the current sequence $len = strlen($str); for ($i = 0; $i < $len; $i++) { $in = ord($str{$i}); if ($mState == 0) { // When mState is zero we expect either a US-ASCII character or a // multi-octet sequence. if (0 == (0x80 & ($in))) { // US-ASCII, pass straight through. $mBytes = 1; } elseif (0xC0 == (0xE0 & ($in))) { // First octet of 2 octet sequence $mUcs4 = ($in); $mUcs4 = ($mUcs4 & 0x1F) << 6; $mState = 1; $mBytes = 2; } elseif (0xE0 == (0xF0 & ($in))) { // First octet of 3 octet sequence $mUcs4 = ($in); $mUcs4 = ($mUcs4 & 0x0F) << 12; $mState = 2; $mBytes = 3; } elseif (0xF0 == (0xF8 & ($in))) { // First octet of 4 octet sequence $mUcs4 = ($in); $mUcs4 = ($mUcs4 & 0x07) << 18; $mState = 3; $mBytes = 4; } elseif (0xF8 == (0xFC & ($in))) { /* First octet of 5 octet sequence. * * This is illegal because the encoded codepoint must be either * (a) not the shortest form or * (b) outside the Unicode range of 0-0x10FFFF. * Rather than trying to resynchronize, we will carry on until the end * of the sequence and let the later error handling code catch it. */ $mUcs4 = ($in); $mUcs4 = ($mUcs4 & 0x03) << 24; $mState = 4; $mBytes = 5; } elseif (0xFC == (0xFE & ($in))) { // First octet of 6 octet sequence, see comments for 5 octet sequence. $mUcs4 = ($in); $mUcs4 = ($mUcs4 & 1) << 30; $mState = 5; $mBytes = 6; } else { /* Current octet is neither in the US-ASCII range nor a legal first * octet of a multi-octet sequence. */ return false; } } else { // When mState is non-zero, we expect a continuation of the multi-octet // sequence if (0x80 == (0xC0 & ($in))) { // Legal continuation. $shift = ($mState - 1) * 6; $tmp = $in; $tmp = ($tmp & 0x0000003F) << $shift; $mUcs4 |= $tmp; /** * End of the multi-octet sequence. mUcs4 now contains the final * Unicode codepoint to be output */ if (0 == --$mState) { /* * Check for illegal sequences and codepoints. */ // From Unicode 3.1, non-shortest form is illegal if (((2 == $mBytes) && ($mUcs4 < 0x0080)) || ((3 == $mBytes) && ($mUcs4 < 0x0800)) || ((4 == $mBytes) && ($mUcs4 < 0x10000)) || (4 < $mBytes) || // From Unicode 3.2, surrogate characters are illegal (($mUcs4 & 0xFFFFF800) == 0xD800) || // Codepoints outside the Unicode range are illegal ($mUcs4 > 0x10FFFF) ) { return false; } //initialize UTF8 cache $mState = 0; $mUcs4 = 0; $mBytes = 1; } } else { /** * ((0xC0 & (*in) != 0x80) && (mState != 0)) * Incomplete multi-octet sequence. */ return false; } } } return true; } /** * Cleans up the text and adds separator * * @param string $text * @param string $separator * @return string */ protected function postProcessText($text, $separator) { if (function_exists('mb_strtolower')) { $text = mb_strtolower($text); } else { $text = strtolower($text); } // Remove all none word characters $text = preg_replace('/\W/', ' ', $text); // More stripping. Replace spaces with dashes $text = strtolower(preg_replace('/[^A-Z^a-z^0-9^\/]+/', $separator, preg_replace('/([a-z\d])([A-Z])/', '\1_\2', preg_replace('/([A-Z]+)([A-Z][a-z])/', '\1_\2', preg_replace('/::/', '/', $text))))); return trim($text, $separator); } public function getSkinJsUrl() { if(Mage::getEdition() == Mage::EDITION_ENTERPRISE){ return "js/catalin_seo/handler-ee-rwd.js"; } return "js/catalin_seo/handler.js"; } public function getNofollow() { if(Mage::getStoreConfigFlag('catalin_seo/catalog/nofollow')){ return self::REL_NOFOLLOW; } } public function getShowMore() { return Mage::getStoreConfig('catalin_seo/catalog/show_more_link'); } public function getSearchFilter() { $searchFilter = Mage::getStoreConfig('catalin_seo/catalog/search_filter'); if($searchFilter && $this->getShowMore()) { return true; } elseif($searchFilter && !$this->getShowMore()) { return null; } else { return false; } } /** * @return bool */ public function isAjaxRequest() { $request = Mage::app()->getRequest(); if (Mage::getEdition() == Mage::EDITION_ENTERPRISE) { // On Enterprise, FPC caches headers based on request-path (sans query string.) // This means, request-headers or query string values cannot affect the Content-Type. // Otherwise, an attacker can cause cached category pages to be served as application/json. return strpos($request->getRequestString(), '/isLayerAjax/1') !== false; } return $request->isAjax(); } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/ConfigurableSwatches/Productlist.php
app/code/community/Catalin/SEO/Helper/ConfigurableSwatches/Productlist.php
<?php /** * Catalin Ciobanu * * NOTICE OF LICENSE * * This source file is subject to the MIT License (MIT) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/MIT * * @package Catalin_Seo * @copyright Copyright (c) 2016 Catalin Ciobanu * @license https://opensource.org/licenses/MIT MIT License (MIT) */ class Catalin_SEO_Helper_ConfigurableSwatches_Productlist extends Mage_ConfigurableSwatches_Helper_Productlist { /** * @inheritDoc */ public function convertLayerBlock($blockName) { if (Mage::helper('configurableswatches')->isEnabled() && ($block = Mage::app()->getLayout()->getBlock($blockName)) && $block instanceof Mage_Catalog_Block_Layer_View ) { // First, set a new template for the attribute that should show as a swatch if ($layer = $block->getLayer()) { foreach ($layer->getFilterableAttributes() as $attribute) { if (Mage::helper('configurableswatches')->attrIsSwatchType($attribute)) { $block->getChild($attribute->getAttributeCode() . '_filter') ->setTemplate('catalin_seo/catalog/layer/filter/swatches.phtml'); } } } // Then set a specific renderer block for showing "currently shopping by" for the swatch attribute // (block class takes care of determining which attribute is applicable) if ($stateRenderersBlock = $block->getChild('state_renderers')) { $swatchRenderer = Mage::app()->getLayout() ->addBlock('configurableswatches/catalog_layer_state_swatch', 'product_list.swatches'); $swatchRenderer->setTemplate('configurableswatches/catalog/layer/state/swatch.phtml'); $stateRenderersBlock->append($swatchRenderer); } } } }
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xb3.php
app/code/community/Catalin/SEO/Helper/data/xb3.php
<?php $UTF8_TO_ASCII[0xb3] = array( 'Ci ','Xiang ','She ','Luo ','Qin ','Ying ','Chai ','Li ','Ze ','Xuan ','Lian ','Zhu ','Ze ','Xie ','Mang ','Xie ','Qi ','Rong ','Jian ','Meng ','Hao ','Ruan ','Huo ','Zhuo ','Jie ','Bin ','He ','Mie ','Fan ','Lei ','Jie ','La ','Mi ','Li ','Chun ','Li ','Qiu ','Nie ','Lu ','Du ','Xiao ','Zhu ','Long ','Li ','Long ','Feng ','Ye ','Beng ','Shang ','Gu ','Juan ','Ying ','[?] ','Xi ','Can ','Qu ','Quan ','Du ','Can ','Man ','Jue ','Jie ','Zhu ','Zha ','Xie ','Huang ','Niu ','Pei ','Nu ','Xin ','Zhong ','Mo ','Er ','Ke ','Mie ','Xi ','Xing ','Yan ','Kan ','Yuan ','[?] ','Ling ','Xuan ','Shu ','Xian ','Tong ','Long ','Jie ','Xian ','Ya ','Hu ','Wei ','Dao ','Chong ','Wei ','Dao ','Zhun ','Heng ','Qu ','Yi ','Yi ','Bu ','Gan ','Yu ','Biao ','Cha ','Yi ','Shan ','Chen ','Fu ','Gun ','Fen ','Shuai ','Jie ','Na ','Zhong ','Dan ','Ri ','Zhong ','Zhong ','Xie ','Qi ','Xie ','Ran ','Zhi ','Ren ','Qin ','Jin ','Jun ','Yuan ','Mei ','Chai ','Ao ','Niao ','Hui ','Ran ','Jia ','Tuo ','Ling ','Dai ','Bao ','Pao ','Yao ','Zuo ','Bi ','Shao ','Tan ','Ju ','He ','Shu ','Xiu ','Zhen ','Yi ','Pa ','Bo ','Di ','Wa ','Fu ','Gun ','Zhi ','Zhi ','Ran ','Pan ','Yi ','Mao ','Tuo ','Na ','Kou ','Xian ','Chan ','Qu ','Bei ','Gun ','Xi ','Ne ','Bo ','Horo ','Fu ','Yi ','Chi ','Ku ','Ren ','Jiang ','Jia ','Cun ','Mo ','Jie ','Er ','Luo ','Ru ','Zhu ','Gui ','Yin ','Cai ','Lie ','Kamishimo ','Yuki ','Zhuang ','Dang ','[?] ','Kun ','Ken ','Niao ','Shu ','Jia ','Kun ','Cheng ','Li ','Juan ','Shen ','Pou ','Ge ','Yi ','Yu ','Zhen ','Liu ','Qiu ','Qun ','Ji ','Yi ','Bu ','Zhuang ','Shui ','Sha ','Qun ','Li ','Lian ','Lian ','Ku ','Jian ','Fou ','Chan ','Bi ','Gun ','Tao ','Yuan ','Ling ','Chi ','Chang ','Chou ','Duo ','Biao ','Liang ','Chang ','Pei ','Pei ','Fei ','Yuan ','Luo ','Guo ','Yan ','Du ','Xi ','Zhi ','Ju ','Qi ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xff.php
app/code/community/Catalin/SEO/Helper/data/xff.php
<?php $UTF8_TO_ASCII[0xff] = array( 'dae','daeg','daegg','daegs','daen','daenj','daenh','daed','dael','daelg','daelm','daelb','daels','daelt','daelp','daelh','daem','daeb','daebs','daes','daess','daeng','daej','daec','daek','daet','daep','daeh','dya','dyag','dyagg','dyags','dyan','dyanj','dyanh','dyad','dyal','dyalg','dyalm','dyalb','dyals','dyalt','dyalp','dyalh','dyam','dyab','dyabs','dyas','dyass','dyang','dyaj','dyac','dyak','dyat','dyap','dyah','dyae','dyaeg','dyaegg','dyaegs','dyaen','dyaenj','dyaenh','dyaed','dyael','dyaelg','dyaelm','dyaelb','dyaels','dyaelt','dyaelp','dyaelh','dyaem','dyaeb','dyaebs','dyaes','dyaess','dyaeng','dyaej','dyaec','dyaek','dyaet','dyaep','dyaeh','deo','deog','deogg','deogs','deon','deonj','deonh','deod','deol','deolg','deolm','deolb','deols','deolt','deolp','deolh','deom','deob','deobs','deos','deoss','deong','deoj','deoc','deok','deot','deop','deoh','de','deg','degg','degs','den','denj','denh','ded','del','delg','delm','delb','dels','delt','delp','delh','dem','deb','debs','des','dess','deng','dej','dec','dek','det','dep','deh','dyeo','dyeog','dyeogg','dyeogs','dyeon','dyeonj','dyeonh','dyeod','dyeol','dyeolg','dyeolm','dyeolb','dyeols','dyeolt','dyeolp','dyeolh','dyeom','dyeob','dyeobs','dyeos','dyeoss','dyeong','dyeoj','dyeoc','dyeok','dyeot','dyeop','dyeoh','dye','dyeg','dyegg','dyegs','dyen','dyenj','dyenh','dyed','dyel','dyelg','dyelm','dyelb','dyels','dyelt','dyelp','dyelh','dyem','dyeb','dyebs','dyes','dyess','dyeng','dyej','dyec','dyek','dyet','dyep','dyeh','do','dog','dogg','dogs','don','donj','donh','dod','dol','dolg','dolm','dolb','dols','dolt','dolp','dolh','dom','dob','dobs','dos','doss','dong','doj','doc','dok','dot','dop','doh','dwa','dwag','dwagg','dwags','dwan','dwanj','dwanh','dwad','dwal','dwalg','dwalm','dwalb','dwals','dwalt','dwalp','dwalh','dwam','dwab','dwabs','dwas','dwass','dwang','dwaj','dwac','dwak','dwat','dwap','dwah','dwae','dwaeg','dwaegg','dwaegs', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x8e.php
app/code/community/Catalin/SEO/Helper/data/x8e.php
<?php $UTF8_TO_ASCII[0x8e] = array( 'Di ','Zhuang ','Le ','Lang ','Chen ','Cong ','Li ','Xiu ','Qing ','Shuang ','Fan ','Tong ','Guan ','Ji ','Suo ','Lei ','Lu ','Liang ','Mi ','Lou ','Chao ','Su ','Ke ','Shu ','Tang ','Biao ','Lu ','Jiu ','Shu ','Zha ','Shu ','Zhang ','Men ','Mo ','Niao ','Yang ','Tiao ','Peng ','Zhu ','Sha ','Xi ','Quan ','Heng ','Jian ','Cong ','[?] ','Hokuso ','Qiang ','Tara ','Ying ','Er ','Xin ','Zhi ','Qiao ','Zui ','Cong ','Pu ','Shu ','Hua ','Kui ','Zhen ','Zun ','Yue ','Zhan ','Xi ','Xun ','Dian ','Fa ','Gan ','Mo ','Wu ','Qiao ','Nao ','Lin ','Liu ','Qiao ','Xian ','Run ','Fan ','Zhan ','Tuo ','Lao ','Yun ','Shun ','Tui ','Cheng ','Tang ','Meng ','Ju ','Cheng ','Su ','Jue ','Jue ','Tan ','Hui ','Ji ','Nuo ','Xiang ','Tuo ','Ning ','Rui ','Zhu ','Chuang ','Zeng ','Fen ','Qiong ','Ran ','Heng ','Cen ','Gu ','Liu ','Lao ','Gao ','Chu ','Zusa ','Nude ','Ca ','San ','Ji ','Dou ','Shou ','Lu ','[?] ','[?] ','Yuan ','Ta ','Shu ','Jiang ','Tan ','Lin ','Nong ','Yin ','Xi ','Sui ','Shan ','Zui ','Xuan ','Cheng ','Gan ','Ju ','Zui ','Yi ','Qin ','Pu ','Yan ','Lei ','Feng ','Hui ','Dang ','Ji ','Sui ','Bo ','Bi ','Ding ','Chu ','Zhua ','Kuai ','Ji ','Jie ','Jia ','Qing ','Zhe ','Jian ','Qiang ','Dao ','Yi ','Biao ','Song ','She ','Lin ','Kunugi ','Cha ','Meng ','Yin ','Tao ','Tai ','Mian ','Qi ','Toan ','Bin ','Huo ','Ji ','Qian ','Mi ','Ning ','Yi ','Gao ','Jian ','Yin ','Er ','Qing ','Yan ','Qi ','Mi ','Zhao ','Gui ','Chun ','Ji ','Kui ','Po ','Deng ','Chu ','[?] ','Mian ','You ','Zhi ','Guang ','Qian ','Lei ','Lei ','Sa ','Lu ','Li ','Cuan ','Lu ','Mie ','Hui ','Ou ','Lu ','Jie ','Gao ','Du ','Yuan ','Li ','Fei ','Zhuo ','Sou ','Lian ','Tamo ','Chu ','[?] ','Zhu ','Lu ','Yan ','Li ','Zhu ','Chen ','Jie ','E ','Su ','Huai ','Nie ','Yu ','Long ','Lai ','[?] ','Xian ','Kwi ','Ju ','Xiao ','Ling ','Ying ','Jian ','Yin ','You ','Ying ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x9c.php
app/code/community/Catalin/SEO/Helper/data/x9c.php
<?php $UTF8_TO_ASCII[0x9c] = array( 'Dang ','Ma ','Sha ','Dan ','Jue ','Li ','Fu ','Min ','Nuo ','Huo ','Kang ','Zhi ','Qi ','Kan ','Jie ','Fen ','E ','Ya ','Pi ','Zhe ','Yan ','Sui ','Zhuan ','Che ','Dun ','Pan ','Yan ','[?] ','Feng ','Fa ','Mo ','Zha ','Qu ','Yu ','Luo ','Tuo ','Tuo ','Di ','Zhai ','Zhen ','Ai ','Fei ','Mu ','Zhu ','Li ','Bian ','Nu ','Ping ','Peng ','Ling ','Pao ','Le ','Po ','Bo ','Po ','Shen ','Za ','Nuo ','Li ','Long ','Tong ','[?] ','Li ','Aragane ','Chu ','Keng ','Quan ','Zhu ','Kuang ','Huo ','E ','Nao ','Jia ','Lu ','Wei ','Ai ','Luo ','Ken ','Xing ','Yan ','Tong ','Peng ','Xi ','[?] ','Hong ','Shuo ','Xia ','Qiao ','[?] ','Wei ','Qiao ','[?] ','Keng ','Xiao ','Que ','Chan ','Lang ','Hong ','Yu ','Xiao ','Xia ','Mang ','Long ','Iong ','Che ','Che ','E ','Liu ','Ying ','Mang ','Que ','Yan ','Sha ','Kun ','Yu ','[?] ','Kaki ','Lu ','Chen ','Jian ','Nue ','Song ','Zhuo ','Keng ','Peng ','Yan ','Zhui ','Kong ','Ceng ','Qi ','Zong ','Qing ','Lin ','Jun ','Bo ','Ding ','Min ','Diao ','Jian ','He ','Lu ','Ai ','Sui ','Que ','Ling ','Bei ','Yin ','Dui ','Wu ','Qi ','Lun ','Wan ','Dian ','Gang ','Pei ','Qi ','Chen ','Ruan ','Yan ','Die ','Ding ','Du ','Tuo ','Jie ','Ying ','Bian ','Ke ','Bi ','Wei ','Shuo ','Zhen ','Duan ','Xia ','Dang ','Ti ','Nao ','Peng ','Jian ','Di ','Tan ','Cha ','Seki ','Qi ','[?] ','Feng ','Xuan ','Que ','Que ','Ma ','Gong ','Nian ','Su ','E ','Ci ','Liu ','Si ','Tang ','Bang ','Hua ','Pi ','Wei ','Sang ','Lei ','Cuo ','Zhen ','Xia ','Qi ','Lian ','Pan ','Wei ','Yun ','Dui ','Zhe ','Ke ','La ','[?] ','Qing ','Gun ','Zhuan ','Chan ','Qi ','Ao ','Peng ','Lu ','Lu ','Kan ','Qiang ','Chen ','Yin ','Lei ','Biao ','Qi ','Mo ','Qi ','Cui ','Zong ','Qing ','Chuo ','[?] ','Ji ','Shan ','Lao ','Qu ','Zeng ','Deng ','Jian ','Xi ','Lin ','Ding ','Dian ','Huang ','Pan ','Za ','Qiao ','Di ','Li ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x32.php
app/code/community/Catalin/SEO/Helper/data/x32.php
<?php $UTF8_TO_ASCII[0x32] = array( '[?]','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','[?]','[?]','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','[?]','','','','','','','','','','','','','','','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x17.php
app/code/community/Catalin/SEO/Helper/data/x17.php
<?php $UTF8_TO_ASCII[0x17] = array( 'kka','kk','nu','no','ne','nee','ni','na','mu','mo','me','mee','mi','ma','yu','yo','ye','yee','yi','ya','ju','ju','jo','je','jee','ji','ji','ja','jju','jjo','jje','jjee','jji','jja','lu','lo','le','lee','li','la','dlu','dlo','dle','dlee','dli','dla','lhu','lho','lhe','lhee','lhi','lha','tlhu','tlho','tlhe','tlhee','tlhi','tlha','tlu','tlo','tle','tlee','tli','tla','zu','zo','ze','zee','zi','za','z','z','dzu','dzo','dze','dzee','dzi','dza','su','so','se','see','si','sa','shu','sho','she','shee','shi','sha','sh','tsu','tso','tse','tsee','tsi','tsa','chu','cho','che','chee','chi','cha','ttsu','ttso','ttse','ttsee','ttsi','ttsa','X','.','qai','ngai','nngi','nngii','nngo','nngoo','nnga','nngaa','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]',' ','b','l','f','s','n','h','d','t','c','q','m','g','ng','z','r','a','o','u','e','i','ch','th','ph','p','x','p','<','>','[?]','[?]','[?]','f','v','u','yr','y','w','th','th','a','o','ac','ae','o','o','o','oe','on','r','k','c','k','g','ng','g','g','w','h','h','h','h','n','n','n','i','e','j','g','ae','a','eo','p','z','s','s','s','c','z','t','t','d','b','b','p','p','e','m','m','m','l','l','ng','ng','d','o','ear','ior','qu','qu','qu','s','yr','yr','yr','q','x','.',':','+','17','18','19','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x58.php
app/code/community/Catalin/SEO/Helper/data/x58.php
<?php $UTF8_TO_ASCII[0x58] = array( );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x4f.php
app/code/community/Catalin/SEO/Helper/data/x4f.php
<?php $UTF8_TO_ASCII[0x4f] = array( );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xce.php
app/code/community/Catalin/SEO/Helper/data/xce.php
<?php $UTF8_TO_ASCII[0xce] = array( 'nzup','nzurx','nzur','nzyt','nzyx','nzy','nzyp','nzyrx','nzyr','sit','six','si','sip','siex','sie','siep','sat','sax','sa','sap','suox','suo','suop','sot','sox','so','sop','sex','se','sep','sut','sux','su','sup','surx','sur','syt','syx','sy','syp','syrx','syr','ssit','ssix','ssi','ssip','ssiex','ssie','ssiep','ssat','ssax','ssa','ssap','ssot','ssox','sso','ssop','ssex','sse','ssep','ssut','ssux','ssu','ssup','ssyt','ssyx','ssy','ssyp','ssyrx','ssyr','zhat','zhax','zha','zhap','zhuox','zhuo','zhuop','zhot','zhox','zho','zhop','zhet','zhex','zhe','zhep','zhut','zhux','zhu','zhup','zhurx','zhur','zhyt','zhyx','zhy','zhyp','zhyrx','zhyr','chat','chax','cha','chap','chuot','chuox','chuo','chuop','chot','chox','cho','chop','chet','chex','che','chep','chux','chu','chup','churx','chur','chyt','chyx','chy','chyp','chyrx','chyr','rrax','rra','rruox','rruo','rrot','rrox','rro','rrop','rret','rrex','rre','rrep','rrut','rrux','rru','rrup','rrurx','rrur','rryt','rryx','rry','rryp','rryrx','rryr','nrat','nrax','nra','nrap','nrox','nro','nrop','nret','nrex','nre','nrep','nrut','nrux','nru','nrup','nrurx','nrur','nryt','nryx','nry','nryp','nryrx','nryr','shat','shax','sha','shap','shuox','shuo','shuop','shot','shox','sho','shop','shet','shex','she','shep','shut','shux','shu','shup','shurx','shur','shyt','shyx','shy','shyp','shyrx','shyr','rat','rax','ra','rap','ruox','ruo','ruop','rot','rox','ro','rop','rex','re','rep','rut','rux','ru','rup','rurx','rur','ryt','ryx','ry','ryp','ryrx','ryr','jit','jix','ji','jip','jiet','jiex','jie','jiep','juot','juox','juo','juop','jot','jox','jo','jop','jut','jux','ju','jup','jurx','jur','jyt','jyx','jy','jyp','jyrx','jyr','qit','qix','qi','qip', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x8b.php
app/code/community/Catalin/SEO/Helper/data/x8b.php
<?php $UTF8_TO_ASCII[0x8b] = array( 'Zui ','Can ','Xu ','Hui ','Yin ','Qie ','Fen ','Pi ','Yue ','You ','Ruan ','Peng ','Ban ','Fu ','Ling ','Fei ','Qu ','[?] ','Nu ','Tiao ','Shuo ','Zhen ','Lang ','Lang ','Juan ','Ming ','Huang ','Wang ','Tun ','Zhao ','Ji ','Qi ','Ying ','Zong ','Wang ','Tong ','Lang ','[?] ','Meng ','Long ','Mu ','Deng ','Wei ','Mo ','Ben ','Zha ','Zhu ','Zhu ','[?] ','Zhu ','Ren ','Ba ','Po ','Duo ','Duo ','Dao ','Li ','Qiu ','Ji ','Jiu ','Bi ','Xiu ','Ting ','Ci ','Sha ','Eburi ','Za ','Quan ','Qian ','Yu ','Gan ','Wu ','Cha ','Shan ','Xun ','Fan ','Wu ','Zi ','Li ','Xing ','Cai ','Cun ','Ren ','Shao ','Tuo ','Di ','Zhang ','Mang ','Chi ','Yi ','Gu ','Gong ','Du ','Yi ','Qi ','Shu ','Gang ','Tiao ','Moku ','Soma ','Tochi ','Lai ','Sugi ','Mang ','Yang ','Ma ','Miao ','Si ','Yuan ','Hang ','Fei ','Bei ','Jie ','Dong ','Gao ','Yao ','Xian ','Chu ','Qun ','Pa ','Shu ','Hua ','Xin ','Chou ','Zhu ','Chou ','Song ','Ban ','Song ','Ji ','Yue ','Jin ','Gou ','Ji ','Mao ','Pi ','Bi ','Wang ','Ang ','Fang ','Fen ','Yi ','Fu ','Nan ','Xi ','Hu ','Ya ','Dou ','Xun ','Zhen ','Yao ','Lin ','Rui ','E ','Mei ','Zhao ','Guo ','Zhi ','Cong ','Yun ','Waku ','Dou ','Shu ','Zao ','[?] ','Li ','Haze ','Jian ','Cheng ','Matsu ','Qiang ','Feng ','Nan ','Xiao ','Xian ','Ku ','Ping ','Yi ','Xi ','Zhi ','Guai ','Xiao ','Jia ','Jia ','Gou ','Fu ','Mo ','Yi ','Ye ','Ye ','Shi ','Nie ','Bi ','Duo ','Yi ','Ling ','Bing ','Ni ','La ','He ','Pan ','Fan ','Zhong ','Dai ','Ci ','Yang ','Fu ','Bo ','Mou ','Gan ','Qi ','Ran ','Rou ','Mao ','Zhao ','Song ','Zhe ','Xia ','You ','Shen ','Ju ','Tuo ','Zuo ','Nan ','Ning ','Yong ','Di ','Zhi ','Zha ','Cha ','Dan ','Gu ','Pu ','Jiu ','Ao ','Fu ','Jian ','Bo ','Duo ','Ke ','Nai ','Zhu ','Bi ','Liu ','Chai ','Zha ','Si ','Zhu ','Pei ','Shi ','Guai ','Cha ','Yao ','Jue ','Jiu ','Shi ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x11.php
app/code/community/Catalin/SEO/Helper/data/x11.php
<?php $UTF8_TO_ASCII[0x11] = array( 'k','kh','g','gh','ng','c','ch','j','jh','ny','nny','tt','tth','dd','ddh','nn','tt','th','d','dh','n','p','ph','b','bh','m','y','r','l','w','s','h','ll','a','[?]','i','ii','u','uu','e','[?]','o','au','[?]','aa','i','ii','u','uu','e','ai','[?]','[?]','[?]','N',"'",':','','[?]','[?]','[?]','[?]','[?]','[?]','0','1','2','3','4','5','6','7','8','9',' / ',' // ','n*','r*','l*','e*','sh','ss','R','RR','L','LL','R','RR','L','LL','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','A','B','G','D','E','V','Z','T`','I','K','L','M','N','O','P','Zh','R','S','T','U','P`','K`',"G'",'Q','Sh','Ch`','C`',"Z'",'C','Ch','X','J','H','E','Y','W','Xh','OE','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','a','b','g','d','e','v','z','t`','i','k','l','m','n','o','p','zh','r','s','t','u','p`','k`',"g'",'q','sh','ch`','c`',"z'",'c','ch','x','j','h','e','y','w','xh','oe','f','[?]','[?]','[?]','[?]',' // ','[?]','[?]','[?]', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xbf.php
app/code/community/Catalin/SEO/Helper/data/xbf.php
<?php $UTF8_TO_ASCII[0xbf] = array( 'Kui ','Si ','Liu ','Nao ','Heng ','Pie ','Sui ','Fan ','Qiao ','Quan ','Yang ','Tang ','Xiang ','Jue ','Jiao ','Zun ','Liao ','Jie ','Lao ','Dui ','Tan ','Zan ','Ji ','Jian ','Zhong ','Deng ','Ya ','Ying ','Dui ','Jue ','Nou ','Ti ','Pu ','Tie ','[?] ','[?] ','Ding ','Shan ','Kai ','Jian ','Fei ','Sui ','Lu ','Juan ','Hui ','Yu ','Lian ','Zhuo ','Qiao ','Qian ','Zhuo ','Lei ','Bi ','Tie ','Huan ','Ye ','Duo ','Guo ','Dang ','Ju ','Fen ','Da ','Bei ','Yi ','Ai ','Zong ','Xun ','Diao ','Zhu ','Heng ','Zhui ','Ji ','Nie ','Ta ','Huo ','Qing ','Bin ','Ying ','Kui ','Ning ','Xu ','Jian ','Jian ','Yari ','Cha ','Zhi ','Mie ','Li ','Lei ','Ji ','Zuan ','Kuang ','Shang ','Peng ','La ','Du ','Shuo ','Chuo ','Lu ','Biao ','Bao ','Lu ','[?] ','[?] ','Long ','E ','Lu ','Xin ','Jian ','Lan ','Bo ','Jian ','Yao ','Chan ','Xiang ','Jian ','Xi ','Guan ','Cang ','Nie ','Lei ','Cuan ','Qu ','Pan ','Luo ','Zuan ','Luan ','Zao ','Nie ','Jue ','Tang ','Shu ','Lan ','Jin ','Qiu ','Yi ','Zhen ','Ding ','Zhao ','Po ','Diao ','Tu ','Qian ','Chuan ','Shan ','Ji ','Fan ','Diao ','Men ','Nu ','Xi ','Chai ','Xing ','Gai ','Bu ','Tai ','Ju ','Dun ','Chao ','Zhong ','Na ','Bei ','Gang ','Ban ','Qian ','Yao ','Qin ','Jun ','Wu ','Gou ','Kang ','Fang ','Huo ','Tou ','Niu ','Ba ','Yu ','Qian ','Zheng ','Qian ','Gu ','Bo ','E ','Po ','Bu ','Ba ','Yue ','Zuan ','Mu ','Dan ','Jia ','Dian ','You ','Tie ','Bo ','Ling ','Shuo ','Qian ','Liu ','Bao ','Shi ','Xuan ','She ','Bi ','Ni ','Pi ','Duo ','Xing ','Kao ','Lao ','Er ','Mang ','Ya ','You ','Cheng ','Jia ','Ye ','Nao ','Zhi ','Dang ','Tong ','Lu ','Diao ','Yin ','Kai ','Zha ','Zhu ','Xian ','Ting ','Diu ','Xian ','Hua ','Quan ','Sha ','Jia ','Yao ','Ge ','Ming ','Zheng ','Se ','Jiao ','Yi ','Chan ','Chong ','Tang ','An ','Yin ','Ru ','Zhu ','Lao ','Pu ','Wu ','Lai ','Te ','Lian ','Keng ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x9f.php
app/code/community/Catalin/SEO/Helper/data/x9f.php
<?php $UTF8_TO_ASCII[0x9f] = array( 'Mang ','Zhu ','Utsubo ','Du ','Ji ','Xiao ','Ba ','Suan ','Ji ','Zhen ','Zhao ','Sun ','Ya ','Zhui ','Yuan ','Hu ','Gang ','Xiao ','Cen ','Pi ','Bi ','Jian ','Yi ','Dong ','Shan ','Sheng ','Xia ','Di ','Zhu ','Na ','Chi ','Gu ','Li ','Qie ','Min ','Bao ','Tiao ','Si ','Fu ','Ce ','Ben ','Pei ','Da ','Zi ','Di ','Ling ','Ze ','Nu ','Fu ','Gou ','Fan ','Jia ','Ge ','Fan ','Shi ','Mao ','Po ','Sey ','Jian ','Qiong ','Long ','Souke ','Bian ','Luo ','Gui ','Qu ','Chi ','Yin ','Yao ','Xian ','Bi ','Qiong ','Gua ','Deng ','Jiao ','Jin ','Quan ','Sun ','Ru ','Fa ','Kuang ','Zhu ','Tong ','Ji ','Da ','Xing ','Ce ','Zhong ','Kou ','Lai ','Bi ','Shai ','Dang ','Zheng ','Ce ','Fu ','Yun ','Tu ','Pa ','Li ','Lang ','Ju ','Guan ','Jian ','Han ','Tong ','Xia ','Zhi ','Cheng ','Suan ','Shi ','Zhu ','Zuo ','Xiao ','Shao ','Ting ','Ce ','Yan ','Gao ','Kuai ','Gan ','Chou ','Kago ','Gang ','Yun ','O ','Qian ','Xiao ','Jian ','Pu ','Lai ','Zou ','Bi ','Bi ','Bi ','Ge ','Chi ','Guai ','Yu ','Jian ','Zhao ','Gu ','Chi ','Zheng ','Jing ','Sha ','Zhou ','Lu ','Bo ','Ji ','Lin ','Suan ','Jun ','Fu ','Zha ','Gu ','Kong ','Qian ','Quan ','Jun ','Chui ','Guan ','Yuan ','Ce ','Ju ','Bo ','Ze ','Qie ','Tuo ','Luo ','Dan ','Xiao ','Ruo ','Jian ','Xuan ','Bian ','Sun ','Xiang ','Xian ','Ping ','Zhen ','Sheng ','Hu ','Shi ','Zhu ','Yue ','Chun ','Lu ','Wu ','Dong ','Xiao ','Ji ','Jie ','Huang ','Xing ','Mei ','Fan ','Chui ','Zhuan ','Pian ','Feng ','Zhu ','Hong ','Qie ','Hou ','Qiu ','Miao ','Qian ','[?] ','Kui ','Sik ','Lou ','Yun ','He ','Tang ','Yue ','Chou ','Gao ','Fei ','Ruo ','Zheng ','Gou ','Nie ','Qian ','Xiao ','Cuan ','Gong ','Pang ','Du ','Li ','Bi ','Zhuo ','Chu ','Shai ','Chi ','Zhu ','Qiang ','Long ','Lan ','Jian ','Bu ','Li ','Hui ','Bi ','Di ','Cong ','Yan ','Peng ','Sen ','Zhuan ','Pai ','Piao ','Dou ','Yu ','Mie ','Zhuan ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x61.php
app/code/community/Catalin/SEO/Helper/data/x61.php
<?php $UTF8_TO_ASCII[0x61] = array( );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x80.php
app/code/community/Catalin/SEO/Helper/data/x80.php
<?php $UTF8_TO_ASCII[0x80] = array( 'Po ','Feng ','Zhuan ','Fu ','She ','Ke ','Jiang ','Jiang ','Zhuan ','Wei ','Zun ','Xun ','Shu ','Dui ','Dao ','Xiao ','Ji ','Shao ','Er ','Er ','Er ','Ga ','Jian ','Shu ','Chen ','Shang ','Shang ','Mo ','Ga ','Chang ','Liao ','Xian ','Xian ','[?] ','Wang ','Wang ','You ','Liao ','Liao ','Yao ','Mang ','Wang ','Wang ','Wang ','Ga ','Yao ','Duo ','Kui ','Zhong ','Jiu ','Gan ','Gu ','Gan ','Tui ','Gan ','Gan ','Shi ','Yin ','Chi ','Kao ','Ni ','Jin ','Wei ','Niao ','Ju ','Pi ','Ceng ','Xi ','Bi ','Ju ','Jie ','Tian ','Qu ','Ti ','Jie ','Wu ','Diao ','Shi ','Shi ','Ping ','Ji ','Xie ','Chen ','Xi ','Ni ','Zhan ','Xi ','[?] ','Man ','E ','Lou ','Ping ','Ti ','Fei ','Shu ','Xie ','Tu ','Lu ','Lu ','Xi ','Ceng ','Lu ','Ju ','Xie ','Ju ','Jue ','Liao ','Jue ','Shu ','Xi ','Che ','Tun ','Ni ','Shan ','[?] ','Xian ','Li ','Xue ','Nata ','[?] ','Long ','Yi ','Qi ','Ren ','Wu ','Han ','Shen ','Yu ','Chu ','Sui ','Qi ','[?] ','Yue ','Ban ','Yao ','Ang ','Ya ','Wu ','Jie ','E ','Ji ','Qian ','Fen ','Yuan ','Qi ','Cen ','Qian ','Qi ','Cha ','Jie ','Qu ','Gang ','Xian ','Ao ','Lan ','Dao ','Ba ','Zuo ','Zuo ','Yang ','Ju ','Gang ','Ke ','Gou ','Xue ','Bei ','Li ','Tiao ','Ju ','Yan ','Fu ','Xiu ','Jia ','Ling ','Tuo ','Pei ','You ','Dai ','Kuang ','Yue ','Qu ','Hu ','Po ','Min ','An ','Tiao ','Ling ','Chi ','Yuri ','Dong ','Cem ','Kui ','Xiu ','Mao ','Tong ','Xue ','Yi ','Kura ','He ','Ke ','Luo ','E ','Fu ','Xun ','Die ','Lu ','An ','Er ','Gai ','Quan ','Tong ','Yi ','Mu ','Shi ','An ','Wei ','Hu ','Zhi ','Mi ','Li ','Ji ','Tong ','Wei ','You ','Sang ','Xia ','Li ','Yao ','Jiao ','Zheng ','Luan ','Jiao ','E ','E ','Yu ','Ye ','Bu ','Qiao ','Qun ','Feng ','Feng ','Nao ','Li ','You ','Xian ','Hong ','Dao ','Shen ','Cheng ','Tu ','Geng ','Jun ','Hao ','Xia ','Yin ','Yu ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x52.php
app/code/community/Catalin/SEO/Helper/data/x52.php
<?php $UTF8_TO_ASCII[0x52] = array( '[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?]','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?] ','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x64.php
app/code/community/Catalin/SEO/Helper/data/x64.php
<?php $UTF8_TO_ASCII[0x64] = array( );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xa0.php
app/code/community/Catalin/SEO/Helper/data/xa0.php
<?php $UTF8_TO_ASCII[0xa0] = array( 'Ze ','Xi ','Guo ','Yi ','Hu ','Chan ','Kou ','Cu ','Ping ','Chou ','Ji ','Gui ','Su ','Lou ','Zha ','Lu ','Nian ','Suo ','Cuan ','Sasara ','Suo ','Le ','Duan ','Yana ','Xiao ','Bo ','Mi ','Si ','Dang ','Liao ','Dan ','Dian ','Fu ','Jian ','Min ','Kui ','Dai ','Qiao ','Deng ','Huang ','Sun ','Lao ','Zan ','Xiao ','Du ','Shi ','Zan ','[?] ','Pai ','Hata ','Pai ','Gan ','Ju ','Du ','Lu ','Yan ','Bo ','Dang ','Sai ','Ke ','Long ','Qian ','Lian ','Bo ','Zhou ','Lai ','[?] ','Lan ','Kui ','Yu ','Yue ','Hao ','Zhen ','Tai ','Ti ','Mi ','Chou ','Ji ','[?] ','Hata ','Teng ','Zhuan ','Zhou ','Fan ','Sou ','Zhou ','Kuji ','Zhuo ','Teng ','Lu ','Lu ','Jian ','Tuo ','Ying ','Yu ','Lai ','Long ','Shinshi ','Lian ','Lan ','Qian ','Yue ','Zhong ','Qu ','Lian ','Bian ','Duan ','Zuan ','Li ','Si ','Luo ','Ying ','Yue ','Zhuo ','Xu ','Mi ','Di ','Fan ','Shen ','Zhe ','Shen ','Nu ','Xie ','Lei ','Xian ','Zi ','Ni ','Cun ','[?] ','Qian ','Kume ','Bi ','Ban ','Wu ','Sha ','Kang ','Rou ','Fen ','Bi ','Cui ','[?] ','Li ','Chi ','Nukamiso ','Ro ','Ba ','Li ','Gan ','Ju ','Po ','Mo ','Cu ','Nian ','Zhou ','Li ','Su ','Tiao ','Li ','Qi ','Su ','Hong ','Tong ','Zi ','Ce ','Yue ','Zhou ','Lin ','Zhuang ','Bai ','[?] ','Fen ','Ji ','[?] ','Sukumo ','Liang ','Xian ','Fu ','Liang ','Can ','Geng ','Li ','Yue ','Lu ','Ju ','Qi ','Cui ','Bai ','Zhang ','Lin ','Zong ','Jing ','Guo ','Kouji ','San ','San ','Tang ','Bian ','Rou ','Mian ','Hou ','Xu ','Zong ','Hu ','Jian ','Zan ','Ci ','Li ','Xie ','Fu ','Ni ','Bei ','Gu ','Xiu ','Gao ','Tang ','Qiu ','Sukumo ','Cao ','Zhuang ','Tang ','Mi ','San ','Fen ','Zao ','Kang ','Jiang ','Mo ','San ','San ','Nuo ','Xi ','Liang ','Jiang ','Kuai ','Bo ','Huan ','[?] ','Zong ','Xian ','Nuo ','Tuan ','Nie ','Li ','Zuo ','Di ','Nie ','Tiao ','Lan ','Mi ','Jiao ','Jiu ','Xi ','Gong ','Zheng ','Jiu ','You ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x30.php
app/code/community/Catalin/SEO/Helper/data/x30.php
<?php $UTF8_TO_ASCII[0x30] = array( '-','-','|','|','-','-','|','|','-','-','|','|','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','-','-','|','|','-','|','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','+','/','\\','X','-','|','-','|','-','|','-','|','-','|','-','|','#','#','#','#','#','#','#','#','#','#','#','#','#','#','#','#','#','#','#','#','-','|','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','#','#','#','#','#','#','#','#','#','#','#','#','#','#','#','#','#','#','^','^','^','^','>','>','>','>','>','>','V','V','V','V','<','<','<','<','<','<','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','#','#','#','#','#','^','^','^','O','#','#','#','#','#','#','#','#','[?]','[?]','[?]','[?]','[?]','[?]','[?]', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xbc.php
app/code/community/Catalin/SEO/Helper/data/xbc.php
<?php $UTF8_TO_ASCII[0xbc] = array( 'Ruo ','Bei ','E ','Yu ','Juan ','Yu ','Yun ','Hou ','Kui ','Xiang ','Xiang ','Sou ','Tang ','Ming ','Xi ','Ru ','Chu ','Zi ','Zou ','Ju ','Wu ','Xiang ','Yun ','Hao ','Yong ','Bi ','Mo ','Chao ','Fu ','Liao ','Yin ','Zhuan ','Hu ','Qiao ','Yan ','Zhang ','Fan ','Qiao ','Xu ','Deng ','Bi ','Xin ','Bi ','Ceng ','Wei ','Zheng ','Mao ','Shan ','Lin ','Po ','Dan ','Meng ','Ye ','Cao ','Kuai ','Feng ','Meng ','Zou ','Kuang ','Lian ','Zan ','Chan ','You ','Qi ','Yan ','Chan ','Zan ','Ling ','Huan ','Xi ','Feng ','Zan ','Li ','You ','Ding ','Qiu ','Zhuo ','Pei ','Zhou ','Yi ','Hang ','Yu ','Jiu ','Yan ','Zui ','Mao ','Dan ','Xu ','Tou ','Zhen ','Fen ','Sakenomoto ','[?] ','Yun ','Tai ','Tian ','Qia ','Tuo ','Zuo ','Han ','Gu ','Su ','Po ','Chou ','Zai ','Ming ','Luo ','Chuo ','Chou ','You ','Tong ','Zhi ','Xian ','Jiang ','Cheng ','Yin ','Tu ','Xiao ','Mei ','Ku ','Suan ','Lei ','Pu ','Zui ','Hai ','Yan ','Xi ','Niang ','Wei ','Lu ','Lan ','Yan ','Tao ','Pei ','Zhan ','Chun ','Tan ','Zui ','Chuo ','Cu ','Kun ','Ti ','Mian ','Du ','Hu ','Xu ','Xing ','Tan ','Jiu ','Chun ','Yun ','Po ','Ke ','Sou ','Mi ','Quan ','Chou ','Cuo ','Yun ','Yong ','Ang ','Zha ','Hai ','Tang ','Jiang ','Piao ','Shan ','Yu ','Li ','Zao ','Lao ','Yi ','Jiang ','Pu ','Jiao ','Xi ','Tan ','Po ','Nong ','Yi ','Li ','Ju ','Jiao ','Yi ','Niang ','Ru ','Xun ','Chou ','Yan ','Ling ','Mi ','Mi ','Niang ','Xin ','Jiao ','Xi ','Mi ','Yan ','Bian ','Cai ','Shi ','You ','Shi ','Shi ','Li ','Zhong ','Ye ','Liang ','Li ','Jin ','Jin ','Qiu ','Yi ','Diao ','Dao ','Zhao ','Ding ','Po ','Qiu ','He ','Fu ','Zhen ','Zhi ','Ba ','Luan ','Fu ','Nai ','Diao ','Shan ','Qiao ','Kou ','Chuan ','Zi ','Fan ','Yu ','Hua ','Han ','Gong ','Qi ','Mang ','Ri ','Di ','Si ','Xi ','Yi ','Chai ','Shi ','Tu ','Xi ','Nu ','Qian ','Ishiyumi ','Jian ','Pi ','Ye ','Yin ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x8a.php
app/code/community/Catalin/SEO/Helper/data/x8a.php
<?php $UTF8_TO_ASCII[0x8a] = array( 'Yun ','Bei ','Ang ','Ze ','Ban ','Jie ','Kun ','Sheng ','Hu ','Fang ','Hao ','Gui ','Chang ','Xuan ','Ming ','Hun ','Fen ','Qin ','Hu ','Yi ','Xi ','Xin ','Yan ','Ze ','Fang ','Tan ','Shen ','Ju ','Yang ','Zan ','Bing ','Xing ','Ying ','Xuan ','Pei ','Zhen ','Ling ','Chun ','Hao ','Mei ','Zuo ','Mo ','Bian ','Xu ','Hun ','Zhao ','Zong ','Shi ','Shi ','Yu ','Fei ','Die ','Mao ','Ni ','Chang ','Wen ','Dong ','Ai ','Bing ','Ang ','Zhou ','Long ','Xian ','Kuang ','Tiao ','Chao ','Shi ','Huang ','Huang ','Xuan ','Kui ','Xu ','Jiao ','Jin ','Zhi ','Jin ','Shang ','Tong ','Hong ','Yan ','Gai ','Xiang ','Shai ','Xiao ','Ye ','Yun ','Hui ','Han ','Han ','Jun ','Wan ','Xian ','Kun ','Zhou ','Xi ','Cheng ','Sheng ','Bu ','Zhe ','Zhe ','Wu ','Han ','Hui ','Hao ','Chen ','Wan ','Tian ','Zhuo ','Zui ','Zhou ','Pu ','Jing ','Xi ','Shan ','Yi ','Xi ','Qing ','Qi ','Jing ','Gui ','Zhen ','Yi ','Zhi ','An ','Wan ','Lin ','Liang ','Chang ','Wang ','Xiao ','Zan ','Hi ','Xuan ','Xuan ','Yi ','Xia ','Yun ','Hui ','Fu ','Min ','Kui ','He ','Ying ','Du ','Wei ','Shu ','Qing ','Mao ','Nan ','Jian ','Nuan ','An ','Yang ','Chun ','Yao ','Suo ','Jin ','Ming ','Jiao ','Kai ','Gao ','Weng ','Chang ','Qi ','Hao ','Yan ','Li ','Ai ','Ji ','Gui ','Men ','Zan ','Xie ','Hao ','Mu ','Mo ','Cong ','Ni ','Zhang ','Hui ','Bao ','Han ','Xuan ','Chuan ','Liao ','Xian ','Dan ','Jing ','Pie ','Lin ','Tun ','Xi ','Yi ','Ji ','Huang ','Tai ','Ye ','Ye ','Li ','Tan ','Tong ','Xiao ','Fei ','Qin ','Zhao ','Hao ','Yi ','Xiang ','Xing ','Sen ','Jiao ','Bao ','Jing ','Yian ','Ai ','Ye ','Ru ','Shu ','Meng ','Xun ','Yao ','Pu ','Li ','Chen ','Kuang ','Die ','[?] ','Yan ','Huo ','Lu ','Xi ','Rong ','Long ','Nang ','Luo ','Luan ','Shai ','Tang ','Yan ','Chu ','Yue ','Yue ','Qu ','Yi ','Geng ','Ye ','Hu ','He ','Shu ','Cao ','Cao ','Noboru ','Man ','Ceng ','Ceng ','Ti ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x5b.php
app/code/community/Catalin/SEO/Helper/data/x5b.php
<?php $UTF8_TO_ASCII[0x5b] = array( );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x14.php
app/code/community/Catalin/SEO/Helper/data/x14.php
<?php $UTF8_TO_ASCII[0x14] = array( 'ja','ju','ji','jaa','jee','je','jo','jwa','ga','gu','gi','gaa','gee','ge','go','[?]','gwa','[?]','gwi','gwaa','gwee','gwe','[?]','[?]','gga','ggu','ggi','ggaa','ggee','gge','ggo','[?]','tha','thu','thi','thaa','thee','the','tho','thwa','cha','chu','chi','chaa','chee','che','cho','chwa','pha','phu','phi','phaa','phee','phe','pho','phwa','tsa','tsu','tsi','tsaa','tsee','tse','tso','tswa','tza','tzu','tzi','tzaa','tzee','tze','tzo','[?]','fa','fu','fi','faa','fee','fe','fo','fwa','pa','pu','pi','paa','pee','pe','po','pwa','rya','mya','fya','[?]','[?]','[?]','[?]','[?]','[?]',' ','.',',',';',':',':: ','?','//','1','2','3','4','5','6','7','8','9','10+','20+','30+','40+','50+','60+','70+','80+','90+','100+','10,000+','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','a','e','i','o','u','v','ga','ka','ge','gi','go','gu','gv','ha','he','hi','ho','hu','hv','la','le','li','lo','lu','lv','ma','me','mi','mo','mu','na','hna','nah','ne','ni','no','nu','nv','qua','que','qui','quo','quu','quv','sa','s','se','si','so','su','sv','da','ta','de','te','di','ti','do','du','dv','dla','tla','tle','tli','tlo','tlu','tlv','tsa','tse','tsi','tso','tsu','tsv','wa','we','wi','wo','wu','wv','ya','ye','yi','yo','yu','yv','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x62.php
app/code/community/Catalin/SEO/Helper/data/x62.php
<?php $UTF8_TO_ASCII[0x62] = array( );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xcf.php
app/code/community/Catalin/SEO/Helper/data/xcf.php
<?php $UTF8_TO_ASCII[0xcf] = array( 'qiet','qiex','qie','qiep','quot','quox','quo','quop','qot','qox','qo','qop','qut','qux','qu','qup','qurx','qur','qyt','qyx','qy','qyp','qyrx','qyr','jjit','jjix','jji','jjip','jjiet','jjiex','jjie','jjiep','jjuox','jjuo','jjuop','jjot','jjox','jjo','jjop','jjut','jjux','jju','jjup','jjurx','jjur','jjyt','jjyx','jjy','jjyp','njit','njix','nji','njip','njiet','njiex','njie','njiep','njuox','njuo','njot','njox','njo','njop','njux','nju','njup','njurx','njur','njyt','njyx','njy','njyp','njyrx','njyr','nyit','nyix','nyi','nyip','nyiet','nyiex','nyie','nyiep','nyuox','nyuo','nyuop','nyot','nyox','nyo','nyop','nyut','nyux','nyu','nyup','xit','xix','xi','xip','xiet','xiex','xie','xiep','xuox','xuo','xot','xox','xo','xop','xyt','xyx','xy','xyp','xyrx','xyr','yit','yix','yi','yip','yiet','yiex','yie','yiep','yuot','yuox','yuo','yuop','yot','yox','yo','yop','yut','yux','yu','yup','yurx','yur','yyt','yyx','yy','yyp','yyrx','yyr','[?]','[?]','[?]','Qot','Li','Kit','Nyip','Cyp','Ssi','Ggop','Gep','Mi','Hxit','Lyr','Bbut','Mop','Yo','Put','Hxuo','Tat','Ga','[?]','[?]','Ddur','Bur','Gguo','Nyop','Tu','Op','Jjut','Zot','Pyt','Hmo','Yit','Vur','Shy','Vep','Za','Jo','[?]','Jjy','Got','Jjie','Wo','Du','Shur','Lie','Cy','Cuop','Cip','Hxop','Shat','[?]','Shop','Che','Zziet','[?]','Ke','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x9b.php
app/code/community/Catalin/SEO/Helper/data/x9b.php
<?php $UTF8_TO_ASCII[0x9b] = array( 'Ming ','Sheng ','Shi ','Yun ','Mian ','Pan ','Fang ','Miao ','Dan ','Mei ','Mao ','Kan ','Xian ','Ou ','Shi ','Yang ','Zheng ','Yao ','Shen ','Huo ','Da ','Zhen ','Kuang ','Ju ','Shen ','Chi ','Sheng ','Mei ','Mo ','Zhu ','Zhen ','Zhen ','Mian ','Di ','Yuan ','Die ','Yi ','Zi ','Zi ','Chao ','Zha ','Xuan ','Bing ','Mi ','Long ','Sui ','Dong ','Mi ','Die ','Yi ','Er ','Ming ','Xuan ','Chi ','Kuang ','Juan ','Mou ','Zhen ','Tiao ','Yang ','Yan ','Mo ','Zhong ','Mai ','Zhao ','Zheng ','Mei ','Jun ','Shao ','Han ','Huan ','Di ','Cheng ','Cuo ','Juan ','E ','Wan ','Xian ','Xi ','Kun ','Lai ','Jian ','Shan ','Tian ','Hun ','Wan ','Ling ','Shi ','Qiong ','Lie ','Yai ','Jing ','Zheng ','Li ','Lai ','Sui ','Juan ','Shui ','Sui ','Du ','Bi ','Bi ','Mu ','Hun ','Ni ','Lu ','Yi ','Jie ','Cai ','Zhou ','Yu ','Hun ','Ma ','Xia ','Xing ','Xi ','Gun ','Cai ','Chun ','Jian ','Mei ','Du ','Hou ','Xuan ','Ti ','Kui ','Gao ','Rui ','Mou ','Xu ','Fa ','Wen ','Miao ','Chou ','Kui ','Mi ','Weng ','Kou ','Dang ','Chen ','Ke ','Sou ','Xia ','Qiong ','Mao ','Ming ','Man ','Shui ','Ze ','Zhang ','Yi ','Diao ','Ou ','Mo ','Shun ','Cong ','Lou ','Chi ','Man ','Piao ','Cheng ','Ji ','Meng ','[?] ','Run ','Pie ','Xi ','Qiao ','Pu ','Zhu ','Deng ','Shen ','Shun ','Liao ','Che ','Xian ','Kan ','Ye ','Xu ','Tong ','Mou ','Lin ','Kui ','Xian ','Ye ','Ai ','Hui ','Zhan ','Jian ','Gu ','Zhao ','Qu ','Wei ','Chou ','Sao ','Ning ','Xun ','Yao ','Huo ','Meng ','Mian ','Bin ','Mian ','Li ','Kuang ','Jue ','Xuan ','Mian ','Huo ','Lu ','Meng ','Long ','Guan ','Man ','Xi ','Chu ','Tang ','Kan ','Zhu ','Mao ','Jin ','Lin ','Yu ','Shuo ','Ce ','Jue ','Shi ','Yi ','Shen ','Zhi ','Hou ','Shen ','Ying ','Ju ','Zhou ','Jiao ','Cuo ','Duan ','Ai ','Jiao ','Zeng ','Huo ','Bai ','Shi ','Ding ','Qi ','Ji ','Zi ','Gan ','Wu ','Tuo ','Ku ','Qiang ','Xi ','Fan ','Kuang ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xba.php
app/code/community/Catalin/SEO/Helper/data/xba.php
<?php $UTF8_TO_ASCII[0xba] = array( 'Er ','Qiong ','Ju ','Jiao ','Guang ','Lu ','Kai ','Quan ','Zhou ','Zai ','Zhi ','She ','Liang ','Yu ','Shao ','You ','Huan ','Yun ','Zhe ','Wan ','Fu ','Qing ','Zhou ','Ni ','Ling ','Zhe ','Zhan ','Liang ','Zi ','Hui ','Wang ','Chuo ','Guo ','Kan ','Yi ','Peng ','Qian ','Gun ','Nian ','Pian ','Guan ','Bei ','Lun ','Pai ','Liang ','Ruan ','Rou ','Ji ','Yang ','Xian ','Chuan ','Cou ','Qun ','Ge ','You ','Hong ','Shu ','Fu ','Zi ','Fu ','Wen ','Ben ','Zhan ','Yu ','Wen ','Tao ','Gu ','Zhen ','Xia ','Yuan ','Lu ','Jiu ','Chao ','Zhuan ','Wei ','Hun ','Sori ','Che ','Jiao ','Zhan ','Pu ','Lao ','Fen ','Fan ','Lin ','Ge ','Se ','Kan ','Huan ','Yi ','Ji ','Dui ','Er ','Yu ','Xian ','Hong ','Lei ','Pei ','Li ','Li ','Lu ','Lin ','Che ','Ya ','Gui ','Xuan ','Di ','Ren ','Zhuan ','E ','Lun ','Ruan ','Hong ','Ku ','Ke ','Lu ','Zhou ','Zhi ','Yi ','Hu ','Zhen ','Li ','Yao ','Qing ','Shi ','Zai ','Zhi ','Jiao ','Zhou ','Quan ','Lu ','Jiao ','Zhe ','Fu ','Liang ','Nian ','Bei ','Hui ','Gun ','Wang ','Liang ','Chuo ','Zi ','Cou ','Fu ','Ji ','Wen ','Shu ','Pei ','Yuan ','Xia ','Zhan ','Lu ','Che ','Lin ','Xin ','Gu ','Ci ','Ci ','Pi ','Zui ','Bian ','La ','La ','Ci ','Xue ','Ban ','Bian ','Bian ','Bian ','[?] ','Bian ','Ban ','Ci ','Bian ','Bian ','Chen ','Ru ','Nong ','Nong ','Zhen ','Chuo ','Chuo ','Suberu ','Reng ','Bian ','Bian ','Sip ','Ip ','Liao ','Da ','Chan ','Gan ','Qian ','Yu ','Yu ','Qi ','Xun ','Yi ','Guo ','Mai ','Qi ','Za ','Wang ','Jia ','Zhun ','Ying ','Ti ','Yun ','Jin ','Hang ','Ya ','Fan ','Wu ','Da ','E ','Huan ','Zhe ','Totemo ','Jin ','Yuan ','Wei ','Lian ','Chi ','Che ','Ni ','Tiao ','Zhi ','Yi ','Jiong ','Jia ','Chen ','Dai ','Er ','Di ','Po ','Wang ','Die ','Ze ','Tao ','Shu ','Tuo ','Kep ','Jing ','Hui ','Tong ','You ','Mi ','Beng ','Ji ','Nai ','Yi ','Jie ','Zhui ','Lie ','Xun ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x31.php
app/code/community/Catalin/SEO/Helper/data/x31.php
<?php $UTF8_TO_ASCII[0x31] = array( '','','','','','','','','','','','','','','','','','','','','[?]','[?]','[?]','[?]','[?]','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xc6.php
app/code/community/Catalin/SEO/Helper/data/xc6.php
<?php $UTF8_TO_ASCII[0xc6] = array( 'Ti ','Li ','Bin ','Zong ','Ti ','Peng ','Song ','Zheng ','Quan ','Zong ','Shun ','Jian ','Duo ','Hu ','La ','Jiu ','Qi ','Lian ','Zhen ','Bin ','Peng ','Mo ','San ','Man ','Man ','Seng ','Xu ','Lie ','Qian ','Qian ','Nong ','Huan ','Kuai ','Ning ','Bin ','Lie ','Rang ','Dou ','Dou ','Nao ','Hong ','Xi ','Dou ','Han ','Dou ','Dou ','Jiu ','Chang ','Yu ','Yu ','Li ','Juan ','Fu ','Qian ','Gui ','Zong ','Liu ','Gui ','Shang ','Yu ','Gui ','Mei ','Ji ','Qi ','Jie ','Kui ','Hun ','Ba ','Po ','Mei ','Xu ','Yan ','Xiao ','Liang ','Yu ','Tui ','Qi ','Wang ','Liang ','Wei ','Jian ','Chi ','Piao ','Bi ','Mo ','Ji ','Xu ','Chou ','Yan ','Zhan ','Yu ','Dao ','Ren ','Ji ','Eri ','Gong ','Tuo ','Diao ','Ji ','Xu ','E ','E ','Sha ','Hang ','Tun ','Mo ','Jie ','Shen ','Fan ','Yuan ','Bi ','Lu ','Wen ','Hu ','Lu ','Za ','Fang ','Fen ','Na ','You ','Namazu ','Todo ','He ','Xia ','Qu ','Han ','Pi ','Ling ','Tuo ','Bo ','Qiu ','Ping ','Fu ','Bi ','Ji ','Wei ','Ju ','Diao ','Bo ','You ','Gun ','Pi ','Nian ','Xing ','Tai ','Bao ','Fu ','Zha ','Ju ','Gu ','Kajika ','Tong ','[?] ','Ta ','Jie ','Shu ','Hou ','Xiang ','Er ','An ','Wei ','Tiao ','Zhu ','Yin ','Lie ','Luo ','Tong ','Yi ','Qi ','Bing ','Wei ','Jiao ','Bu ','Gui ','Xian ','Ge ','Hui ','Bora ','Mate ','Kao ','Gori ','Duo ','Jun ','Ti ','Man ','Xiao ','Za ','Sha ','Qin ','Yu ','Nei ','Zhe ','Gun ','Geng ','Su ','Wu ','Qiu ','Ting ','Fu ','Wan ','You ','Li ','Sha ','Sha ','Gao ','Meng ','Ugui ','Asari ','Subashiri ','Kazunoko ','Yong ','Ni ','Zi ','Qi ','Qing ','Xiang ','Nei ','Chun ','Ji ','Diao ','Qie ','Gu ','Zhou ','Dong ','Lai ','Fei ','Ni ','Yi ','Kun ','Lu ','Jiu ','Chang ','Jing ','Lun ','Ling ','Zou ','Li ','Meng ','Zong ','Zhi ','Nian ','Shachi ','Dojou ','Sukesou ','Shi ','Shen ','Hun ','Shi ','Hou ','Xing ','Zhu ','La ','Zong ','Ji ','Bian ','Bian ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x88.php
app/code/community/Catalin/SEO/Helper/data/x88.php
<?php $UTF8_TO_ASCII[0x88] = array( 'Chan ','Ge ','Lou ','Zong ','Geng ','Jiao ','Gou ','Qin ','Yong ','Que ','Chou ','Chi ','Zhan ','Sun ','Sun ','Bo ','Chu ','Rong ','Beng ','Cuo ','Sao ','Ke ','Yao ','Dao ','Zhi ','Nu ','Xie ','Jian ','Sou ','Qiu ','Gao ','Xian ','Shuo ','Sang ','Jin ','Mie ','E ','Chui ','Nuo ','Shan ','Ta ','Jie ','Tang ','Pan ','Ban ','Da ','Li ','Tao ','Hu ','Zhi ','Wa ','Xia ','Qian ','Wen ','Qiang ','Tian ','Zhen ','E ','Xi ','Nuo ','Quan ','Cha ','Zha ','Ge ','Wu ','En ','She ','Kang ','She ','Shu ','Bai ','Yao ','Bin ','Sou ','Tan ','Sa ','Chan ','Suo ','Liao ','Chong ','Chuang ','Guo ','Bing ','Feng ','Shuai ','Di ','Qi ','Sou ','Zhai ','Lian ','Tang ','Chi ','Guan ','Lu ','Luo ','Lou ','Zong ','Gai ','Hu ','Zha ','Chuang ','Tang ','Hua ','Cui ','Nai ','Mo ','Jiang ','Gui ','Ying ','Zhi ','Ao ','Zhi ','Nie ','Man ','Shan ','Kou ','Shu ','Suo ','Tuan ','Jiao ','Mo ','Mo ','Zhe ','Xian ','Keng ','Piao ','Jiang ','Yin ','Gou ','Qian ','Lue ','Ji ','Ying ','Jue ','Pie ','Pie ','Lao ','Dun ','Xian ','Ruan ','Kui ','Zan ','Yi ','Xun ','Cheng ','Cheng ','Sa ','Nao ','Heng ','Si ','Qian ','Huang ','Da ','Zun ','Nian ','Lin ','Zheng ','Hui ','Zhuang ','Jiao ','Ji ','Cao ','Dan ','Dan ','Che ','Bo ','Che ','Jue ','Xiao ','Liao ','Ben ','Fu ','Qiao ','Bo ','Cuo ','Zhuo ','Zhuan ','Tuo ','Pu ','Qin ','Dun ','Nian ','[?] ','Xie ','Lu ','Jiao ','Cuan ','Ta ','Han ','Qiao ','Zhua ','Jian ','Gan ','Yong ','Lei ','Kuo ','Lu ','Shan ','Zhuo ','Ze ','Pu ','Chuo ','Ji ','Dang ','Suo ','Cao ','Qing ','Jing ','Huan ','Jie ','Qin ','Kuai ','Dan ','Xi ','Ge ','Pi ','Bo ','Ao ','Ju ','Ye ','[?] ','Mang ','Sou ','Mi ','Ji ','Tai ','Zhuo ','Dao ','Xing ','Lan ','Ca ','Ju ','Ye ','Ru ','Ye ','Ye ','Ni ','Hu ','Ji ','Bin ','Ning ','Ge ','Zhi ','Jie ','Kuo ','Mo ','Jian ','Xie ','Lie ','Tan ','Bai ','Sou ','Lu ','Lue ','Rao ','Zhi ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x6b.php
app/code/community/Catalin/SEO/Helper/data/x6b.php
<?php $UTF8_TO_ASCII[0x6b] = array( );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xcb.php
app/code/community/Catalin/SEO/Helper/data/xcb.php
<?php $UTF8_TO_ASCII[0xcb] = array( 'it','ix','i','ip','iet','iex','ie','iep','at','ax','a','ap','uox','uo','uop','ot','ox','o','op','ex','e','wu','bit','bix','bi','bip','biet','biex','bie','biep','bat','bax','ba','bap','buox','buo','buop','bot','box','bo','bop','bex','be','bep','but','bux','bu','bup','burx','bur','byt','byx','by','byp','byrx','byr','pit','pix','pi','pip','piex','pie','piep','pat','pax','pa','pap','puox','puo','puop','pot','pox','po','pop','put','pux','pu','pup','purx','pur','pyt','pyx','py','pyp','pyrx','pyr','bbit','bbix','bbi','bbip','bbiet','bbiex','bbie','bbiep','bbat','bbax','bba','bbap','bbuox','bbuo','bbuop','bbot','bbox','bbo','bbop','bbex','bbe','bbep','bbut','bbux','bbu','bbup','bburx','bbur','bbyt','bbyx','bby','bbyp','nbit','nbix','nbi','nbip','nbiex','nbie','nbiep','nbat','nbax','nba','nbap','nbot','nbox','nbo','nbop','nbut','nbux','nbu','nbup','nburx','nbur','nbyt','nbyx','nby','nbyp','nbyrx','nbyr','hmit','hmix','hmi','hmip','hmiex','hmie','hmiep','hmat','hmax','hma','hmap','hmuox','hmuo','hmuop','hmot','hmox','hmo','hmop','hmut','hmux','hmu','hmup','hmurx','hmur','hmyx','hmy','hmyp','hmyrx','hmyr','mit','mix','mi','mip','miex','mie','miep','mat','max','ma','map','muot','muox','muo','muop','mot','mox','mo','mop','mex','me','mut','mux','mu','mup','murx','mur','myt','myx','my','myp','fit','fix','fi','fip','fat','fax','fa','fap','fox','fo','fop','fut','fux','fu','fup','furx','fur','fyt','fyx','fy','fyp','vit','vix','vi','vip','viet','viex','vie','viep','vat','vax','va','vap','vot','vox','vo','vop','vex','vep','vut','vux','vu','vup','vurx','vur','vyt','vyx','vy','vyp','vyrx','vyr', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x86.php
app/code/community/Catalin/SEO/Helper/data/x86.php
<?php $UTF8_TO_ASCII[0x86] = array( 'Lian ','Nan ','Mi ','Tang ','Jue ','Gang ','Gang ','Gang ','Ge ','Yue ','Wu ','Jian ','Xu ','Shu ','Rong ','Xi ','Cheng ','Wo ','Jie ','Ge ','Jian ','Qiang ','Huo ','Qiang ','Zhan ','Dong ','Qi ','Jia ','Die ','Zei ','Jia ','Ji ','Shi ','Kan ','Ji ','Kui ','Gai ','Deng ','Zhan ','Chuang ','Ge ','Jian ','Jie ','Yu ','Jian ','Yan ','Lu ','Xi ','Zhan ','Xi ','Xi ','Chuo ','Dai ','Qu ','Hu ','Hu ','Hu ','E ','Shi ','Li ','Mao ','Hu ','Li ','Fang ','Suo ','Bian ','Dian ','Jiong ','Shang ','Yi ','Yi ','Shan ','Hu ','Fei ','Yan ','Shou ','T ','Cai ','Zha ','Qiu ','Le ','Bu ','Ba ','Da ','Reng ','Fu ','Hameru ','Zai ','Tuo ','Zhang ','Diao ','Kang ','Yu ','Ku ','Han ','Shen ','Cha ','Yi ','Gu ','Kou ','Wu ','Tuo ','Qian ','Zhi ','Ren ','Kuo ','Men ','Sao ','Yang ','Niu ','Ban ','Che ','Rao ','Xi ','Qian ','Ban ','Jia ','Yu ','Fu ','Ao ','Xi ','Pi ','Zhi ','Zi ','E ','Dun ','Zhao ','Cheng ','Ji ','Yan ','Kuang ','Bian ','Chao ','Ju ','Wen ','Hu ','Yue ','Jue ','Ba ','Qin ','Zhen ','Zheng ','Yun ','Wan ','Nu ','Yi ','Shu ','Zhua ','Pou ','Tou ','Dou ','Kang ','Zhe ','Pou ','Fu ','Pao ','Ba ','Ao ','Ze ','Tuan ','Kou ','Lun ','Qiang ','[?] ','Hu ','Bao ','Bing ','Zhi ','Peng ','Tan ','Pu ','Pi ','Tai ','Yao ','Zhen ','Zha ','Yang ','Bao ','He ','Ni ','Yi ','Di ','Chi ','Pi ','Za ','Mo ','Mo ','Shen ','Ya ','Chou ','Qu ','Min ','Chu ','Jia ','Fu ','Zhan ','Zhu ','Dan ','Chai ','Mu ','Nian ','La ','Fu ','Pao ','Ban ','Pai ','Ling ','Na ','Guai ','Qian ','Ju ','Tuo ','Ba ','Tuo ','Tuo ','Ao ','Ju ','Zhuo ','Pan ','Zhao ','Bai ','Bai ','Di ','Ni ','Ju ','Kuo ','Long ','Jian ','[?] ','Yong ','Lan ','Ning ','Bo ','Ze ','Qian ','Hen ','Gua ','Shi ','Jie ','Zheng ','Nin ','Gong ','Gong ','Quan ','Shuan ','Cun ','Zan ','Kao ','Chi ','Xie ','Ce ','Hui ','Pin ','Zhuai ','Shi ','Na ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x8c.php
app/code/community/Catalin/SEO/Helper/data/x8c.php
<?php $UTF8_TO_ASCII[0x8c] = array( 'Zhi ','Liu ','Mei ','Hoy ','Rong ','Zha ','[?] ','Biao ','Zhan ','Jie ','Long ','Dong ','Lu ','Sayng ','Li ','Lan ','Yong ','Shu ','Xun ','Shuan ','Qi ','Zhen ','Qi ','Li ','Yi ','Xiang ','Zhen ','Li ','Su ','Gua ','Kan ','Bing ','Ren ','Xiao ','Bo ','Ren ','Bing ','Zi ','Chou ','Yi ','Jie ','Xu ','Zhu ','Jian ','Zui ','Er ','Er ','You ','Fa ','Gong ','Kao ','Lao ','Zhan ','Li ','Yin ','Yang ','He ','Gen ','Zhi ','Chi ','Ge ','Zai ','Luan ','Fu ','Jie ','Hang ','Gui ','Tao ','Guang ','Wei ','Kuang ','Ru ','An ','An ','Juan ','Yi ','Zhuo ','Ku ','Zhi ','Qiong ','Tong ','Sang ','Sang ','Huan ','Jie ','Jiu ','Xue ','Duo ','Zhui ','Yu ','Zan ','Kasei ','Ying ','Masu ','[?] ','Zhan ','Ya ','Nao ','Zhen ','Dang ','Qi ','Qiao ','Hua ','Kuai ','Jiang ','Zhuang ','Xun ','Suo ','Sha ','Zhen ','Bei ','Ting ','Gua ','Jing ','Bo ','Ben ','Fu ','Rui ','Tong ','Jue ','Xi ','Lang ','Liu ','Feng ','Qi ','Wen ','Jun ','Gan ','Cu ','Liang ','Qiu ','Ting ','You ','Mei ','Bang ','Long ','Peng ','Zhuang ','Di ','Xuan ','Tu ','Zao ','Ao ','Gu ','Bi ','Di ','Han ','Zi ','Zhi ','Ren ','Bei ','Geng ','Jian ','Huan ','Wan ','Nuo ','Jia ','Tiao ','Ji ','Xiao ','Lu ','Huan ','Shao ','Cen ','Fen ','Song ','Meng ','Wu ','Li ','Li ','Dou ','Cen ','Ying ','Suo ','Ju ','Ti ','Jie ','Kun ','Zhuo ','Shu ','Chan ','Fan ','Wei ','Jing ','Li ','Bing ','Fumoto ','Shikimi ','Tao ','Zhi ','Lai ','Lian ','Jian ','Zhuo ','Ling ','Li ','Qi ','Bing ','Zhun ','Cong ','Qian ','Mian ','Qi ','Qi ','Cai ','Gun ','Chan ','Te ','Fei ','Pai ','Bang ','Pou ','Hun ','Zong ','Cheng ','Zao ','Ji ','Li ','Peng ','Yu ','Yu ','Gu ','Hun ','Dong ','Tang ','Gang ','Wang ','Di ','Xi ','Fan ','Cheng ','Zhan ','Qi ','Yuan ','Yan ','Yu ','Quan ','Yi ','Sen ','Ren ','Chui ','Leng ','Qi ','Zhuo ','Fu ','Ke ','Lai ','Zou ','Zou ','Zhuo ','Guan ','Fen ','Fen ','Chen ','Qiong ','Nie ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x00.php
app/code/community/Catalin/SEO/Helper/data/x00.php
<?php $UTF8_TO_ASCII[0x00] = array( '','','','','','','','','','',' ','','','','','','','','','','','','','','','','','','','','','',' ','!','"','#','$','%','&',"'",'(',')','*','+',',','-','.','/','0','1','2','3','4','5','6','7','8','9',':',';','<','=','>','?','@','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z',']','\\',']','^','_','`','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','{','|','}','~','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','',' ','!','C/','PS','$?','Y=','|','SS','"','(c)','a','<<','!','','(r)','-','deg','+-','2','3',"'",'u','P','*',',','1','o','>>','1/4','1/2','3/4','?','A','A','A','A','A','A','AE','C','E','E','E','E','I','I','I','I','D','N','O','O','O','O','O','x','O','U','U','U','U','U','Th','ss','a','a','a','a','a','a','ae','c','e','e','e','e','i','i','i','i','d','n','o','o','o','o','o','/','o','u','u','u','u','y','th','y', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x78.php
app/code/community/Catalin/SEO/Helper/data/x78.php
<?php $UTF8_TO_ASCII[0x78] = array( 'Mie ','Xu ','Mang ','Chi ','Ge ','Xuan ','Yao ','Zi ','He ','Ji ','Diao ','Cun ','Tong ','Ming ','Hou ','Li ','Tu ','Xiang ','Zha ','Xia ','Ye ','Lu ','A ','Ma ','Ou ','Xue ','Yi ','Jun ','Chou ','Lin ','Tun ','Yin ','Fei ','Bi ','Qin ','Qin ','Jie ','Bu ','Fou ','Ba ','Dun ','Fen ','E ','Han ','Ting ','Hang ','Shun ','Qi ','Hong ','Zhi ','Shen ','Wu ','Wu ','Chao ','Ne ','Xue ','Xi ','Chui ','Dou ','Wen ','Hou ','Ou ','Wu ','Gao ','Ya ','Jun ','Lu ','E ','Ge ','Mei ','Ai ','Qi ','Cheng ','Wu ','Gao ','Fu ','Jiao ','Hong ','Chi ','Sheng ','Ne ','Tun ','Fu ','Yi ','Dai ','Ou ','Li ','Bai ','Yuan ','Kuai ','[?] ','Qiang ','Wu ','E ','Shi ','Quan ','Pen ','Wen ','Ni ','M ','Ling ','Ran ','You ','Di ','Zhou ','Shi ','Zhou ','Tie ','Xi ','Yi ','Qi ','Ping ','Zi ','Gu ','Zi ','Wei ','Xu ','He ','Nao ','Xia ','Pei ','Yi ','Xiao ','Shen ','Hu ','Ming ','Da ','Qu ','Ju ','Gem ','Za ','Tuo ','Duo ','Pou ','Pao ','Bi ','Fu ','Yang ','He ','Zha ','He ','Hai ','Jiu ','Yong ','Fu ','Que ','Zhou ','Wa ','Ka ','Gu ','Ka ','Zuo ','Bu ','Long ','Dong ','Ning ','Tha ','Si ','Xian ','Huo ','Qi ','Er ','E ','Guang ','Zha ','Xi ','Yi ','Lie ','Zi ','Mie ','Mi ','Zhi ','Yao ','Ji ','Zhou ','Ge ','Shuai ','Zan ','Xiao ','Ke ','Hui ','Kua ','Huai ','Tao ','Xian ','E ','Xuan ','Xiu ','Wai ','Yan ','Lao ','Yi ','Ai ','Pin ','Shen ','Tong ','Hong ','Xiong ','Chi ','Wa ','Ha ','Zai ','Yu ','Di ','Pai ','Xiang ','Ai ','Hen ','Kuang ','Ya ','Da ','Xiao ','Bi ','Yue ','[?] ','Hua ','Sasou ','Kuai ','Duo ','[?] ','Ji ','Nong ','Mou ','Yo ','Hao ','Yuan ','Long ','Pou ','Mang ','Ge ','E ','Chi ','Shao ','Li ','Na ','Zu ','He ','Ku ','Xiao ','Xian ','Lao ','Bo ','Zhe ','Zha ','Liang ','Ba ','Mie ','Le ','Sui ','Fou ','Bu ','Han ','Heng ','Geng ','Shuo ','Ge ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xd3.php
app/code/community/Catalin/SEO/Helper/data/xd3.php
<?php $UTF8_TO_ASCII[0xd3] = array( );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x93.php
app/code/community/Catalin/SEO/Helper/data/x93.php
<?php $UTF8_TO_ASCII[0x93] = array( 'Qing ','Yu ','Piao ','Ji ','Ya ','Jiao ','Qi ','Xi ','Ji ','Lu ','Lu ','Long ','Jin ','Guo ','Cong ','Lou ','Zhi ','Gai ','Qiang ','Li ','Yan ','Cao ','Jiao ','Cong ','Qun ','Tuan ','Ou ','Teng ','Ye ','Xi ','Mi ','Tang ','Mo ','Shang ','Han ','Lian ','Lan ','Wa ','Li ','Qian ','Feng ','Xuan ','Yi ','Man ','Zi ','Mang ','Kang ','Lei ','Peng ','Shu ','Zhang ','Zhang ','Chong ','Xu ','Huan ','Kuo ','Jian ','Yan ','Chuang ','Liao ','Cui ','Ti ','Yang ','Jiang ','Cong ','Ying ','Hong ','Xun ','Shu ','Guan ','Ying ','Xiao ','[?] ','[?] ','Xu ','Lian ','Zhi ','Wei ','Pi ','Jue ','Jiao ','Po ','Dang ','Hui ','Jie ','Wu ','Pa ','Ji ','Pan ','Gui ','Xiao ','Qian ','Qian ','Xi ','Lu ','Xi ','Xuan ','Dun ','Huang ','Min ','Run ','Su ','Liao ','Zhen ','Zhong ','Yi ','Di ','Wan ','Dan ','Tan ','Chao ','Xun ','Kui ','Yie ','Shao ','Tu ','Zhu ','San ','Hei ','Bi ','Shan ','Chan ','Chan ','Shu ','Tong ','Pu ','Lin ','Wei ','Se ','Se ','Cheng ','Jiong ','Cheng ','Hua ','Jiao ','Lao ','Che ','Gan ','Cun ','Heng ','Si ','Shu ','Peng ','Han ','Yun ','Liu ','Hong ','Fu ','Hao ','He ','Xian ','Jian ','Shan ','Xi ','Oki ','[?] ','Lan ','[?] ','Yu ','Lin ','Min ','Zao ','Dang ','Wan ','Ze ','Xie ','Yu ','Li ','Shi ','Xue ','Ling ','Man ','Zi ','Yong ','Kuai ','Can ','Lian ','Dian ','Ye ','Ao ','Huan ','Zhen ','Chan ','Man ','Dan ','Dan ','Yi ','Sui ','Pi ','Ju ','Ta ','Qin ','Ji ','Zhuo ','Lian ','Nong ','Guo ','Jin ','Fen ','Se ','Ji ','Sui ','Hui ','Chu ','Ta ','Song ','Ding ','[?] ','Zhu ','Lai ','Bin ','Lian ','Mi ','Shi ','Shu ','Mi ','Ning ','Ying ','Ying ','Meng ','Jin ','Qi ','Pi ','Ji ','Hao ','Ru ','Zui ','Wo ','Tao ','Yin ','Yin ','Dui ','Ci ','Huo ','Jing ','Lan ','Jun ','Ai ','Pu ','Zhuo ','Wei ','Bin ','Gu ','Qian ','Xing ','Hama ','Kuo ','Fei ','[?] ','Boku ','Jian ','Wei ','Luo ','Zan ','Lu ','Li ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x0b.php
app/code/community/Catalin/SEO/Helper/data/x0b.php
<?php $UTF8_TO_ASCII[0x0b] = array( '[?]','[?]','N','[?]','[?]','a','aa','i','ii','u','uu','[?]','[?]','[?]','[?]','ee','ai','[?]','[?]','oo','au','k','kh','g','gh','ng','c','ch','j','jh','ny','tt','tth','dd','ddh','nn','t','th','d','dh','n','[?]','p','ph','b','bb','m','y','r','[?]','l','ll','[?]','v','sh','[?]','s','h','[?]','[?]',"'",'[?]','aa','i','ii','u','uu','[?]','[?]','[?]','[?]','ee','ai','[?]','[?]','oo','au','','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','khh','ghh','z','rr','[?]','f','[?]','[?]','[?]','[?]','[?]','[?]','[?]','0','1','2','3','4','5','6','7','8','9','N','H','','','G.E.O.','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','N','N','H','[?]','a','aa','i','ii','u','uu','R','[?]','eN','[?]','e','ai','oN','[?]','o','au','k','kh','g','gh','ng','c','ch','j','jh','ny','tt','tth','dd','ddh','nn','t','th','d','dh','n','[?]','p','ph','b','bh','m','ya','r','[?]','l','ll','[?]','v','sh','ss','s','h','[?]','[?]',"'","'",'aa','i','ii','u','uu','R','RR','eN','[?]','e','ai','oN','[?]','o','au','','[?]','[?]','AUM','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','RR','[?]','[?]','[?]','[?]','[?]','0','1','2','3','4','5','6','7','8','9','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x4d.php
app/code/community/Catalin/SEO/Helper/data/x4d.php
<?php $UTF8_TO_ASCII[0x4d] = array( );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xb1.php
app/code/community/Catalin/SEO/Helper/data/xb1.php
<?php $UTF8_TO_ASCII[0xb1] = array( 'Tuo ','Wu ','Rui ','Rui ','Qi ','Heng ','Lu ','Su ','Tui ','Mang ','Yun ','Pin ','Yu ','Xun ','Ji ','Jiong ','Xian ','Mo ','Hagi ','Su ','Jiong ','[?] ','Nie ','Bo ','Rang ','Yi ','Xian ','Yu ','Ju ','Lian ','Lian ','Yin ','Qiang ','Ying ','Long ','Tong ','Wei ','Yue ','Ling ','Qu ','Yao ','Fan ','Mi ','Lan ','Kui ','Lan ','Ji ','Dang ','Katsura ','Lei ','Lei ','Hua ','Feng ','Zhi ','Wei ','Kui ','Zhan ','Huai ','Li ','Ji ','Mi ','Lei ','Huai ','Luo ','Ji ','Kui ','Lu ','Jian ','San ','[?] ','Lei ','Quan ','Xiao ','Yi ','Luan ','Men ','Bie ','Hu ','Hu ','Lu ','Nue ','Lu ','Si ','Xiao ','Qian ','Chu ','Hu ','Xu ','Cuo ','Fu ','Xu ','Xu ','Lu ','Hu ','Yu ','Hao ','Jiao ','Ju ','Guo ','Bao ','Yan ','Zhan ','Zhan ','Kui ','Ban ','Xi ','Shu ','Chong ','Qiu ','Diao ','Ji ','Qiu ','Cheng ','Shi ','[?] ','Di ','Zhe ','She ','Yu ','Gan ','Zi ','Hong ','Hui ','Meng ','Ge ','Sui ','Xia ','Chai ','Shi ','Yi ','Ma ','Xiang ','Fang ','E ','Pa ','Chi ','Qian ','Wen ','Wen ','Rui ','Bang ','Bi ','Yue ','Yue ','Jun ','Qi ','Ran ','Yin ','Qi ','Tian ','Yuan ','Jue ','Hui ','Qin ','Qi ','Zhong ','Ya ','Ci ','Mu ','Wang ','Fen ','Fen ','Hang ','Gong ','Zao ','Fu ','Ran ','Jie ','Fu ','Chi ','Dou ','Piao ','Xian ','Ni ','Te ','Qiu ','You ','Zha ','Ping ','Chi ','You ','He ','Han ','Ju ','Li ','Fu ','Ran ','Zha ','Gou ','Pi ','Bo ','Xian ','Zhu ','Diao ','Bie ','Bing ','Gu ','Ran ','Qu ','She ','Tie ','Ling ','Gu ','Dan ','Gu ','Ying ','Li ','Cheng ','Qu ','Mou ','Ge ','Ci ','Hui ','Hui ','Mang ','Fu ','Yang ','Wa ','Lie ','Zhu ','Yi ','Xian ','Kuo ','Jiao ','Li ','Yi ','Ping ','Ji ','Ha ','She ','Yi ','Wang ','Mo ','Qiong ','Qie ','Gui ','Gong ','Zhi ','Man ','Ebi ','Zhi ','Jia ','Rao ','Si ','Qi ','Xing ','Lie ','Qiu ','Shao ','Yong ','Jia ','Shui ','Che ','Bai ','E ','Han ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x87.php
app/code/community/Catalin/SEO/Helper/data/x87.php
<?php $UTF8_TO_ASCII[0x87] = array( 'Bo ','Chi ','Gua ','Zhi ','Kuo ','Duo ','Duo ','Zhi ','Qie ','An ','Nong ','Zhen ','Ge ','Jiao ','Ku ','Dong ','Ru ','Tiao ','Lie ','Zha ','Lu ','Die ','Wa ','Jue ','Mushiru ','Ju ','Zhi ','Luan ','Ya ','Zhua ','Ta ','Xie ','Nao ','Dang ','Jiao ','Zheng ','Ji ','Hui ','Xun ','Ku ','Ai ','Tuo ','Nuo ','Cuo ','Bo ','Geng ','Ti ','Zhen ','Cheng ','Suo ','Suo ','Keng ','Mei ','Long ','Ju ','Peng ','Jian ','Yi ','Ting ','Shan ','Nuo ','Wan ','Xie ','Cha ','Feng ','Jiao ','Wu ','Jun ','Jiu ','Tong ','Kun ','Huo ','Tu ','Zhuo ','Pou ','Le ','Ba ','Han ','Shao ','Nie ','Juan ','Ze ','Song ','Ye ','Jue ','Bu ','Huan ','Bu ','Zun ','Yi ','Zhai ','Lu ','Sou ','Tuo ','Lao ','Sun ','Bang ','Jian ','Huan ','Dao ','[?] ','Wan ','Qin ','Peng ','She ','Lie ','Min ','Men ','Fu ','Bai ','Ju ','Dao ','Wo ','Ai ','Juan ','Yue ','Zong ','Chen ','Chui ','Jie ','Tu ','Ben ','Na ','Nian ','Nuo ','Zu ','Wo ','Xi ','Xian ','Cheng ','Dian ','Sao ','Lun ','Qing ','Gang ','Duo ','Shou ','Diao ','Pou ','Di ','Zhang ','Gun ','Ji ','Tao ','Qia ','Qi ','Pai ','Shu ','Qian ','Ling ','Yi ','Ya ','Jue ','Zheng ','Liang ','Gua ','Yi ','Huo ','Shan ','Zheng ','Lue ','Cai ','Tan ','Che ','Bing ','Jie ','Ti ','Kong ','Tui ','Yan ','Cuo ','Zou ','Ju ','Tian ','Qian ','Ken ','Bai ','Shou ','Jie ','Lu ','Guo ','Haba ','[?] ','Zhi ','Dan ','Mang ','Xian ','Sao ','Guan ','Peng ','Yuan ','Nuo ','Jian ','Zhen ','Jiu ','Jian ','Yu ','Yan ','Kui ','Nan ','Hong ','Rou ','Pi ','Wei ','Sai ','Zou ','Xuan ','Miao ','Ti ','Nie ','Cha ','Shi ','Zong ','Zhen ','Yi ','Shun ','Heng ','Bian ','Yang ','Huan ','Yan ','Zuan ','An ','Xu ','Ya ','Wo ','Ke ','Chuai ','Ji ','Ti ','La ','La ','Cheng ','Kai ','Jiu ','Jiu ','Tu ','Jie ','Hui ','Geng ','Chong ','Shuo ','She ','Xie ','Yuan ','Qian ','Ye ','Cha ','Zha ','Bei ','Yao ','[?] ','[?] ','Lan ','Wen ','Qin ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x5f.php
app/code/community/Catalin/SEO/Helper/data/x5f.php
<?php $UTF8_TO_ASCII[0x5f] = array( );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xc8.php
app/code/community/Catalin/SEO/Helper/data/xc8.php
<?php $UTF8_TO_ASCII[0xc8] = array( 'Fou ','Yiao ','Jue ','Jue ','Pi ','Huan ','Zhen ','Bao ','Yan ','Ya ','Zheng ','Fang ','Feng ','Wen ','Ou ','Te ','Jia ','Nu ','Ling ','Mie ','Fu ','Tuo ','Wen ','Li ','Bian ','Zhi ','Ge ','Yuan ','Zi ','Qu ','Xiao ','Zhi ','Dan ','Ju ','You ','Gu ','Zhong ','Yu ','Yang ','Rong ','Ya ','Tie ','Yu ','Shigi ','Ying ','Zhui ','Wu ','Er ','Gua ','Ai ','Zhi ','Yan ','Heng ','Jiao ','Ji ','Lie ','Zhu ','Ren ','Yi ','Hong ','Luo ','Ru ','Mou ','Ge ','Ren ','Jiao ','Xiu ','Zhou ','Zhi ','Luo ','Chidori ','Toki ','Ten ','Luan ','Jia ','Ji ','Yu ','Huan ','Tuo ','Bu ','Wu ','Juan ','Yu ','Bo ','Xun ','Xun ','Bi ','Xi ','Jun ','Ju ','Tu ','Jing ','Ti ','E ','E ','Kuang ','Hu ','Wu ','Shen ','Lai ','Ikaruga ','Kakesu ','Lu ','Ping ','Shu ','Fu ','An ','Zhao ','Peng ','Qin ','Qian ','Bei ','Diao ','Lu ','Que ','Jian ','Ju ','Tu ','Ya ','Yuan ','Qi ','Li ','Ye ','Zhui ','Kong ','Zhui ','Kun ','Sheng ','Qi ','Jing ','Yi ','Yi ','Jing ','Zi ','Lai ','Dong ','Qi ','Chun ','Geng ','Ju ','Qu ','Isuka ','Kikuitadaki ','Ji ','Shu ','[?] ','Chi ','Miao ','Rou ','An ','Qiu ','Ti ','Hu ','Ti ','E ','Jie ','Mao ','Fu ','Chun ','Tu ','Yan ','He ','Yuan ','Pian ','Yun ','Mei ','Hu ','Ying ','Dun ','Mu ','Ju ','Tsugumi ','Cang ','Fang ','Gu ','Ying ','Yuan ','Xuan ','Weng ','Shi ','He ','Chu ','Tang ','Xia ','Ruo ','Liu ','Ji ','Gu ','Jian ','Zhun ','Han ','Zi ','Zi ','Ni ','Yao ','Yan ','Ji ','Li ','Tian ','Kou ','Ti ','Ti ','Ni ','Tu ','Ma ','Jiao ','Gao ','Tian ','Chen ','Li ','Zhuan ','Zhe ','Ao ','Yao ','Yi ','Ou ','Chi ','Zhi ','Liao ','Rong ','Lou ','Bi ','Shuang ','Zhuo ','Yu ','Wu ','Jue ','Yin ','Quan ','Si ','Jiao ','Yi ','Hua ','Bi ','Ying ','Su ','Huang ','Fan ','Jiao ','Liao ','Yan ','Kao ','Jiu ','Xian ','Xian ','Tu ','Mai ','Zun ','Yu ','Ying ','Lu ','Tuan ','Xian ','Xue ','Yi ','Pi ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xd0.php
app/code/community/Catalin/SEO/Helper/data/xd0.php
<?php $UTF8_TO_ASCII[0xd0] = array( );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x57.php
app/code/community/Catalin/SEO/Helper/data/x57.php
<?php $UTF8_TO_ASCII[0x57] = array( 'apartment','alpha','ampere','are','inning','inch','won','escudo','acre','ounce','ohm','kai-ri','carat','calorie','gallon','gamma','giga','guinea','curie','guilder','kilo','kilogram','kilometer','kilowatt','gram','gram ton','cruzeiro','krone','case','koruna','co-op','cycle','centime','shilling','centi','cent','dozen','desi','dollar','ton','nano','knot','heights','percent','parts','barrel','piaster','picul','pico','building','farad','feet','bushel','franc','hectare','peso','pfennig','hertz','pence','page','beta','point','volt','hon','pound','hall','horn','micro','mile','mach','mark','mansion','micron','milli','millibar','mega','megaton','meter','yard','yard','yuan','liter','lira','rupee','ruble','rem','roentgen','watt','0h','1h','2h','3h','4h','5h','6h','7h','8h','9h','10h','11h','12h','13h','14h','15h','16h','17h','18h','19h','20h','21h','22h','23h','24h','HPA','da','AU','bar','oV','pc','[?]','[?]','[?]','[?]','Heisei','Syouwa','Taisyou','Meiji','Inc.','pA','nA','microamp','mA','kA','kB','MB','GB','cal','kcal','pF','nF','microFarad','microgram','mg','kg','Hz','kHz','MHz','GHz','THz','microliter','ml','dl','kl','fm','nm','micrometer','mm','cm','km','mm^2','cm^2','m^2','km^2','mm^4','cm^3','m^3','km^3','m/s','m/s^2','Pa','kPa','MPa','GPa','rad','rad/s','rad/s^2','ps','ns','microsecond','ms','pV','nV','microvolt','mV','kV','MV','pW','nW','microwatt','mW','kW','MW','kOhm','MOhm','a.m.','Bq','cc','cd','C/kg','Co.','dB','Gy','ha','HP','in','K.K.','KM','kt','lm','ln','log','lx','mb','mil','mol','pH','p.m.','PPM','PR','sr','Sv','Wb','[?]','[?]','1d','2d','3d','4d','5d','6d','7d','8d','9d','10d','11d','12d','13d','14d','15d','16d','17d','18d','19d','20d','21d','22d','23d','24d','25d','26d','27d','28d','29d','30d','31d', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xfa.php
app/code/community/Catalin/SEO/Helper/data/xfa.php
<?php $UTF8_TO_ASCII[0xfa] = array( 'geul','geulg','geulm','geulb','geuls','geult','geulp','geulh','geum','geub','geubs','geus','geuss','geung','geuj','geuc','geuk','geut','geup','geuh','gyi','gyig','gyigg','gyigs','gyin','gyinj','gyinh','gyid','gyil','gyilg','gyilm','gyilb','gyils','gyilt','gyilp','gyilh','gyim','gyib','gyibs','gyis','gyiss','gying','gyij','gyic','gyik','gyit','gyip','gyih','gi','gig','gigg','gigs','gin','ginj','ginh','gid','gil','gilg','gilm','gilb','gils','gilt','gilp','gilh','gim','gib','gibs','gis','giss','ging','gij','gic','gik','git','gip','gih','gga','ggag','ggagg','ggags','ggan','gganj','gganh','ggad','ggal','ggalg','ggalm','ggalb','ggals','ggalt','ggalp','ggalh','ggam','ggab','ggabs','ggas','ggass','ggang','ggaj','ggac','ggak','ggat','ggap','ggah','ggae','ggaeg','ggaegg','ggaegs','ggaen','ggaenj','ggaenh','ggaed','ggael','ggaelg','ggaelm','ggaelb','ggaels','ggaelt','ggaelp','ggaelh','ggaem','ggaeb','ggaebs','ggaes','ggaess','ggaeng','ggaej','ggaec','ggaek','ggaet','ggaep','ggaeh','ggya','ggyag','ggyagg','ggyags','ggyan','ggyanj','ggyanh','ggyad','ggyal','ggyalg','ggyalm','ggyalb','ggyals','ggyalt','ggyalp','ggyalh','ggyam','ggyab','ggyabs','ggyas','ggyass','ggyang','ggyaj','ggyac','ggyak','ggyat','ggyap','ggyah','ggyae','ggyaeg','ggyaegg','ggyaegs','ggyaen','ggyaenj','ggyaenh','ggyaed','ggyael','ggyaelg','ggyaelm','ggyaelb','ggyaels','ggyaelt','ggyaelp','ggyaelh','ggyaem','ggyaeb','ggyaebs','ggyaes','ggyaess','ggyaeng','ggyaej','ggyaec','ggyaek','ggyaet','ggyaep','ggyaeh','ggeo','ggeog','ggeogg','ggeogs','ggeon','ggeonj','ggeonh','ggeod','ggeol','ggeolg','ggeolm','ggeolb','ggeols','ggeolt','ggeolp','ggeolh','ggeom','ggeob','ggeobs','ggeos','ggeoss','ggeong','ggeoj','ggeoc','ggeok','ggeot','ggeop','ggeoh','gge','ggeg','ggegg','ggegs','ggen','ggenj','ggenh','gged','ggel','ggelg','ggelm','ggelb','ggels','ggelt','ggelp','ggelh','ggem','ggeb','ggebs','gges','ggess','ggeng','ggej','ggec','ggek','gget','ggep','ggeh','ggyeo','ggyeog','ggyeogg','ggyeogs','ggyeon','ggyeonj','ggyeonh','ggyeod','ggyeol','ggyeolg','ggyeolm','ggyeolb', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x7b.php
app/code/community/Catalin/SEO/Helper/data/x7b.php
<?php $UTF8_TO_ASCII[0x7b] = array( 'Guo ','Yin ','Hun ','Pu ','Yu ','Han ','Yuan ','Lun ','Quan ','Yu ','Qing ','Guo ','Chuan ','Wei ','Yuan ','Quan ','Ku ','Fu ','Yuan ','Yuan ','E ','Tu ','Tu ','Tu ','Tuan ','Lue ','Hui ','Yi ','Yuan ','Luan ','Luan ','Tu ','Ya ','Tu ','Ting ','Sheng ','Pu ','Lu ','Iri ','Ya ','Zai ','Wei ','Ge ','Yu ','Wu ','Gui ','Pi ','Yi ','Di ','Qian ','Qian ','Zhen ','Zhuo ','Dang ','Qia ','Akutsu ','Yama ','Kuang ','Chang ','Qi ','Nie ','Mo ','Ji ','Jia ','Zhi ','Zhi ','Ban ','Xun ','Tou ','Qin ','Fen ','Jun ','Keng ','Tun ','Fang ','Fen ','Ben ','Tan ','Kan ','Pi ','Zuo ','Keng ','Bi ','Xing ','Di ','Jing ','Ji ','Kuai ','Di ','Jing ','Jian ','Tan ','Li ','Ba ','Wu ','Fen ','Zhui ','Po ','Pan ','Tang ','Kun ','Qu ','Tan ','Zhi ','Tuo ','Gan ','Ping ','Dian ','Gua ','Ni ','Tai ','Pi ','Jiong ','Yang ','Fo ','Ao ','Liu ','Qiu ','Mu ','Ke ','Gou ','Xue ','Ba ','Chi ','Che ','Ling ','Zhu ','Fu ','Hu ','Zhi ','Chui ','La ','Long ','Long ','Lu ','Ao ','Tay ','Pao ','[?] ','Xing ','Dong ','Ji ','Ke ','Lu ','Ci ','Chi ','Lei ','Gai ','Yin ','Hou ','Dui ','Zhao ','Fu ','Guang ','Yao ','Duo ','Duo ','Gui ','Cha ','Yang ','Yin ','Fa ','Gou ','Yuan ','Die ','Xie ','Ken ','Jiong ','Shou ','E ','Ha ','Dian ','Hong ','Wu ','Kua ','[?] ','Tao ','Dang ','Kai ','Gake ','Nao ','An ','Xing ','Xian ','Huan ','Bang ','Pei ','Ba ','Yi ','Yin ','Han ','Xu ','Chui ','Cen ','Geng ','Ai ','Peng ','Fang ','Que ','Yong ','Xun ','Jia ','Di ','Mai ','Lang ','Xuan ','Cheng ','Yan ','Jin ','Zhe ','Lei ','Lie ','Bu ','Cheng ','Gomi ','Bu ','Shi ','Xun ','Guo ','Jiong ','Ye ','Nian ','Di ','Yu ','Bu ','Ya ','Juan ','Sui ','Pi ','Cheng ','Wan ','Ju ','Lun ','Zheng ','Kong ','Chong ','Dong ','Dai ','Tan ','An ','Cai ','Shu ','Beng ','Kan ','Zhi ','Duo ','Yi ','Zhi ','Yi ','Pei ','Ji ','Zhun ','Qi ','Sao ','Ju ','Ni ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xfb.php
app/code/community/Catalin/SEO/Helper/data/xfb.php
<?php $UTF8_TO_ASCII[0xfb] = array( 'ggyeols','ggyeolt','ggyeolp','ggyeolh','ggyeom','ggyeob','ggyeobs','ggyeos','ggyeoss','ggyeong','ggyeoj','ggyeoc','ggyeok','ggyeot','ggyeop','ggyeoh','ggye','ggyeg','ggyegg','ggyegs','ggyen','ggyenj','ggyenh','ggyed','ggyel','ggyelg','ggyelm','ggyelb','ggyels','ggyelt','ggyelp','ggyelh','ggyem','ggyeb','ggyebs','ggyes','ggyess','ggyeng','ggyej','ggyec','ggyek','ggyet','ggyep','ggyeh','ggo','ggog','ggogg','ggogs','ggon','ggonj','ggonh','ggod','ggol','ggolg','ggolm','ggolb','ggols','ggolt','ggolp','ggolh','ggom','ggob','ggobs','ggos','ggoss','ggong','ggoj','ggoc','ggok','ggot','ggop','ggoh','ggwa','ggwag','ggwagg','ggwags','ggwan','ggwanj','ggwanh','ggwad','ggwal','ggwalg','ggwalm','ggwalb','ggwals','ggwalt','ggwalp','ggwalh','ggwam','ggwab','ggwabs','ggwas','ggwass','ggwang','ggwaj','ggwac','ggwak','ggwat','ggwap','ggwah','ggwae','ggwaeg','ggwaegg','ggwaegs','ggwaen','ggwaenj','ggwaenh','ggwaed','ggwael','ggwaelg','ggwaelm','ggwaelb','ggwaels','ggwaelt','ggwaelp','ggwaelh','ggwaem','ggwaeb','ggwaebs','ggwaes','ggwaess','ggwaeng','ggwaej','ggwaec','ggwaek','ggwaet','ggwaep','ggwaeh','ggoe','ggoeg','ggoegg','ggoegs','ggoen','ggoenj','ggoenh','ggoed','ggoel','ggoelg','ggoelm','ggoelb','ggoels','ggoelt','ggoelp','ggoelh','ggoem','ggoeb','ggoebs','ggoes','ggoess','ggoeng','ggoej','ggoec','ggoek','ggoet','ggoep','ggoeh','ggyo','ggyog','ggyogg','ggyogs','ggyon','ggyonj','ggyonh','ggyod','ggyol','ggyolg','ggyolm','ggyolb','ggyols','ggyolt','ggyolp','ggyolh','ggyom','ggyob','ggyobs','ggyos','ggyoss','ggyong','ggyoj','ggyoc','ggyok','ggyot','ggyop','ggyoh','ggu','ggug','ggugg','ggugs','ggun','ggunj','ggunh','ggud','ggul','ggulg','ggulm','ggulb','gguls','ggult','ggulp','ggulh','ggum','ggub','ggubs','ggus','gguss','ggung','gguj','gguc','gguk','ggut','ggup','gguh','ggweo','ggweog','ggweogg','ggweogs','ggweon','ggweonj','ggweonh','ggweod','ggweol','ggweolg','ggweolm','ggweolb','ggweols','ggweolt','ggweolp','ggweolh','ggweom','ggweob','ggweobs','ggweos','ggweoss','ggweong','ggweoj','ggweoc','ggweok','ggweot','ggweop','ggweoh','ggwe','ggweg','ggwegg','ggwegs','ggwen','ggwenj','ggwenh','ggwed','ggwel','ggwelg','ggwelm','ggwelb','ggwels','ggwelt','ggwelp','ggwelh', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x68.php
app/code/community/Catalin/SEO/Helper/data/x68.php
<?php $UTF8_TO_ASCII[0x68] = array( );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xb4.php
app/code/community/Catalin/SEO/Helper/data/xb4.php
<?php $UTF8_TO_ASCII[0xb4] = array( 'Ji ','Zhi ','Gua ','Ken ','Che ','Ti ','Ti ','Fu ','Chong ','Xie ','Bian ','Die ','Kun ','Duan ','Xiu ','Xiu ','He ','Yuan ','Bao ','Bao ','Fu ','Yu ','Tuan ','Yan ','Hui ','Bei ','Chu ','Lu ','Ena ','Hitoe ','Yun ','Da ','Gou ','Da ','Huai ','Rong ','Yuan ','Ru ','Nai ','Jiong ','Suo ','Ban ','Tun ','Chi ','Sang ','Niao ','Ying ','Jie ','Qian ','Huai ','Ku ','Lian ','Bao ','Li ','Zhe ','Shi ','Lu ','Yi ','Die ','Xie ','Xian ','Wei ','Biao ','Cao ','Ji ','Jiang ','Sen ','Bao ','Xiang ','Chihaya ','Pu ','Jian ','Zhuan ','Jian ','Zui ','Ji ','Dan ','Za ','Fan ','Bo ','Xiang ','Xin ','Bie ','Rao ','Man ','Lan ','Ao ','Duo ','Gui ','Cao ','Sui ','Nong ','Chan ','Lian ','Bi ','Jin ','Dang ','Shu ','Tan ','Bi ','Lan ','Pu ','Ru ','Zhi ','[?] ','Shu ','Wa ','Shi ','Bai ','Xie ','Bo ','Chen ','Lai ','Long ','Xi ','Xian ','Lan ','Zhe ','Dai ','Tasuki ','Zan ','Shi ','Jian ','Pan ','Yi ','Ran ','Ya ','Xi ','Xi ','Yao ','Feng ','Tan ','[?] ','Biao ','Fu ','Ba ','He ','Ji ','Ji ','Jian ','Guan ','Bian ','Yan ','Gui ','Jue ','Pian ','Mao ','Mi ','Mi ','Mie ','Shi ','Si ','Zhan ','Luo ','Jue ','Mi ','Tiao ','Lian ','Yao ','Zhi ','Jun ','Xi ','Shan ','Wei ','Xi ','Tian ','Yu ','Lan ','E ','Du ','Qin ','Pang ','Ji ','Ming ','Ying ','Gou ','Qu ','Zhan ','Jin ','Guan ','Deng ','Jian ','Luo ','Qu ','Jian ','Wei ','Jue ','Qu ','Luo ','Lan ','Shen ','Di ','Guan ','Jian ','Guan ','Yan ','Gui ','Mi ','Shi ','Zhan ','Lan ','Jue ','Ji ','Xi ','Di ','Tian ','Yu ','Gou ','Jin ','Qu ','Jiao ','Jiu ','Jin ','Cu ','Jue ','Zhi ','Chao ','Ji ','Gu ','Dan ','Zui ','Di ','Shang ','Hua ','Quan ','Ge ','Chi ','Jie ','Gui ','Gong ','Hong ','Jie ','Hun ','Qiu ','Xing ','Su ','Ni ','Ji ','Lu ','Zhi ','Zha ','Bi ','Xing ','Hu ','Shang ','Gong ','Zhi ','Xue ','Chu ','Xi ','Yi ','Lu ','Jue ','Xi ','Yan ','Xi ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x6d.php
app/code/community/Catalin/SEO/Helper/data/x6d.php
<?php $UTF8_TO_ASCII[0x6d] = array( );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x21.php
app/code/community/Catalin/SEO/Helper/data/x21.php
<?php $UTF8_TO_ASCII[0x21] = array( );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xbe.php
app/code/community/Catalin/SEO/Helper/data/xbe.php
<?php $UTF8_TO_ASCII[0xbe] = array( 'Lun ','Kua ','Ling ','Bei ','Lu ','Li ','Qiang ','Pou ','Juan ','Min ','Zui ','Peng ','An ','Pi ','Xian ','Ya ','Zhui ','Lei ','A ','Kong ','Ta ','Kun ','Du ','Wei ','Chui ','Zi ','Zheng ','Ben ','Nie ','Cong ','Qun ','Tan ','Ding ','Qi ','Qian ','Zhuo ','Qi ','Yu ','Jin ','Guan ','Mao ','Chang ','Tian ','Xi ','Lian ','Tao ','Gu ','Cuo ','Shu ','Zhen ','Lu ','Meng ','Lu ','Hua ','Biao ','Ga ','Lai ','Ken ','Kazari ','Bu ','Nai ','Wan ','Zan ','[?] ','De ','Xian ','[?] ','Huo ','Liang ','[?] ','Men ','Kai ','Ying ','Di ','Lian ','Guo ','Xian ','Du ','Tu ','Wei ','Cong ','Fu ','Rou ','Ji ','E ','Rou ','Chen ','Ti ','Zha ','Hong ','Yang ','Duan ','Xia ','Yu ','Keng ','Xing ','Huang ','Wei ','Fu ','Zhao ','Cha ','Qie ','She ','Hong ','Kui ','Tian ','Mou ','Qiao ','Qiao ','Hou ','Tou ','Cong ','Huan ','Ye ','Min ','Jian ','Duan ','Jian ','Song ','Kui ','Hu ','Xuan ','Duo ','Jie ','Zhen ','Bian ','Zhong ','Zi ','Xiu ','Ye ','Mei ','Pai ','Ai ','Jie ','[?] ','Mei ','Chuo ','Ta ','Bang ','Xia ','Lian ','Suo ','Xi ','Liu ','Zu ','Ye ','Nou ','Weng ','Rong ','Tang ','Suo ','Qiang ','Ge ','Shuo ','Chui ','Bo ','Pan ','Sa ','Bi ','Sang ','Gang ','Zi ','Wu ','Ying ','Huang ','Tiao ','Liu ','Kai ','Sun ','Sha ','Sou ','Wan ','Hao ','Zhen ','Zhen ','Luo ','Yi ','Yuan ','Tang ','Nie ','Xi ','Jia ','Ge ','Ma ','Juan ','Kasugai ','Habaki ','Suo ','[?] ','[?] ','[?] ','Na ','Lu ','Suo ','Ou ','Zu ','Tuan ','Xiu ','Guan ','Xuan ','Lian ','Shou ','Ao ','Man ','Mo ','Luo ','Bi ','Wei ','Liu ','Di ','Qiao ','Cong ','Yi ','Lu ','Ao ','Keng ','Qiang ','Cui ','Qi ','Chang ','Tang ','Man ','Yong ','Chan ','Feng ','Jing ','Biao ','Shu ','Lou ','Xiu ','Cong ','Long ','Zan ','Jian ','Cao ','Li ','Xia ','Xi ','Kang ','[?] ','Beng ','[?] ','[?] ','Zheng ','Lu ','Hua ','Ji ','Pu ','Hui ','Qiang ','Po ','Lin ','Suo ','Xiu ','San ','Cheng ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x50.php
app/code/community/Catalin/SEO/Helper/data/x50.php
<?php $UTF8_TO_ASCII[0x50] = array( );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xc3.php
app/code/community/Catalin/SEO/Helper/data/xc3.php
<?php $UTF8_TO_ASCII[0xc3] = array( 'Hu ','Ye ','Ding ','Qing ','Pan ','Xiang ','Shun ','Han ','Xu ','Yi ','Xu ','Gu ','Song ','Kui ','Qi ','Hang ','Yu ','Wan ','Ban ','Dun ','Di ','Dan ','Pan ','Po ','Ling ','Ce ','Jing ','Lei ','He ','Qiao ','E ','E ','Wei ','Jie ','Gua ','Shen ','Yi ','Shen ','Hai ','Dui ','Pian ','Ping ','Lei ','Fu ','Jia ','Tou ','Hui ','Kui ','Jia ','Le ','Tian ','Cheng ','Ying ','Jun ','Hu ','Han ','Jing ','Tui ','Tui ','Pin ','Lai ','Tui ','Zi ','Zi ','Chui ','Ding ','Lai ','Yan ','Han ','Jian ','Ke ','Cui ','Jiong ','Qin ','Yi ','Sai ','Ti ','E ','E ','Yan ','Hun ','Kan ','Yong ','Zhuan ','Yan ','Xian ','Xin ','Yi ','Yuan ','Sang ','Dian ','Dian ','Jiang ','Ku ','Lei ','Liao ','Piao ','Yi ','Man ','Qi ','Rao ','Hao ','Qiao ','Gu ','Xun ','Qian ','Hui ','Zhan ','Ru ','Hong ','Bin ','Xian ','Pin ','Lu ','Lan ','Nie ','Quan ','Ye ','Ding ','Qing ','Han ','Xiang ','Shun ','Xu ','Xu ','Wan ','Gu ','Dun ','Qi ','Ban ','Song ','Hang ','Yu ','Lu ','Ling ','Po ','Jing ','Jie ','Jia ','Tian ','Han ','Ying ','Jiong ','Hai ','Yi ','Pin ','Hui ','Tui ','Han ','Ying ','Ying ','Ke ','Ti ','Yong ','E ','Zhuan ','Yan ','E ','Nie ','Man ','Dian ','Sang ','Hao ','Lei ','Zhan ','Ru ','Pin ','Quan ','Feng ','Biao ','Oroshi ','Fu ','Xia ','Zhan ','Biao ','Sa ','Ba ','Tai ','Lie ','Gua ','Xuan ','Shao ','Ju ','Bi ','Si ','Wei ','Yang ','Yao ','Sou ','Kai ','Sao ','Fan ','Liu ','Xi ','Liao ','Piao ','Piao ','Liu ','Biao ','Biao ','Biao ','Liao ','[?] ','Se ','Feng ','Biao ','Feng ','Yang ','Zhan ','Biao ','Sa ','Ju ','Si ','Sou ','Yao ','Liu ','Piao ','Biao ','Biao ','Fei ','Fan ','Fei ','Fei ','Shi ','Shi ','Can ','Ji ','Ding ','Si ','Tuo ','Zhan ','Sun ','Xiang ','Tun ','Ren ','Yu ','Juan ','Chi ','Yin ','Fan ','Fan ','Sun ','Yin ','Zhu ','Yi ','Zhai ','Bi ','Jie ','Tao ','Liu ','Ci ','Tie ','Si ','Bao ','Shi ','Duo ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xca.php
app/code/community/Catalin/SEO/Helper/data/xca.php
<?php $UTF8_TO_ASCII[0xca] = array( 'Cu ','Qu ','Chao ','Wa ','Zhu ','Zhi ','Mang ','Ao ','Bie ','Tuo ','Bi ','Yuan ','Chao ','Tuo ','Ding ','Mi ','Nai ','Ding ','Zi ','Gu ','Gu ','Dong ','Fen ','Tao ','Yuan ','Pi ','Chang ','Gao ','Qi ','Yuan ','Tang ','Teng ','Shu ','Shu ','Fen ','Fei ','Wen ','Ba ','Diao ','Tuo ','Tong ','Qu ','Sheng ','Shi ','You ','Shi ','Ting ','Wu ','Nian ','Jing ','Hun ','Ju ','Yan ','Tu ','Ti ','Xi ','Xian ','Yan ','Lei ','Bi ','Yao ','Qiu ','Han ','Wu ','Wu ','Hou ','Xi ','Ge ','Zha ','Xiu ','Weng ','Zha ','Nong ','Nang ','Qi ','Zhai ','Ji ','Zi ','Ji ','Ji ','Qi ','Ji ','Chi ','Chen ','Chen ','He ','Ya ','Ken ','Xie ','Pao ','Cuo ','Shi ','Zi ','Chi ','Nian ','Ju ','Tiao ','Ling ','Ling ','Chu ','Quan ','Xie ','Ken ','Nie ','Jiu ','Yao ','Chuo ','Kun ','Yu ','Chu ','Yi ','Ni ','Cuo ','Zou ','Qu ','Nen ','Xian ','Ou ','E ','Wo ','Yi ','Chuo ','Zou ','Dian ','Chu ','Jin ','Ya ','Chi ','Chen ','He ','Ken ','Ju ','Ling ','Pao ','Tiao ','Zi ','Ken ','Yu ','Chuo ','Qu ','Wo ','Long ','Pang ','Gong ','Pang ','Yan ','Long ','Long ','Gong ','Kan ','Ta ','Ling ','Ta ','Long ','Gong ','Kan ','Gui ','Qiu ','Bie ','Gui ','Yue ','Chui ','He ','Jue ','Xie ','Yu ','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x2f.php
app/code/community/Catalin/SEO/Helper/data/x2f.php
<?php $UTF8_TO_ASCII[0x2f] = array( '','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','','','','','','','','','','','','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]','[?]', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/xc2.php
app/code/community/Catalin/SEO/Helper/data/xc2.php
<?php $UTF8_TO_ASCII[0xc2] = array( 'Xu ','Ji ','Mu ','Chen ','Xiao ','Zha ','Ting ','Zhen ','Pei ','Mei ','Ling ','Qi ','Chou ','Huo ','Sha ','Fei ','Weng ','Zhan ','Yin ','Ni ','Chou ','Tun ','Lin ','[?] ','Dong ','Ying ','Wu ','Ling ','Shuang ','Ling ','Xia ','Hong ','Yin ','Mo ','Mai ','Yun ','Liu ','Meng ','Bin ','Wu ','Wei ','Huo ','Yin ','Xi ','Yi ','Ai ','Dan ','Deng ','Xian ','Yu ','Lu ','Long ','Dai ','Ji ','Pang ','Yang ','Ba ','Pi ','Wei ','[?] ','Xi ','Ji ','Mai ','Meng ','Meng ','Lei ','Li ','Huo ','Ai ','Fei ','Dai ','Long ','Ling ','Ai ','Feng ','Li ','Bao ','[?] ','He ','He ','Bing ','Qing ','Qing ','Jing ','Tian ','Zhen ','Jing ','Cheng ','Qing ','Jing ','Jing ','Dian ','Jing ','Tian ','Fei ','Fei ','Kao ','Mi ','Mian ','Mian ','Pao ','Ye ','Tian ','Hui ','Ye ','Ge ','Ding ','Cha ','Jian ','Ren ','Di ','Du ','Wu ','Ren ','Qin ','Jin ','Xue ','Niu ','Ba ','Yin ','Sa ','Na ','Mo ','Zu ','Da ','Ban ','Yi ','Yao ','Tao ','Tuo ','Jia ','Hong ','Pao ','Yang ','Tomo ','Yin ','Jia ','Tao ','Ji ','Xie ','An ','An ','Hen ','Gong ','Kohaze ','Da ','Qiao ','Ting ','Wan ','Ying ','Sui ','Tiao ','Qiao ','Xuan ','Kong ','Beng ','Ta ','Zhang ','Bing ','Kuo ','Ju ','La ','Xie ','Rou ','Bang ','Yi ','Qiu ','Qiu ','He ','Xiao ','Mu ','Ju ','Jian ','Bian ','Di ','Jian ','On ','Tao ','Gou ','Ta ','Bei ','Xie ','Pan ','Ge ','Bi ','Kuo ','Tang ','Lou ','Gui ','Qiao ','Xue ','Ji ','Jian ','Jiang ','Chan ','Da ','Huo ','Xian ','Qian ','Du ','Wa ','Jian ','Lan ','Wei ','Ren ','Fu ','Mei ','Juan ','Ge ','Wei ','Qiao ','Han ','Chang ','[?] ','Rou ','Xun ','She ','Wei ','Ge ','Bei ','Tao ','Gou ','Yun ','[?] ','Bi ','Wei ','Hui ','Du ','Wa ','Du ','Wei ','Ren ','Fu ','Han ','Wei ','Yun ','Tao ','Jiu ','Jiu ','Xian ','Xie ','Xian ','Ji ','Yin ','Za ','Yun ','Shao ','Le ','Peng ','Heng ','Ying ','Yun ','Peng ','Yin ','Yin ','Xiang ', );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false
caciobanu/improved-magento-layered-navigation
https://github.com/caciobanu/improved-magento-layered-navigation/blob/3e59498798b62b44b9cc3aca5f9275d95cb2fdb7/app/code/community/Catalin/SEO/Helper/data/x67.php
app/code/community/Catalin/SEO/Helper/data/x67.php
<?php $UTF8_TO_ASCII[0x67] = array( );
php
MIT
3e59498798b62b44b9cc3aca5f9275d95cb2fdb7
2026-01-05T04:58:11.914985Z
false