pyams_content.component.gallery package¶
-Subpackages¶
- -Submodules¶
-pyams_content.component.gallery.file module¶
--
-
-
-class
pyams_content.component.gallery.file.
GalleryFile
¶
- Bases:
-persistent.Persistent
,zope.container.contained.Contained
Gallery file info
--
-
-
-
alt_title
¶
- Computed attributes based on schema fields
-Field properties provide default values, data validation and error messages -based on data found in field meta-data.
-Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.
-
-
-
Computed attributes based on schema fields
-Field properties provide default values, data validation and error messages -based on data found in field meta-data.
-Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.
-
-
-
Computed attributes based on schema fields
-Field properties provide default values, data validation and error messages -based on data found in field meta-data.
-Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.
-
-
-
-
-
data
¶
-
-
-
-
-
description
¶
- Computed attributes based on schema fields
-Field properties provide default values, data validation and error messages -based on data found in field meta-data.
-Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.
-
-
-
-
-
pif_number
¶
- Computed attributes based on schema fields
-Field properties provide default values, data validation and error messages -based on data found in field meta-data.
-Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.
-
-
-
-
-
sound
¶
- Property class used to handle files
-
-
-
-
-
sound_description
¶
- Computed attributes based on schema fields
-Field properties provide default values, data validation and error messages -based on data found in field meta-data.
-Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.
-
-
-
-
-
sound_title
¶
- Computed attributes based on schema fields
-Field properties provide default values, data validation and error messages -based on data found in field meta-data.
-Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.
-
-
-
-
-
title
¶
- Computed attributes based on schema fields
-Field properties provide default values, data validation and error messages -based on data found in field meta-data.
-Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.
-
-
-
-
-
visible
¶
- Computed attributes based on schema fields
-Field properties provide default values, data validation and error messages -based on data found in field meta-data.
-Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.
-
-
-
-
-
-
-class
pyams_content.component.gallery.file.
GalleryFileContentChecker
(context)¶
- Bases:
-pyams_content.features.checker.BaseContentChecker
Gallery file content checker
--
-
-
-
inner_check
(request)¶
-
-
-
-
-
label
¶
-
-
-
-
-
-
-class
pyams_content.component.gallery.file.
GalleryFilePermissionChecker
(context)¶
- Bases:
-pyams_utils.adapter.ContextAdapter
Gallery file permission checker
--
-
-
-
edit_permission
¶
-
-
-
-
-
-
-
pyams_content.component.gallery.file.
handle_added_gallery_file
(event)¶
- Handle added gallery file
-
-
-
-
-
pyams_content.component.gallery.file.
handle_modified_gallery_file
(event)¶
- Handle modified gallery file
-
-
-
-
-
pyams_content.component.gallery.file.
handle_removed_gallery_file
(event)¶
- Handle removed gallery file
-
pyams_content.component.gallery.paragraph module¶
--
-
-
-class
pyams_content.component.gallery.paragraph.
Gallery
¶
- Bases:
-pyams_content.component.gallery.Gallery
,pyams_content.component.paragraph.BaseParagraph
Gallery class
--
-
-
-
icon_class
= 'fa-picture-o'¶
-
-
-
-
-
icon_hint
= 'Images gallery'¶
-
-
-
-
-
-
-class
pyams_content.component.gallery.paragraph.
GalleryFactory
¶
- Bases:
-object
Gallery paragraph factory
- - --
-
-
-
name
= 'Images gallery'¶
-
-
-
-
-
-
-class
pyams_content.component.gallery.paragraph.
GalleryParagraphContentChecker
(context)¶
- Bases:
-pyams_content.component.paragraph.BaseParagraphContentChecker
Gallery paragraph content checker
--
-
-
-
inner_check
(request)¶
-
-
-
Module contents¶
--
-
-
-class
pyams_content.component.gallery.
Gallery
¶
- Bases:
-pyams_utils.container.BTreeOrderedContainer
Gallery persistent class
--
-
-
-
append
(value, notify=True)¶
-
-
-
-
-
description
¶
- Computed attributes based on schema fields
-Field properties provide default values, data validation and error messages -based on data found in field meta-data.
-Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.
-
-
-
-
-
get_visible_images
()¶
-
-
-
-
-
last_id
= 1¶
-
-
-
-
-
renderer
¶
- Computed attributes based on schema fields
-Field properties provide default values, data validation and error messages -based on data found in field meta-data.
-Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.
-
-
-
-
-
title
¶
- Computed attributes based on schema fields
-Field properties provide default values, data validation and error messages -based on data found in field meta-data.
-Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.
-
-
-
-
-
-
-class
pyams_content.component.gallery.
GalleryContainerNamespace
(context)¶
- Bases:
-pyams_utils.adapter.ContextAdapter
++gallery++ namespace traverser
--
-
-
-
traverse
(name, furtherpath=None)¶
-
-
-
-
-
-
-class
pyams_content.component.gallery.
GalleryContainerSublocations
(context)¶
- Bases:
-pyams_utils.adapter.ContextAdapter
Galleries container sublocations
--
-
-
-
sublocations
()¶
-
-
-
-
-
-
-class
pyams_content.component.gallery.
GalleryContentChecker
(context)¶
- Bases:
-pyams_content.features.checker.BaseContentChecker
Gallery content checker
--
-
-
-
inner_check
(request)¶
-
-
-
-
-
label
= 'Gallery'¶
-
-
-
-
-
sep
= '\n'¶
-
-
-
-
-
weight
= 60¶
-
-
-
-
-
-
-class
pyams_content.component.gallery.
GalleryPermissionChecker
(context)¶
- Bases:
-pyams_utils.adapter.ContextAdapter
Gallery permission checker
--
-
-
-
edit_permission
¶
-
-
-
-
-
-
-class
pyams_content.component.gallery.
GalleryRendererVocabulary
(context=None)¶
- Bases:
-zope.schema.vocabulary.SimpleVocabulary
Gallery renderer utilities vocabulary
-
-
-
-
-
pyams_content.component.gallery.
GalleryTargetContentChecker
(context)¶
-
-
-
-
-
pyams_content.component.gallery.
gallery_factory
(target)¶
- Galleries container factory
-
-
-
-
-
pyams_content.component.gallery.
handle_added_gallery
(event)¶
- Handle added gallery
-
-
-
-
-
pyams_content.component.gallery.
handle_modified_gallery
(event)¶
- Handle modified gallery
-
-
-
-
-
pyams_content.component.gallery.
handle_removed_gallery
(event)¶
- Handle removed gallery
-