HaruDoc::getEncoder
(PECL haru >= 0.0.1)
HaruDoc::getEncoder — Get HaruEncoder instance for the specified encoding
Description
object HaruDoc::getEncoder
( string $encoding
)
Get the HaruEncoder instance for the specified encoding.
Return Values
Returns a HaruEncoder instance for the specified encoding.
Errors/Exceptions
Throws a HaruException on error.
See Also
- HaruDoc::setCurrentEncoder() - Set the current encoder for the document
- HaruDoc::getCurrentEncoder() - Get HaruEncoder currently used in the document