pyams_content.component.links package¶
-Subpackages¶
- -Module contents¶
--
-
-
-class
pyams_content.component.links.
BaseLink
¶
- Bases:
-pyams_content.component.association.AssociationItem
Base link persistent class
--
-
-
-
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.
-
-
-
-
-
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.links.
BaseLinkContentChecker
(context)¶
- Bases:
-pyams_content.features.checker.BaseContentChecker
Base link content checker
--
-
-
-
label
¶
-
-
-
-
-
-
-class
pyams_content.component.links.
BaseLinkInfoAdapter
(context)¶
- Bases:
-pyams_utils.adapter.ContextAdapter
Base link association info adapter
--
-
-
-
pictogram
¶
-
-
-
-
-
-
-class
pyams_content.component.links.
ContentLinksVocabulary
(context=None)¶
- Bases:
-zope.schema.vocabulary.SimpleVocabulary
Content links vocabulary
-
-
-
-
-class
pyams_content.component.links.
ExternalLink
¶
- Bases:
-pyams_content.component.links.BaseLink
External link persistent class
--
-
-
-
get_editor_url
()¶
-
-
-
-
-
get_url
(request=None, view_name=None)¶
-
-
-
-
-
icon_class
= 'fa-external-link'¶
-
-
-
-
-
icon_hint
= 'External link'¶
-
-
-
-
-
language
¶
- 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.
-
-
-
-
-
url
¶
- 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.links.
ExternalLinkAssociationInfoAdapter
(context)¶
- Bases:
-pyams_content.component.links.BaseLinkInfoAdapter
External link association info adapter
--
-
-
-
human_size
¶
-
-
-
-
-
inner_title
¶
-
-
-
-
-
user_title
¶
-
-
-
-
-
-
-class
pyams_content.component.links.
ExternalLinkContentChecker
(context)¶
- Bases:
-pyams_content.component.links.BaseLinkContentChecker
External link content checker
-
-
-
-
-class
pyams_content.component.links.
InternalLink
¶
- Bases:
-pyams_content.component.links.BaseLink
Internal link persistent class
--
-
-
-
get_editor_url
()¶
-
-
-
-
-
get_target
(state=None)¶
-
-
-
-
-
get_url
(request=None, view_name=None)¶
-
-
-
-
-
icon_class
= 'fa-external-link-square fa-rotate-90'¶
-
-
-
-
-
icon_hint
= 'Internal link'¶
-
-
-
-
-
reference
¶
- 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.links.
InternalLinkAssociationInfoAdapter
(context)¶
- Bases:
-pyams_content.component.links.BaseLinkInfoAdapter
Internal link association info adapter
--
-
-
-
human_size
¶
-
-
-
-
-
inner_title
¶
-
-
-
-
-
user_title
¶
-
-
-
-
-
-
-class
pyams_content.component.links.
InternalLinkContentChecker
(context)¶
- Bases:
-pyams_content.component.links.BaseLinkContentChecker
Internal link content checker
--
-
-
-
inner_check
(request)¶
-
-
-
-
-
-
-class
pyams_content.component.links.
MailtoLink
¶
- Bases:
-pyams_content.component.links.BaseLink
Mailto link persistent class
--
-
-
-
address
¶
- 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.
-
-
-
-
-
address_name
¶
- 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_editor_url
()¶
-
-
-
-
-
get_url
(request=None, view_name=None)¶
-
-
-
-
-
icon_class
= 'fa-envelope-o'¶
-
-
-
-
-
icon_hint
= 'Mailto link'¶
-
-
-
-
-
-
-class
pyams_content.component.links.
MailtoLinkAssociationInfoAdapter
(context)¶
- Bases:
-pyams_content.component.links.BaseLinkInfoAdapter
Mailto link association info adapter
--
-
-
-
human_size
¶
-
-
-
-
-
inner_title
¶
-
-
-
-
-
user_title
¶
-
-
-
-
-
-
-class
pyams_content.component.links.
MailtoLinkContentChecker
(context)¶
- Bases:
-pyams_content.component.links.BaseLinkContentChecker
Mailto link content checker
-