PhpTransliteration::$languageOverrides

Associative array of language-specific character transliteration tables. The outermost array keys are language codes. For each language code key, the value is an array whose keys are Unicode character codes, and whose values are the transliterations of those characters to US-ASCII. This is set up as needed in PhpTransliteration::replace() by calling PhpTransliteration::readLanguageOverrides(). Type: array File core/lib/Drupal/Component/Transliteration/PhpTransliteration.php, line 47 Class P

PhpTransliteration::$genericMap

Non-language-specific transliteration tables. Array whose keys are the upper two bytes of the Unicode character, and whose values are an array of transliterations for each lower-two bytes character code. This is set up as needed in PhpTransliteration::replace() by calling PhpTransliteration::readGenericData(). Type: array File core/lib/Drupal/Component/Transliteration/PhpTransliteration.php, line 59 Class PhpTransliteration Implements transliteration without using the PECL extensions. Na

PhpTransliteration::$dataDirectory

Directory where data for transliteration resides. The constructor sets this (by default) to subdirectory 'data' underneath the directory where the class's PHP file resides. Type: string File core/lib/Drupal/Component/Transliteration/PhpTransliteration.php, line 34 Class PhpTransliteration Implements transliteration without using the PECL extensions. Namespace Drupal\Component\Transliteration Code protected $dataDirectory;

PhpTransliteration

Implements transliteration without using the PECL extensions. Transliterations are done character-by-character, by looking up non-US-ASCII characters in a transliteration database. The database comes from two types of files, both of which are searched for in the PhpTransliteration::$dataDirectory directory. First, language-specific overrides are searched (see PhpTransliteration::readLanguageOverrides()). If there is no language-specific override for a character, the generic transliteration char

PhpTransliteration

Enhances PhpTransliteration with an alter hook. Hierarchy class \Drupal\Component\Transliteration\PhpTransliteration implements TransliterationInterfaceclass \Drupal\Core\Transliteration\PhpTransliteration See also hook_transliteration_overrides_alter() Related topics Transliteration Transliterate from Unicode to US-ASCII File core/lib/Drupal/Core/Transliteration/PhpTransliteration.php, line 14 Namespace Drupal\Core\Transliteration Members Name Modifiers Type Description P

PhpStreamWrapperInterface::url_stat

public PhpStreamWrapperInterface::url_stat($path, $flags) Return value array File core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php, line 221 Class PhpStreamWrapperInterface Defines a generic PHP stream wrapper interface. Namespace Drupal\Core\StreamWrapper Code public function url_stat($path, $flags);

PhpStreamWrapperInterface::unlink

public PhpStreamWrapperInterface::unlink($path) Return value bool File core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php, line 216 Class PhpStreamWrapperInterface Defines a generic PHP stream wrapper interface. Namespace Drupal\Core\StreamWrapper Code public function unlink($path);

PhpStreamWrapperInterface::stream_write

public PhpStreamWrapperInterface::stream_write($data) Return value int File core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php, line 211 Class PhpStreamWrapperInterface Defines a generic PHP stream wrapper interface. Namespace Drupal\Core\StreamWrapper Code public function stream_write($data);

PhpStreamWrapperInterface::stream_truncate

public PhpStreamWrapperInterface::stream_truncate($new_size) Truncate stream. Will respond to truncation; e.g., through ftruncate(). Parameters int $new_size: The new size. Return value bool TRUE on success, FALSE otherwise. File core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php, line 206 Class PhpStreamWrapperInterface Defines a generic PHP stream wrapper interface. Namespace Drupal\Core\StreamWrapper Code public function stream_truncate($new_size);

PhpStreamWrapperInterface::stream_tell

public PhpStreamWrapperInterface::stream_tell() Return value int File core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php, line 193 Class PhpStreamWrapperInterface Defines a generic PHP stream wrapper interface. Namespace Drupal\Core\StreamWrapper Code public function stream_tell();