public function PoStreamReader::setSeek

public PoStreamReader::setSeek($seek)

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\Gettext

Code

public function setSeek($seek) {
  fseek($this->_fd, $seek);
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Gettext!PoStreamReader.php/function/PoStreamReader::setSeek/8.1.x