function PoStreamReader::setSeek
Same name in other branches
- 9 core/lib/Drupal/Component/Gettext/PoStreamReader.php \Drupal\Component\Gettext\PoStreamReader::setSeek()
- 8.9.x core/lib/Drupal/Component/Gettext/PoStreamReader.php \Drupal\Component\Gettext\PoStreamReader::setSeek()
- 11.x core/lib/Drupal/Component/Gettext/PoStreamReader.php \Drupal\Component\Gettext\PoStreamReader::setSeek()
Sets the seek position for the current PO stream.
Parameters
int $seek: The new seek position to set.
File
-
core/
lib/ Drupal/ Component/ Gettext/ PoStreamReader.php, line 198
Class
- PoStreamReader
- Implements Gettext PO stream reader.
Namespace
Drupal\Component\GettextCode
public function setSeek($seek) {
fseek($this->fd, $seek);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.