Hi,

On Fri, 2008-02-01 at 14:15 +0100, Kore Nordmann wrote:
> On Fri, 2008-02-01 at 13:39 +0100, Alexandru Stanoi wrote:
> > > Using the document manager
> > > --------------------------
> > > 
> > > ::
> > >   ezcDocumentManager::setFormat( 'rst', 'myCustomRstHandler' );
> > >   $doc = ezcDocumentManager::loadFile( 'rst', '/path/to/my.rst' );
> > > 
> > >   // All errors in the RST syntax should now be magically fixed.
> > >   echo $doc;
> > 
> > Do you need to set those format tables at every request? Can lazy 
> > initialization be used for this purpose?

Oh, actually answered the wrong thing.

In the example a custom document handler is set, to overwrite the
default one from the component. So: No. :)

Even there custom rules we may want to add support for lazy
initialization here, too. Yes.

-- 
Mit freundlichen Grüßen / Med vennlig hilsen
 
Kore Nordmann (GPG: 0xDDC70BBB)
eZ Components Developer
eZ systems Headquarters

tel +49 (0) 231-9742-7750 | fax +49 (0) 231-9742-7751
[EMAIL PROTECTED] | eZ systems | ez.no

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to