POMO_StringReader::seekto( int $pos ): int


Parameters

$pos int Required

Top ↑

Return

int


Top ↑

Source

File: wp-includes/pomo/streams.php. View all references

public function seekto( $pos ) {
	$this->_pos = $pos;
	if ( $this->strlen( $this->_str ) < $this->_pos ) {
		$this->_pos = $this->strlen( $this->_str );
	}
	return $this->_pos;
}

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.