pyams_content.component.illustration package ⊞¶
-
class
pyams_content.component.illustration.BasicIllustration[source]¶ Bases:
persistent.Persistent,zope.container.contained.ContainedIllustration persistent class
-
alt_title¶ Accessibility title: Alternate title used to describe image content
Author: Name of picture’s author
-
data¶
-
title¶ Legend
-
-
class
pyams_content.component.illustration.Illustration[source]¶ Bases:
pyams_content.features.renderer.RenderedContentMixin,pyams_content.component.illustration.BasicIllustrationIllustration persistent class
-
description¶ Associated text: Illustration description displayed in front-office templates
-
renderer¶ Illustration template: Presentation template used for illustration
-
-
class
pyams_content.component.illustration.IllustrationContentChecker(context)[source]¶ Bases:
pyams_content.features.checker.BaseContentCheckerIllustration content checker
-
label= 'Illustration'¶
-
weight= 40¶
-
-
class
pyams_content.component.illustration.IllustrationNamespace(context)[source]¶ Bases:
pyams_utils.adapter.ContextAdapter++illustration++ namespace adapter
-
class
pyams_content.component.illustration.IllustrationRendererVocabulary(context=None)[source]¶ Bases:
pyams_content.features.renderer.RenderersVocabularyIllustration renderers vocabulary
-
content_interface= <InterfaceClass pyams_content.component.illustration.interfaces.IIllustration>¶
-
-
class
pyams_content.component.illustration.IllustrationSublocations(context)[source]¶ Bases:
pyams_utils.adapter.ContextAdapterIllustration sub-locations adapter
-
class
pyams_content.component.illustration.VirtualIllustration(source)[source]¶ Bases:
objectVirtual illustration based on image file
-
alt_title= None¶
-
data¶
-
title= None¶
-
-
pyams_content.component.illustration.basic_illustration_factory(context)[source]¶ Basic illustration factory
-
pyams_content.component.illustration.handle_added_illustration(event)[source]¶ Handle added illustration
-
pyams_content.component.illustration.handle_modified_illustration(event)[source]¶ Handle modified illustration
-
pyams_content.component.illustration.illustration_target_content_checker(context)[source]¶ Illustration target content checker
-
pyams_content.component.illustration.link_illustration_factory(context)[source]¶ Link illustration factory
-
pyams_content.component.illustration.update_illustration_properties(illustration)[source]¶ Update missing file properties
Subpackages¶
pyams_content.component.illustration.interfaces¶
-
interface
pyams_content.component.illustration.interfaces.IBasicIllustration[source]¶ Basic illustration interface
-
data¶ Image or video data
Image or video content
Implementation: pyams_i18n.schema.I18nThumbnailMediaFieldRead Only: False Required: False Default Value: None Allowed Type: dictKey Type
Implementation: zope.schema.TextLineRead Only: False Required: True Default Value: None Allowed Type: strValue Type
Implementation: pyams_file.schema.ThumbnailMediaFieldRead Only: False Required: False Default Value: None Allowed Type: bytes
-
has_data(self)¶ Check if data is provided in any language
-
title¶ Legend
Implementation: pyams_i18n.schema.I18nTextLineFieldRead Only: False Required: False Default Value: None Allowed Type: dictKey Type
Implementation: zope.schema.TextLineRead Only: False Required: True Default Value: None Allowed Type: strValue Type
Implementation: zope.schema.TextLineRead Only: False Required: False Default Value: None Allowed Type: str
-
alt_title¶ Accessibility title
Alternate title used to describe image content
Implementation: pyams_i18n.schema.I18nTextLineFieldRead Only: False Required: False Default Value: None Allowed Type: dictKey Type
Implementation: zope.schema.TextLineRead Only: False Required: True Default Value: None Allowed Type: strValue Type
Implementation: zope.schema.TextLineRead Only: False Required: False Default Value: None Allowed Type: str
Author
Name of picture’s author
Implementation: zope.schema.TextLineRead Only: False Required: False Default Value: None Allowed Type: str
-
-
interface
pyams_content.component.illustration.interfaces.IBasicIllustrationTarget[source]¶ Extends:
pyams_content.component.illustration.interfaces.IIllustrationTargetBaseBasic illustration target marker interface
-
interface
pyams_content.component.illustration.interfaces.IIllustration[source]¶ Extends:
pyams_content.component.illustration.interfaces.IBasicIllustration,pyams_content.features.renderer.interfaces.IRenderedContentIllustration paragraph
-
description¶ Associated text
Illustration description displayed in front-office templates
Implementation: pyams_i18n.schema.I18nTextFieldRead Only: False Required: False Default Value: None Allowed Type: dictKey Type
Implementation: zope.schema.TextLineRead Only: False Required: True Default Value: None Allowed Type: strValue Type
Implementation: zope.schema.TextRead Only: False Required: False Default Value: None Allowed Type: str
-
renderer¶ Illustration template
Presentation template used for illustration
Implementation: zope.schema.ChoiceRead Only: False Required: True Default Value: ‘default’
-
-
interface
pyams_content.component.illustration.interfaces.IIllustrationParagraph[source]¶ Extends:
pyams_content.component.illustration.interfaces.IIllustration,pyams_content.component.paragraph.interfaces.IBaseParagraphIllustration paragraph
-
data¶ Image or video data
Image or video content
Implementation: pyams_i18n.schema.I18nThumbnailMediaFieldRead Only: False Required: True Default Value: None Allowed Type: dictKey Type
Implementation: zope.schema.TextLineRead Only: False Required: True Default Value: None Allowed Type: strValue Type
Implementation: pyams_file.schema.ThumbnailMediaFieldRead Only: False Required: False Default Value: None Allowed Type: bytes
-
-
interface
pyams_content.component.illustration.interfaces.IIllustrationTarget[source]¶ Extends:
pyams_content.component.illustration.interfaces.IBasicIllustrationTargetIllustration target interface
-
interface
pyams_content.component.illustration.interfaces.IIllustrationTargetBase[source]¶ Extends:
zope.annotation.interfaces.IAttributeAnnotatableIllustration target base interface
-
interface
pyams_content.component.illustration.interfaces.ILinkIllustration[source]¶ Extends:
pyams_content.component.illustration.interfaces.IBasicIllustrationNavigation link illustration interface
-
interface
pyams_content.component.illustration.interfaces.ILinkIllustrationTarget[source]¶ Extends:
pyams_content.component.illustration.interfaces.IIllustrationTargetBaseLink illustration target interface
pyams_content.component.illustration.paragraph¶
pyams_content.component.illustration.thesaurus¶
-
class
pyams_content.component.illustration.thesaurus.IllustrationThesaurusExtension[source]¶ Bases:
objectIllustration thesaurus extension
-
icon= '<i class="fa fa-fw fa-file-image-o"></i>'¶
-
label= 'Illustration'¶
-
target_interface= <InterfaceClass pyams_content.component.illustration.interfaces.IBasicIllustrationTarget>¶
-
target_view= 'illustration-dialog.html'¶
-
weight= 20¶
-