コード例 #1
0
ファイル: playgroup.py プロジェクト: mingtak/babywithme
class IPlaygroup(form.Schema, IImageScaleTraversable):
    """
    playgroup to learning
    """

    # If you want a schema-defined interface, delete the model.load
    # line below and delete the matching file in the models sub-directory.
    # If you want a model-based interface, edit
    # models/playgroup.xml to define the content type.

    form.model("models/playgroup.xml")
コード例 #2
0
ファイル: blogpage.py プロジェクト: mingtak/babywithme
class IBlogPage(form.Schema, IImageScaleTraversable):
    """
    babywith.me new content type, simple document format
    """

    # If you want a schema-defined interface, delete the model.load
    # line below and delete the matching file in the models sub-directory.
    # If you want a model-based interface, edit
    # models/blogpage.xml to define the content type.

    form.model("models/blogpage.xml")
コード例 #3
0
class Ipg_search_field(form.Schema):
    """
    Desktop for IOL Application connected with Postgres Database
    """

    # If you want a schema-defined interface, delete the model.load
    # line below and delete the matching file in the models sub-directory.
    # If you want a model-based interface, edit
    # models/pg_desktop.xml to define the content type.

    form.model("models/pg_search_field.xml")
コード例 #4
0
class _ICourse(form.Schema, IImageScaleTraversable):
    """
    Course
    """

    # If you want a schema-defined interface, delete the model.load
    # line below and delete the matching file in the models sub-directory.
    # If you want a model-based interface, edit
    # models/course.xml to define the content type.

    form.model("models/course.xml")
コード例 #5
0
class IWorkspace(form.Schema, IImageScaleTraversable):
    """
    A workspace for site mambers
    """

    # If you want a schema-defined interface, delete the model.load
    # line below and delete the matching file in the models sub-directory.
    # If you want a model-based interface, edit
    # models/workspace.xml to define the content type.

    form.model("models/workspace.xml")
コード例 #6
0
class IAuthor(form.Schema, IImageScaleTraversable):
    """
    Author information
    """

    # If you want a schema-defined interface, delete the model.load
    # line below and delete the matching file in the models sub-directory.
    # If you want a model-based interface, edit
    # models/author.xml to define the content type.

    form.model("models/author.xml")
コード例 #7
0
class IPKApplication(form.Schema):
    """
    PackageKit Application
    """

    # If you want a schema-defined interface, delete the form.model
    # line below and delete the matching file in the models sub-directory.
    # If you want a model-based interface, edit
    # models/pkapplication.xml to define the content type
    # and add directives here as necessary.

    form.model("models/pkapplication.xml")
コード例 #8
0
class IContentFragment(form.Schema):
    """
    Content view fragment for composable page
    """

    form.model("models/content_fragment.xml")

    relation_field = RelationChoice(
        title=_(u'My Related Page'),
        source=ObjPathSourceBinder(portal_type='Document'),
        default=None,
        required=False)
コード例 #9
0
class Isessione_di_laurea(form.Schema, IImageScaleTraversable):
    """
    Sessione di laurea
    """

    # If you want a schema-defined interface, delete the form.model
    # line below and delete the matching file in the models sub-directory.
    # If you want a model-based interface, edit
    # models/sessione_di_laurea.xml to define the content type
    # and add directives here as necessary.

    form.model("models/sessione_di_laurea.xml")
コード例 #10
0
class ISpotlight(form.Schema, IImageScaleTraversable):
    """
    Description of the Example Type
    """

    # If you want a schema-defined interface, delete the form.model
    # line below and delete the matching file in the models sub-directory.
    # If you want a model-based interface, edit
    # models/spotlight.xml to define the content type
    # and add directives here as necessary.

    form.model("models/spotlight.xml")
コード例 #11
0
class IElection(form.Schema):
    """ An election.
    """
    form.model("models/election.xml")
コード例 #12
0
class IPageFragment(form.Schema):
    """
    Building block for composable page
    """

    form.model("models/page_fragment.xml")
コード例 #13
0
class ICover(form.Schema):
    """
    Composable page
    """
    form.model("models/cover.xml")
コード例 #14
0
class IComposition(form.Schema):
    """
    Composable page
    """
    form.model("models/composition.xml")
コード例 #15
0
class IColumn(form.Schema):
    """
    Interfaces for columns
    """

    form.model("models/dt_column.xml")
コード例 #16
0
class IMapLayer(form.Schema):
    """Marker Interfaces for IMapLayer
    """
    form.model('models/ol_layer.xml')
コード例 #17
0
class IMap(form.Schema):
    """"Marker Interface for Imap
    """
    form.model("models/google_map.xml")
コード例 #18
0
class IHTMLFragment(form.Schema):
    """
    HTML fragment for composable page
    """
    
    form.model("models/html_fragment.xml")
コード例 #19
0
class IPortletFragment(form.Schema):
    """
    Content view fragment for composable page
    """
    
    form.model("models/portlet_fragment.xml")
コード例 #20
0
ファイル: __init__.py プロジェクト: seantis/seantis.agencies
class IMember(form.Schema):
    form.model("member.xml")
コード例 #21
0
class IConnectionSettings(form.Schema):
    """ Define the fields for the content type add form
    """
    form.model("models/connection.xml")
コード例 #22
0
class ICover(form.Schema):

    """A composable page."""

    form.model('models/cover.xml')