You are here

private function IcuResFileDumper::getPosition in Plug 7

1 call to IcuResFileDumper::getPosition()
IcuResFileDumper::format in lib/Symfony/translation/Dumper/IcuResFileDumper.php
Transforms a domain of a message catalogue to its string representation.

File

lib/Symfony/translation/Dumper/IcuResFileDumper.php, line 98

Class

IcuResFileDumper
IcuResDumper generates an ICU ResourceBundle formatted string representation of a message catalogue.

Namespace

Symfony\Component\Translation\Dumper

Code

private function getPosition($data) {
  $position = (strlen($data) + 28) / 4;
  return $position;
}