def __init__(self, original, templateResolver=None):
        """
        Create an _OfferingsFragment with an item from a site store.

        @param original: a L{FrontPage} item.

        @param templateResolver: An L{ITemplateNameResolver} from which to
            load the document factory.  If not specified, the Store of
            C{original} will be adapted to L{ITemplateNameResolver} and used
            for this purpose.  It is recommended that you pass a value for
            this parameter.
        """
        if templateResolver is None:
            templateResolver = ixmantissa.ITemplateNameResolver(original.store)
        self.templateResolver = templateResolver
        super(_OfferingsFragment, self).__init__(original)
def __init__ ( self , original , templateResolver = None ) : if templateResolver is None : templateResolver = ixmantissa . ITemplateNameResolver ( original . store ) self . templateResolver = templateResolver super ( _OfferingsFragment , self ) . __init__ ( original )
Create an _OfferingsFragment with an item from a site store.

        @param original: a L{FrontPage} item.

        @param templateResolver: An L{ITemplateNameResolver} from which to
            load the document factory.  If not specified, the Store of
            C{original} will be adapted to L{ITemplateNameResolver} and used
            for this purpose.  It is recommended that you pass a value for
            this parameter.