PHP Classes

File: docs/md/I18Next-Locale-Processor-Key.md

Recommend this page to a friend!
  Classes of Francesco Danti   ATK4 i18next PHP   docs/md/I18Next-Locale-Processor-Key.md   Download  
File: docs/md/I18Next-Locale-Processor-Key.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: ATK4 i18next PHP
Translate application texts like il8next-PHP
Author: By
Last change: Update documentation
Date: 5 years ago
Size: 2,128 bytes
 

Contents

Class file image Download

I18Next\Locale\Processor\Key

Properties

$translations

protected \I18Next\Locale\Processor\Translations $translations

  • Visibility: protected

Methods

processKey

string|null I18Next\Locale\Processor\Key::processKey(string key, string|null context, int|null counter)

  • Visibility: public

Arguments

  • key string
  • context string|null
  • counter int|null

processWithCounter

mixed|null I18Next\Locale\Processor\Key::processWithCounter(string key, int|null counter)

  • Visibility: private

Arguments

  • key string
  • counter int|null

process

mixed|null I18Next\Locale\Processor\Key::process(key)

  • Visibility: private

Arguments

  • key mixed

processWithNamespaceWithCounter

mixed|null I18Next\Locale\Processor\Key::processWithNamespaceWithCounter(string key, int|null counter)

  • Visibility: private

Arguments

  • key string
  • counter int|null

processWithNamespace

mixed|null I18Next\Locale\Processor\Key::processWithNamespace(key)

  • Visibility: private

Arguments

  • key mixed

getKeyNamespace

string|null I18Next\Locale\Processor\Key::getKeyNamespace(key)

  • Visibility: private

Arguments

  • key mixed

getOnlyKeyFromNamespacedKey

bool|string I18Next\Locale\Processor\Key::getOnlyKeyFromNamespacedKey(key, namespace)

  • Visibility: private

Arguments

  • key mixed
  • namespace mixed

__construct

mixed I18Next\Locale\Processor\AbstractProcessor::__construct(\I18Next\Locale\Processor\Translations translations)

AbstractProcessor constructor.

Arguments

  • translations I18Next\Locale\Processor\Translations