|
1 |
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
|
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
4 |
|
5 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
6 <head> |
|
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
8 <title>pyams_content.component.links package — PyAMS User Guide 0.1.0 documentation</title> |
|
9 <link rel="stylesheet" href="_static/pyramid.css" type="text/css" /> |
|
10 <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> |
|
11 <script type="text/javascript"> |
|
12 var DOCUMENTATION_OPTIONS = { |
|
13 URL_ROOT: './', |
|
14 VERSION: '0.1.0', |
|
15 COLLAPSE_INDEX: false, |
|
16 FILE_SUFFIX: '.html', |
|
17 HAS_SOURCE: true, |
|
18 SOURCELINK_SUFFIX: '.txt' |
|
19 }; |
|
20 </script> |
|
21 <script type="text/javascript" src="_static/jquery.js"></script> |
|
22 <script type="text/javascript" src="_static/underscore.js"></script> |
|
23 <script type="text/javascript" src="_static/doctools.js"></script> |
|
24 <link rel="index" title="Index" href="genindex.html" /> |
|
25 <link rel="search" title="Search" href="search.html" /> |
|
26 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Neuton&subset=latin" type="text/css" media="screen" charset="utf-8" /> |
|
27 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nobile:regular,italic,bold,bolditalic&subset=latin" type="text/css" media="screen" charset="utf-8" /> |
|
28 <!--[if lte IE 6]> |
|
29 <link rel="stylesheet" href="_static/ie6.css" type="text/css" media="screen" charset="utf-8" /> |
|
30 <![endif]--> |
|
31 |
|
32 </head> |
|
33 <body> |
|
34 |
|
35 <div class="related" role="navigation" aria-label="related navigation"> |
|
36 <h3>Navigation</h3> |
|
37 <ul> |
|
38 <li class="right" style="margin-right: 10px"> |
|
39 <a href="genindex.html" title="General Index" |
|
40 accesskey="I">index</a></li> |
|
41 <li class="right" > |
|
42 <a href="py-modindex.html" title="Python Module Index" |
|
43 >modules</a> |</li> |
|
44 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
45 </ul> |
|
46 </div> |
|
47 |
|
48 <div class="document"> |
|
49 <div class="documentwrapper"> |
|
50 <div class="bodywrapper"> |
|
51 <div class="body" role="main"> |
|
52 |
|
53 <div class="section" id="pyams-content-component-links-package"> |
|
54 <h1>pyams_content.component.links package<a class="headerlink" href="#pyams-content-component-links-package" title="Permalink to this headline">¶</a></h1> |
|
55 <div class="section" id="subpackages"> |
|
56 <h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to this headline">¶</a></h2> |
|
57 <div class="toctree-wrapper compound"> |
|
58 <ul> |
|
59 <li class="toctree-l1"><a class="reference internal" href="pyams_content.component.links.interfaces.html">pyams_content.component.links.interfaces package</a><ul> |
|
60 <li class="toctree-l2"><a class="reference internal" href="pyams_content.component.links.interfaces.html#module-pyams_content.component.links.interfaces">Module contents</a></li> |
|
61 </ul> |
|
62 </li> |
|
63 <li class="toctree-l1"><a class="reference internal" href="pyams_content.component.links.zmi.html">pyams_content.component.links.zmi package</a><ul> |
|
64 <li class="toctree-l2"><a class="reference internal" href="pyams_content.component.links.zmi.html#submodules">Submodules</a></li> |
|
65 <li class="toctree-l2"><a class="reference internal" href="pyams_content.component.links.zmi.html#module-pyams_content.component.links.zmi.container">pyams_content.component.links.zmi.container module</a></li> |
|
66 <li class="toctree-l2"><a class="reference internal" href="pyams_content.component.links.zmi.html#module-pyams_content.component.links.zmi.reverse">pyams_content.component.links.zmi.reverse module</a></li> |
|
67 <li class="toctree-l2"><a class="reference internal" href="pyams_content.component.links.zmi.html#module-pyams_content.component.links.zmi">Module contents</a></li> |
|
68 </ul> |
|
69 </li> |
|
70 </ul> |
|
71 </div> |
|
72 </div> |
|
73 <div class="section" id="module-pyams_content.component.links"> |
|
74 <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyams_content.component.links" title="Permalink to this headline">¶</a></h2> |
|
75 <dl class="class"> |
|
76 <dt id="pyams_content.component.links.BaseLink"> |
|
77 <em class="property">class </em><code class="descclassname">pyams_content.component.links.</code><code class="descname">BaseLink</code><a class="headerlink" href="#pyams_content.component.links.BaseLink" title="Permalink to this definition">¶</a></dt> |
|
78 <dd><p>Bases: <a class="reference internal" href="pyams_content.component.association.html#pyams_content.component.association.AssociationItem" title="pyams_content.component.association.AssociationItem"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.association.AssociationItem</span></code></a></p> |
|
79 <p>Base link persistent class</p> |
|
80 <dl class="attribute"> |
|
81 <dt id="pyams_content.component.links.BaseLink.description"> |
|
82 <code class="descname">description</code><a class="headerlink" href="#pyams_content.component.links.BaseLink.description" title="Permalink to this definition">¶</a></dt> |
|
83 <dd><p>Computed attributes based on schema fields</p> |
|
84 <p>Field properties provide default values, data validation and error messages |
|
85 based on data found in field meta-data.</p> |
|
86 <p>Note that FieldProperties cannot be used with slots. They can only |
|
87 be used for attributes stored in instance dictionaries.</p> |
|
88 </dd></dl> |
|
89 |
|
90 <dl class="attribute"> |
|
91 <dt id="pyams_content.component.links.BaseLink.title"> |
|
92 <code class="descname">title</code><a class="headerlink" href="#pyams_content.component.links.BaseLink.title" title="Permalink to this definition">¶</a></dt> |
|
93 <dd><p>Computed attributes based on schema fields</p> |
|
94 <p>Field properties provide default values, data validation and error messages |
|
95 based on data found in field meta-data.</p> |
|
96 <p>Note that FieldProperties cannot be used with slots. They can only |
|
97 be used for attributes stored in instance dictionaries.</p> |
|
98 </dd></dl> |
|
99 |
|
100 </dd></dl> |
|
101 |
|
102 <dl class="class"> |
|
103 <dt id="pyams_content.component.links.BaseLinkContentChecker"> |
|
104 <em class="property">class </em><code class="descclassname">pyams_content.component.links.</code><code class="descname">BaseLinkContentChecker</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.links.BaseLinkContentChecker" title="Permalink to this definition">¶</a></dt> |
|
105 <dd><p>Bases: <a class="reference internal" href="pyams_content.features.checker.html#pyams_content.features.checker.BaseContentChecker" title="pyams_content.features.checker.BaseContentChecker"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.features.checker.BaseContentChecker</span></code></a></p> |
|
106 <p>Base link content checker</p> |
|
107 <dl class="attribute"> |
|
108 <dt id="pyams_content.component.links.BaseLinkContentChecker.label"> |
|
109 <code class="descname">label</code><a class="headerlink" href="#pyams_content.component.links.BaseLinkContentChecker.label" title="Permalink to this definition">¶</a></dt> |
|
110 <dd></dd></dl> |
|
111 |
|
112 </dd></dl> |
|
113 |
|
114 <dl class="class"> |
|
115 <dt id="pyams_content.component.links.BaseLinkInfoAdapter"> |
|
116 <em class="property">class </em><code class="descclassname">pyams_content.component.links.</code><code class="descname">BaseLinkInfoAdapter</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.links.BaseLinkInfoAdapter" title="Permalink to this definition">¶</a></dt> |
|
117 <dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextAdapter" title="pyams_utils.adapter.ContextAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextAdapter</span></code></a></p> |
|
118 <p>Base link association info adapter</p> |
|
119 <dl class="attribute"> |
|
120 <dt id="pyams_content.component.links.BaseLinkInfoAdapter.pictogram"> |
|
121 <code class="descname">pictogram</code><a class="headerlink" href="#pyams_content.component.links.BaseLinkInfoAdapter.pictogram" title="Permalink to this definition">¶</a></dt> |
|
122 <dd></dd></dl> |
|
123 |
|
124 </dd></dl> |
|
125 |
|
126 <dl class="class"> |
|
127 <dt id="pyams_content.component.links.ContentLinksVocabulary"> |
|
128 <em class="property">class </em><code class="descclassname">pyams_content.component.links.</code><code class="descname">ContentLinksVocabulary</code><span class="sig-paren">(</span><em>context=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.links.ContentLinksVocabulary" title="Permalink to this definition">¶</a></dt> |
|
129 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">zope.schema.vocabulary.SimpleVocabulary</span></code></p> |
|
130 <p>Content links vocabulary</p> |
|
131 </dd></dl> |
|
132 |
|
133 <dl class="class"> |
|
134 <dt id="pyams_content.component.links.ExternalLink"> |
|
135 <em class="property">class </em><code class="descclassname">pyams_content.component.links.</code><code class="descname">ExternalLink</code><a class="headerlink" href="#pyams_content.component.links.ExternalLink" title="Permalink to this definition">¶</a></dt> |
|
136 <dd><p>Bases: <a class="reference internal" href="#pyams_content.component.links.BaseLink" title="pyams_content.component.links.BaseLink"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.links.BaseLink</span></code></a></p> |
|
137 <p>External link persistent class</p> |
|
138 <dl class="method"> |
|
139 <dt id="pyams_content.component.links.ExternalLink.get_editor_url"> |
|
140 <code class="descname">get_editor_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.links.ExternalLink.get_editor_url" title="Permalink to this definition">¶</a></dt> |
|
141 <dd></dd></dl> |
|
142 |
|
143 <dl class="method"> |
|
144 <dt id="pyams_content.component.links.ExternalLink.get_url"> |
|
145 <code class="descname">get_url</code><span class="sig-paren">(</span><em>request=None</em>, <em>view_name=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.links.ExternalLink.get_url" title="Permalink to this definition">¶</a></dt> |
|
146 <dd></dd></dl> |
|
147 |
|
148 <dl class="attribute"> |
|
149 <dt id="pyams_content.component.links.ExternalLink.icon_class"> |
|
150 <code class="descname">icon_class</code><em class="property"> = 'fa-external-link'</em><a class="headerlink" href="#pyams_content.component.links.ExternalLink.icon_class" title="Permalink to this definition">¶</a></dt> |
|
151 <dd></dd></dl> |
|
152 |
|
153 <dl class="attribute"> |
|
154 <dt id="pyams_content.component.links.ExternalLink.icon_hint"> |
|
155 <code class="descname">icon_hint</code><em class="property"> = 'External link'</em><a class="headerlink" href="#pyams_content.component.links.ExternalLink.icon_hint" title="Permalink to this definition">¶</a></dt> |
|
156 <dd></dd></dl> |
|
157 |
|
158 <dl class="attribute"> |
|
159 <dt id="pyams_content.component.links.ExternalLink.language"> |
|
160 <code class="descname">language</code><a class="headerlink" href="#pyams_content.component.links.ExternalLink.language" title="Permalink to this definition">¶</a></dt> |
|
161 <dd><p>Computed attributes based on schema fields</p> |
|
162 <p>Field properties provide default values, data validation and error messages |
|
163 based on data found in field meta-data.</p> |
|
164 <p>Note that FieldProperties cannot be used with slots. They can only |
|
165 be used for attributes stored in instance dictionaries.</p> |
|
166 </dd></dl> |
|
167 |
|
168 <dl class="attribute"> |
|
169 <dt id="pyams_content.component.links.ExternalLink.url"> |
|
170 <code class="descname">url</code><a class="headerlink" href="#pyams_content.component.links.ExternalLink.url" title="Permalink to this definition">¶</a></dt> |
|
171 <dd><p>Computed attributes based on schema fields</p> |
|
172 <p>Field properties provide default values, data validation and error messages |
|
173 based on data found in field meta-data.</p> |
|
174 <p>Note that FieldProperties cannot be used with slots. They can only |
|
175 be used for attributes stored in instance dictionaries.</p> |
|
176 </dd></dl> |
|
177 |
|
178 </dd></dl> |
|
179 |
|
180 <dl class="class"> |
|
181 <dt id="pyams_content.component.links.ExternalLinkAssociationInfoAdapter"> |
|
182 <em class="property">class </em><code class="descclassname">pyams_content.component.links.</code><code class="descname">ExternalLinkAssociationInfoAdapter</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.links.ExternalLinkAssociationInfoAdapter" title="Permalink to this definition">¶</a></dt> |
|
183 <dd><p>Bases: <a class="reference internal" href="#pyams_content.component.links.BaseLinkInfoAdapter" title="pyams_content.component.links.BaseLinkInfoAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.links.BaseLinkInfoAdapter</span></code></a></p> |
|
184 <p>External link association info adapter</p> |
|
185 <dl class="attribute"> |
|
186 <dt id="pyams_content.component.links.ExternalLinkAssociationInfoAdapter.human_size"> |
|
187 <code class="descname">human_size</code><a class="headerlink" href="#pyams_content.component.links.ExternalLinkAssociationInfoAdapter.human_size" title="Permalink to this definition">¶</a></dt> |
|
188 <dd></dd></dl> |
|
189 |
|
190 <dl class="attribute"> |
|
191 <dt id="pyams_content.component.links.ExternalLinkAssociationInfoAdapter.inner_title"> |
|
192 <code class="descname">inner_title</code><a class="headerlink" href="#pyams_content.component.links.ExternalLinkAssociationInfoAdapter.inner_title" title="Permalink to this definition">¶</a></dt> |
|
193 <dd></dd></dl> |
|
194 |
|
195 <dl class="attribute"> |
|
196 <dt id="pyams_content.component.links.ExternalLinkAssociationInfoAdapter.user_title"> |
|
197 <code class="descname">user_title</code><a class="headerlink" href="#pyams_content.component.links.ExternalLinkAssociationInfoAdapter.user_title" title="Permalink to this definition">¶</a></dt> |
|
198 <dd></dd></dl> |
|
199 |
|
200 </dd></dl> |
|
201 |
|
202 <dl class="class"> |
|
203 <dt id="pyams_content.component.links.ExternalLinkContentChecker"> |
|
204 <em class="property">class </em><code class="descclassname">pyams_content.component.links.</code><code class="descname">ExternalLinkContentChecker</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.links.ExternalLinkContentChecker" title="Permalink to this definition">¶</a></dt> |
|
205 <dd><p>Bases: <a class="reference internal" href="#pyams_content.component.links.BaseLinkContentChecker" title="pyams_content.component.links.BaseLinkContentChecker"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.links.BaseLinkContentChecker</span></code></a></p> |
|
206 <p>External link content checker</p> |
|
207 </dd></dl> |
|
208 |
|
209 <dl class="class"> |
|
210 <dt id="pyams_content.component.links.InternalLink"> |
|
211 <em class="property">class </em><code class="descclassname">pyams_content.component.links.</code><code class="descname">InternalLink</code><a class="headerlink" href="#pyams_content.component.links.InternalLink" title="Permalink to this definition">¶</a></dt> |
|
212 <dd><p>Bases: <a class="reference internal" href="#pyams_content.component.links.BaseLink" title="pyams_content.component.links.BaseLink"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.links.BaseLink</span></code></a></p> |
|
213 <p>Internal link persistent class</p> |
|
214 <dl class="method"> |
|
215 <dt id="pyams_content.component.links.InternalLink.get_editor_url"> |
|
216 <code class="descname">get_editor_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.links.InternalLink.get_editor_url" title="Permalink to this definition">¶</a></dt> |
|
217 <dd></dd></dl> |
|
218 |
|
219 <dl class="method"> |
|
220 <dt id="pyams_content.component.links.InternalLink.get_target"> |
|
221 <code class="descname">get_target</code><span class="sig-paren">(</span><em>state=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.links.InternalLink.get_target" title="Permalink to this definition">¶</a></dt> |
|
222 <dd></dd></dl> |
|
223 |
|
224 <dl class="method"> |
|
225 <dt id="pyams_content.component.links.InternalLink.get_url"> |
|
226 <code class="descname">get_url</code><span class="sig-paren">(</span><em>request=None</em>, <em>view_name=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.links.InternalLink.get_url" title="Permalink to this definition">¶</a></dt> |
|
227 <dd></dd></dl> |
|
228 |
|
229 <dl class="attribute"> |
|
230 <dt id="pyams_content.component.links.InternalLink.icon_class"> |
|
231 <code class="descname">icon_class</code><em class="property"> = 'fa-external-link-square fa-rotate-90'</em><a class="headerlink" href="#pyams_content.component.links.InternalLink.icon_class" title="Permalink to this definition">¶</a></dt> |
|
232 <dd></dd></dl> |
|
233 |
|
234 <dl class="attribute"> |
|
235 <dt id="pyams_content.component.links.InternalLink.icon_hint"> |
|
236 <code class="descname">icon_hint</code><em class="property"> = 'Internal link'</em><a class="headerlink" href="#pyams_content.component.links.InternalLink.icon_hint" title="Permalink to this definition">¶</a></dt> |
|
237 <dd></dd></dl> |
|
238 |
|
239 <dl class="attribute"> |
|
240 <dt id="pyams_content.component.links.InternalLink.reference"> |
|
241 <code class="descname">reference</code><a class="headerlink" href="#pyams_content.component.links.InternalLink.reference" title="Permalink to this definition">¶</a></dt> |
|
242 <dd><p>Computed attributes based on schema fields</p> |
|
243 <p>Field properties provide default values, data validation and error messages |
|
244 based on data found in field meta-data.</p> |
|
245 <p>Note that FieldProperties cannot be used with slots. They can only |
|
246 be used for attributes stored in instance dictionaries.</p> |
|
247 </dd></dl> |
|
248 |
|
249 </dd></dl> |
|
250 |
|
251 <dl class="class"> |
|
252 <dt id="pyams_content.component.links.InternalLinkAssociationInfoAdapter"> |
|
253 <em class="property">class </em><code class="descclassname">pyams_content.component.links.</code><code class="descname">InternalLinkAssociationInfoAdapter</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.links.InternalLinkAssociationInfoAdapter" title="Permalink to this definition">¶</a></dt> |
|
254 <dd><p>Bases: <a class="reference internal" href="#pyams_content.component.links.BaseLinkInfoAdapter" title="pyams_content.component.links.BaseLinkInfoAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.links.BaseLinkInfoAdapter</span></code></a></p> |
|
255 <p>Internal link association info adapter</p> |
|
256 <dl class="attribute"> |
|
257 <dt id="pyams_content.component.links.InternalLinkAssociationInfoAdapter.human_size"> |
|
258 <code class="descname">human_size</code><a class="headerlink" href="#pyams_content.component.links.InternalLinkAssociationInfoAdapter.human_size" title="Permalink to this definition">¶</a></dt> |
|
259 <dd></dd></dl> |
|
260 |
|
261 <dl class="attribute"> |
|
262 <dt id="pyams_content.component.links.InternalLinkAssociationInfoAdapter.inner_title"> |
|
263 <code class="descname">inner_title</code><a class="headerlink" href="#pyams_content.component.links.InternalLinkAssociationInfoAdapter.inner_title" title="Permalink to this definition">¶</a></dt> |
|
264 <dd></dd></dl> |
|
265 |
|
266 <dl class="attribute"> |
|
267 <dt id="pyams_content.component.links.InternalLinkAssociationInfoAdapter.user_title"> |
|
268 <code class="descname">user_title</code><a class="headerlink" href="#pyams_content.component.links.InternalLinkAssociationInfoAdapter.user_title" title="Permalink to this definition">¶</a></dt> |
|
269 <dd></dd></dl> |
|
270 |
|
271 </dd></dl> |
|
272 |
|
273 <dl class="class"> |
|
274 <dt id="pyams_content.component.links.InternalLinkContentChecker"> |
|
275 <em class="property">class </em><code class="descclassname">pyams_content.component.links.</code><code class="descname">InternalLinkContentChecker</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.links.InternalLinkContentChecker" title="Permalink to this definition">¶</a></dt> |
|
276 <dd><p>Bases: <a class="reference internal" href="#pyams_content.component.links.BaseLinkContentChecker" title="pyams_content.component.links.BaseLinkContentChecker"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.links.BaseLinkContentChecker</span></code></a></p> |
|
277 <p>Internal link content checker</p> |
|
278 <dl class="method"> |
|
279 <dt id="pyams_content.component.links.InternalLinkContentChecker.inner_check"> |
|
280 <code class="descname">inner_check</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.links.InternalLinkContentChecker.inner_check" title="Permalink to this definition">¶</a></dt> |
|
281 <dd></dd></dl> |
|
282 |
|
283 </dd></dl> |
|
284 |
|
285 <dl class="class"> |
|
286 <dt id="pyams_content.component.links.MailtoLink"> |
|
287 <em class="property">class </em><code class="descclassname">pyams_content.component.links.</code><code class="descname">MailtoLink</code><a class="headerlink" href="#pyams_content.component.links.MailtoLink" title="Permalink to this definition">¶</a></dt> |
|
288 <dd><p>Bases: <a class="reference internal" href="#pyams_content.component.links.BaseLink" title="pyams_content.component.links.BaseLink"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.links.BaseLink</span></code></a></p> |
|
289 <p>Mailto link persistent class</p> |
|
290 <dl class="attribute"> |
|
291 <dt id="pyams_content.component.links.MailtoLink.address"> |
|
292 <code class="descname">address</code><a class="headerlink" href="#pyams_content.component.links.MailtoLink.address" title="Permalink to this definition">¶</a></dt> |
|
293 <dd><p>Computed attributes based on schema fields</p> |
|
294 <p>Field properties provide default values, data validation and error messages |
|
295 based on data found in field meta-data.</p> |
|
296 <p>Note that FieldProperties cannot be used with slots. They can only |
|
297 be used for attributes stored in instance dictionaries.</p> |
|
298 </dd></dl> |
|
299 |
|
300 <dl class="attribute"> |
|
301 <dt id="pyams_content.component.links.MailtoLink.address_name"> |
|
302 <code class="descname">address_name</code><a class="headerlink" href="#pyams_content.component.links.MailtoLink.address_name" title="Permalink to this definition">¶</a></dt> |
|
303 <dd><p>Computed attributes based on schema fields</p> |
|
304 <p>Field properties provide default values, data validation and error messages |
|
305 based on data found in field meta-data.</p> |
|
306 <p>Note that FieldProperties cannot be used with slots. They can only |
|
307 be used for attributes stored in instance dictionaries.</p> |
|
308 </dd></dl> |
|
309 |
|
310 <dl class="method"> |
|
311 <dt id="pyams_content.component.links.MailtoLink.get_editor_url"> |
|
312 <code class="descname">get_editor_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.links.MailtoLink.get_editor_url" title="Permalink to this definition">¶</a></dt> |
|
313 <dd></dd></dl> |
|
314 |
|
315 <dl class="method"> |
|
316 <dt id="pyams_content.component.links.MailtoLink.get_url"> |
|
317 <code class="descname">get_url</code><span class="sig-paren">(</span><em>request=None</em>, <em>view_name=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.links.MailtoLink.get_url" title="Permalink to this definition">¶</a></dt> |
|
318 <dd></dd></dl> |
|
319 |
|
320 <dl class="attribute"> |
|
321 <dt id="pyams_content.component.links.MailtoLink.icon_class"> |
|
322 <code class="descname">icon_class</code><em class="property"> = 'fa-envelope-o'</em><a class="headerlink" href="#pyams_content.component.links.MailtoLink.icon_class" title="Permalink to this definition">¶</a></dt> |
|
323 <dd></dd></dl> |
|
324 |
|
325 <dl class="attribute"> |
|
326 <dt id="pyams_content.component.links.MailtoLink.icon_hint"> |
|
327 <code class="descname">icon_hint</code><em class="property"> = 'Mailto link'</em><a class="headerlink" href="#pyams_content.component.links.MailtoLink.icon_hint" title="Permalink to this definition">¶</a></dt> |
|
328 <dd></dd></dl> |
|
329 |
|
330 </dd></dl> |
|
331 |
|
332 <dl class="class"> |
|
333 <dt id="pyams_content.component.links.MailtoLinkAssociationInfoAdapter"> |
|
334 <em class="property">class </em><code class="descclassname">pyams_content.component.links.</code><code class="descname">MailtoLinkAssociationInfoAdapter</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.links.MailtoLinkAssociationInfoAdapter" title="Permalink to this definition">¶</a></dt> |
|
335 <dd><p>Bases: <a class="reference internal" href="#pyams_content.component.links.BaseLinkInfoAdapter" title="pyams_content.component.links.BaseLinkInfoAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.links.BaseLinkInfoAdapter</span></code></a></p> |
|
336 <p>Mailto link association info adapter</p> |
|
337 <dl class="attribute"> |
|
338 <dt id="pyams_content.component.links.MailtoLinkAssociationInfoAdapter.human_size"> |
|
339 <code class="descname">human_size</code><a class="headerlink" href="#pyams_content.component.links.MailtoLinkAssociationInfoAdapter.human_size" title="Permalink to this definition">¶</a></dt> |
|
340 <dd></dd></dl> |
|
341 |
|
342 <dl class="attribute"> |
|
343 <dt id="pyams_content.component.links.MailtoLinkAssociationInfoAdapter.inner_title"> |
|
344 <code class="descname">inner_title</code><a class="headerlink" href="#pyams_content.component.links.MailtoLinkAssociationInfoAdapter.inner_title" title="Permalink to this definition">¶</a></dt> |
|
345 <dd></dd></dl> |
|
346 |
|
347 <dl class="attribute"> |
|
348 <dt id="pyams_content.component.links.MailtoLinkAssociationInfoAdapter.user_title"> |
|
349 <code class="descname">user_title</code><a class="headerlink" href="#pyams_content.component.links.MailtoLinkAssociationInfoAdapter.user_title" title="Permalink to this definition">¶</a></dt> |
|
350 <dd></dd></dl> |
|
351 |
|
352 </dd></dl> |
|
353 |
|
354 <dl class="class"> |
|
355 <dt id="pyams_content.component.links.MailtoLinkContentChecker"> |
|
356 <em class="property">class </em><code class="descclassname">pyams_content.component.links.</code><code class="descname">MailtoLinkContentChecker</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.links.MailtoLinkContentChecker" title="Permalink to this definition">¶</a></dt> |
|
357 <dd><p>Bases: <a class="reference internal" href="#pyams_content.component.links.BaseLinkContentChecker" title="pyams_content.component.links.BaseLinkContentChecker"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.links.BaseLinkContentChecker</span></code></a></p> |
|
358 <p>Mailto link content checker</p> |
|
359 </dd></dl> |
|
360 |
|
361 </div> |
|
362 </div> |
|
363 |
|
364 |
|
365 </div> |
|
366 </div> |
|
367 </div> |
|
368 <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> |
|
369 <div class="sphinxsidebarwrapper"> |
|
370 <h3><a href="index.html">Table Of Contents</a></h3> |
|
371 <ul> |
|
372 <li><a class="reference internal" href="#">pyams_content.component.links package</a><ul> |
|
373 <li><a class="reference internal" href="#subpackages">Subpackages</a></li> |
|
374 <li><a class="reference internal" href="#module-pyams_content.component.links">Module contents</a></li> |
|
375 </ul> |
|
376 </li> |
|
377 </ul> |
|
378 |
|
379 <div id="searchbox" style="display: none" role="search"> |
|
380 <h3>Quick search</h3> |
|
381 <form class="search" action="search.html" method="get"> |
|
382 <div><input type="text" name="q" /></div> |
|
383 <div><input type="submit" value="Go" /></div> |
|
384 <input type="hidden" name="check_keywords" value="yes" /> |
|
385 <input type="hidden" name="area" value="default" /> |
|
386 </form> |
|
387 </div> |
|
388 <script type="text/javascript">$('#searchbox').show(0);</script> |
|
389 </div> |
|
390 </div> |
|
391 <div class="clearer"></div> |
|
392 </div> |
|
393 <div class="related" role="navigation" aria-label="related navigation"> |
|
394 <h3>Navigation</h3> |
|
395 <ul> |
|
396 <li class="right" style="margin-right: 10px"> |
|
397 <a href="genindex.html" title="General Index" |
|
398 >index</a></li> |
|
399 <li class="right" > |
|
400 <a href="py-modindex.html" title="Python Module Index" |
|
401 >modules</a> |</li> |
|
402 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
403 </ul> |
|
404 </div> |
|
405 <div class="footer" role="contentinfo"> |
|
406 © Copyright 2017, Thierry Florac. |
|
407 Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5. |
|
408 </div> |
|
409 </body> |
|
410 </html> |