Interface
zope.contentprovider.interfaces.IContentProvider

A piece of content to be shown on a page.

Objects implementing this interface are providing HTML content when they are rendered. It is up to the implementation to decide how to lookup necessary data to complete the job.

Content Providers use a two-stage process to fulfill their contract:

  1. The first stage is responsible to calculate the state of the content provider and, if applicable, edit the data. This stage is executed using the update() method.
  2. During the second stage the provider constructs/renders its HTML output based on the state that was calculated in the first stage. This stage is executed using the render() method.

Content Providers are discriminated by three components: the context, the request and the view. This allows great control over the selection of the provider.

Base interfaces

Attributes/Fields

* = required

Methods

Adapters

Adapters where this interface is required:

Specific Adapters

There are no specific adapters registered for this interface.

Extended Adapters

Generic Adapters

Adapters that provide this interface:

Views

Browser

Specific views

There are no views available.

Extended views

Generic views

XML-RPC

HTTP

FTP

Other

Other Information

Classes