interface PoStreamInterface (View source)

Common functions for file/stream based PO readers/writers.

Methods

open()

Open the stream. Set the URI for the stream earlier with setURI().

close()

Close the stream.

URI
getURI()

Gets the URI of the PO stream that is being read or written.

setURI($uri)

Set the URI of the PO stream that is going to be read or written.

Details

open()

Open the stream. Set the URI for the stream earlier with setURI().

close()

Close the stream.

URI getURI()

Gets the URI of the PO stream that is being read or written.

Return Value

URI

string for this stream.

setURI($uri)

Set the URI of the PO stream that is going to be read or written.

Parameters

$uri

URI string to set for this stream.