Document: ezcDocumentManager
[ ]
[ Conversion ]
[ ]
[ ]
[ ]
[ ]
Class: ezcDocumentManager
|
A ducument type handler manager class. [
source]
The document manager manages a list of document handlers for document types, identified by a string. You may overwrite the used implementation for one or all formats, or add custom implementations for new document types.
Member Variables
|
protected array |
$handlers
= array( 'rst' => 'ezcDocumentRst', // ... )
Predefined handler list. |
Method Summary
|
public static ezcDocument |
loadFile(
$format, $file )
Load file with specified handler |
|
public static void |
setHandler(
$format, $handler )
Set handler for format |
Methods
loadFile
Load file with specified handler
Parameters
| Name |
Type |
Description |
$format |
string |
|
$file |
string |
|
setHandler
void setHandler(
string
$format, string
$handler )
Set handler for format
Set the format handler for $format to the specified handler class, which should extend from ezcDocument.
Parameters
| Name |
Type |
Description |
$format |
string |
|
$handler |
string |
|
Last updated: Wed, 18 Jun 2008