|
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.extfile 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-extfile-package"> |
|
54 <h1>pyams_content.component.extfile package<a class="headerlink" href="#pyams-content-component-extfile-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.extfile.interfaces.html">pyams_content.component.extfile.interfaces package</a><ul> |
|
60 <li class="toctree-l2"><a class="reference internal" href="pyams_content.component.extfile.interfaces.html#module-pyams_content.component.extfile.interfaces">Module contents</a></li> |
|
61 </ul> |
|
62 </li> |
|
63 <li class="toctree-l1"><a class="reference internal" href="pyams_content.component.extfile.zmi.html">pyams_content.component.extfile.zmi package</a><ul> |
|
64 <li class="toctree-l2"><a class="reference internal" href="pyams_content.component.extfile.zmi.html#submodules">Submodules</a></li> |
|
65 <li class="toctree-l2"><a class="reference internal" href="pyams_content.component.extfile.zmi.html#module-pyams_content.component.extfile.zmi.container">pyams_content.component.extfile.zmi.container module</a></li> |
|
66 <li class="toctree-l2"><a class="reference internal" href="pyams_content.component.extfile.zmi.html#module-pyams_content.component.extfile.zmi">Module contents</a></li> |
|
67 </ul> |
|
68 </li> |
|
69 </ul> |
|
70 </div> |
|
71 </div> |
|
72 <div class="section" id="module-pyams_content.component.extfile"> |
|
73 <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyams_content.component.extfile" title="Permalink to this headline">¶</a></h2> |
|
74 <dl class="class"> |
|
75 <dt id="pyams_content.component.extfile.BaseExtFile"> |
|
76 <em class="property">class </em><code class="descclassname">pyams_content.component.extfile.</code><code class="descname">BaseExtFile</code><a class="headerlink" href="#pyams_content.component.extfile.BaseExtFile" title="Permalink to this definition">¶</a></dt> |
|
77 <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> |
|
78 <p>External file persistent class</p> |
|
79 <dl class="attribute"> |
|
80 <dt id="pyams_content.component.extfile.BaseExtFile.author"> |
|
81 <code class="descname">author</code><a class="headerlink" href="#pyams_content.component.extfile.BaseExtFile.author" title="Permalink to this definition">¶</a></dt> |
|
82 <dd><p>Computed attributes based on schema fields</p> |
|
83 <p>Field properties provide default values, data validation and error messages |
|
84 based on data found in field meta-data.</p> |
|
85 <p>Note that FieldProperties cannot be used with slots. They can only |
|
86 be used for attributes stored in instance dictionaries.</p> |
|
87 </dd></dl> |
|
88 |
|
89 <dl class="attribute"> |
|
90 <dt id="pyams_content.component.extfile.BaseExtFile.description"> |
|
91 <code class="descname">description</code><a class="headerlink" href="#pyams_content.component.extfile.BaseExtFile.description" title="Permalink to this definition">¶</a></dt> |
|
92 <dd><p>Computed attributes based on schema fields</p> |
|
93 <p>Field properties provide default values, data validation and error messages |
|
94 based on data found in field meta-data.</p> |
|
95 <p>Note that FieldProperties cannot be used with slots. They can only |
|
96 be used for attributes stored in instance dictionaries.</p> |
|
97 </dd></dl> |
|
98 |
|
99 <dl class="attribute"> |
|
100 <dt id="pyams_content.component.extfile.BaseExtFile.filename"> |
|
101 <code class="descname">filename</code><a class="headerlink" href="#pyams_content.component.extfile.BaseExtFile.filename" title="Permalink to this definition">¶</a></dt> |
|
102 <dd><p>Computed attributes based on schema fields</p> |
|
103 <p>Field properties provide default values, data validation and error messages |
|
104 based on data found in field meta-data.</p> |
|
105 <p>Note that FieldProperties cannot be used with slots. They can only |
|
106 be used for attributes stored in instance dictionaries.</p> |
|
107 </dd></dl> |
|
108 |
|
109 <dl class="attribute"> |
|
110 <dt id="pyams_content.component.extfile.BaseExtFile.language"> |
|
111 <code class="descname">language</code><a class="headerlink" href="#pyams_content.component.extfile.BaseExtFile.language" title="Permalink to this definition">¶</a></dt> |
|
112 <dd><p>Computed attributes based on schema fields</p> |
|
113 <p>Field properties provide default values, data validation and error messages |
|
114 based on data found in field meta-data.</p> |
|
115 <p>Note that FieldProperties cannot be used with slots. They can only |
|
116 be used for attributes stored in instance dictionaries.</p> |
|
117 </dd></dl> |
|
118 |
|
119 <dl class="attribute"> |
|
120 <dt id="pyams_content.component.extfile.BaseExtFile.title"> |
|
121 <code class="descname">title</code><a class="headerlink" href="#pyams_content.component.extfile.BaseExtFile.title" title="Permalink to this definition">¶</a></dt> |
|
122 <dd><p>Computed attributes based on schema fields</p> |
|
123 <p>Field properties provide default values, data validation and error messages |
|
124 based on data found in field meta-data.</p> |
|
125 <p>Note that FieldProperties cannot be used with slots. They can only |
|
126 be used for attributes stored in instance dictionaries.</p> |
|
127 </dd></dl> |
|
128 |
|
129 </dd></dl> |
|
130 |
|
131 <dl class="class"> |
|
132 <dt id="pyams_content.component.extfile.BaseExtFileAssociationInfoAdapter"> |
|
133 <em class="property">class </em><code class="descclassname">pyams_content.component.extfile.</code><code class="descname">BaseExtFileAssociationInfoAdapter</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.extfile.BaseExtFileAssociationInfoAdapter" title="Permalink to this definition">¶</a></dt> |
|
134 <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> |
|
135 <p>Base external file association info adapter</p> |
|
136 <dl class="attribute"> |
|
137 <dt id="pyams_content.component.extfile.BaseExtFileAssociationInfoAdapter.human_size"> |
|
138 <code class="descname">human_size</code><a class="headerlink" href="#pyams_content.component.extfile.BaseExtFileAssociationInfoAdapter.human_size" title="Permalink to this definition">¶</a></dt> |
|
139 <dd></dd></dl> |
|
140 |
|
141 <dl class="attribute"> |
|
142 <dt id="pyams_content.component.extfile.BaseExtFileAssociationInfoAdapter.inner_title"> |
|
143 <code class="descname">inner_title</code><a class="headerlink" href="#pyams_content.component.extfile.BaseExtFileAssociationInfoAdapter.inner_title" title="Permalink to this definition">¶</a></dt> |
|
144 <dd></dd></dl> |
|
145 |
|
146 <dl class="attribute"> |
|
147 <dt id="pyams_content.component.extfile.BaseExtFileAssociationInfoAdapter.pictogram"> |
|
148 <code class="descname">pictogram</code><a class="headerlink" href="#pyams_content.component.extfile.BaseExtFileAssociationInfoAdapter.pictogram" title="Permalink to this definition">¶</a></dt> |
|
149 <dd></dd></dl> |
|
150 |
|
151 <dl class="attribute"> |
|
152 <dt id="pyams_content.component.extfile.BaseExtFileAssociationInfoAdapter.user_title"> |
|
153 <code class="descname">user_title</code><a class="headerlink" href="#pyams_content.component.extfile.BaseExtFileAssociationInfoAdapter.user_title" title="Permalink to this definition">¶</a></dt> |
|
154 <dd></dd></dl> |
|
155 |
|
156 </dd></dl> |
|
157 |
|
158 <dl class="class"> |
|
159 <dt id="pyams_content.component.extfile.ExtAudio"> |
|
160 <em class="property">class </em><code class="descclassname">pyams_content.component.extfile.</code><code class="descname">ExtAudio</code><a class="headerlink" href="#pyams_content.component.extfile.ExtAudio" title="Permalink to this definition">¶</a></dt> |
|
161 <dd><p>Bases: <a class="reference internal" href="#pyams_content.component.extfile.BaseExtFile" title="pyams_content.component.extfile.BaseExtFile"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.extfile.BaseExtFile</span></code></a></p> |
|
162 <p>External audio file persistent class</p> |
|
163 <dl class="attribute"> |
|
164 <dt id="pyams_content.component.extfile.ExtAudio.data"> |
|
165 <code class="descname">data</code><a class="headerlink" href="#pyams_content.component.extfile.ExtAudio.data" title="Permalink to this definition">¶</a></dt> |
|
166 <dd><p>I18n property class used to handle files</p> |
|
167 </dd></dl> |
|
168 |
|
169 <dl class="attribute"> |
|
170 <dt id="pyams_content.component.extfile.ExtAudio.icon_class"> |
|
171 <code class="descname">icon_class</code><em class="property"> = 'fa-file-audio-o'</em><a class="headerlink" href="#pyams_content.component.extfile.ExtAudio.icon_class" title="Permalink to this definition">¶</a></dt> |
|
172 <dd></dd></dl> |
|
173 |
|
174 <dl class="attribute"> |
|
175 <dt id="pyams_content.component.extfile.ExtAudio.icon_hint"> |
|
176 <code class="descname">icon_hint</code><em class="property"> = 'Audio file'</em><a class="headerlink" href="#pyams_content.component.extfile.ExtAudio.icon_hint" title="Permalink to this definition">¶</a></dt> |
|
177 <dd></dd></dl> |
|
178 |
|
179 <dl class="attribute"> |
|
180 <dt id="pyams_content.component.extfile.ExtAudio.title"> |
|
181 <code class="descname">title</code><a class="headerlink" href="#pyams_content.component.extfile.ExtAudio.title" title="Permalink to this definition">¶</a></dt> |
|
182 <dd><p>Computed attributes based on schema fields</p> |
|
183 <p>Field properties provide default values, data validation and error messages |
|
184 based on data found in field meta-data.</p> |
|
185 <p>Note that FieldProperties cannot be used with slots. They can only |
|
186 be used for attributes stored in instance dictionaries.</p> |
|
187 </dd></dl> |
|
188 |
|
189 </dd></dl> |
|
190 |
|
191 <dl class="class"> |
|
192 <dt id="pyams_content.component.extfile.ExtAudioContentChecker"> |
|
193 <em class="property">class </em><code class="descclassname">pyams_content.component.extfile.</code><code class="descname">ExtAudioContentChecker</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.extfile.ExtAudioContentChecker" title="Permalink to this definition">¶</a></dt> |
|
194 <dd><p>Bases: <a class="reference internal" href="#pyams_content.component.extfile.ExtFileContentChecker" title="pyams_content.component.extfile.ExtFileContentChecker"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.extfile.ExtFileContentChecker</span></code></a></p> |
|
195 <p>External audio file content checker</p> |
|
196 <dl class="attribute"> |
|
197 <dt id="pyams_content.component.extfile.ExtAudioContentChecker.interface"> |
|
198 <code class="descname">interface</code><em class="property"> = <InterfaceClass pyams_content.component.extfile.interfaces.IExtAudio></em><a class="headerlink" href="#pyams_content.component.extfile.ExtAudioContentChecker.interface" title="Permalink to this definition">¶</a></dt> |
|
199 <dd></dd></dl> |
|
200 |
|
201 </dd></dl> |
|
202 |
|
203 <dl class="class"> |
|
204 <dt id="pyams_content.component.extfile.ExtFile"> |
|
205 <em class="property">class </em><code class="descclassname">pyams_content.component.extfile.</code><code class="descname">ExtFile</code><a class="headerlink" href="#pyams_content.component.extfile.ExtFile" title="Permalink to this definition">¶</a></dt> |
|
206 <dd><p>Bases: <a class="reference internal" href="#pyams_content.component.extfile.BaseExtFile" title="pyams_content.component.extfile.BaseExtFile"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.extfile.BaseExtFile</span></code></a></p> |
|
207 <p>Generic external file persistent class</p> |
|
208 <dl class="attribute"> |
|
209 <dt id="pyams_content.component.extfile.ExtFile.data"> |
|
210 <code class="descname">data</code><a class="headerlink" href="#pyams_content.component.extfile.ExtFile.data" title="Permalink to this definition">¶</a></dt> |
|
211 <dd><p>I18n property class used to handle files</p> |
|
212 </dd></dl> |
|
213 |
|
214 <dl class="attribute"> |
|
215 <dt id="pyams_content.component.extfile.ExtFile.icon_class"> |
|
216 <code class="descname">icon_class</code><em class="property"> = 'fa-file-text-o'</em><a class="headerlink" href="#pyams_content.component.extfile.ExtFile.icon_class" title="Permalink to this definition">¶</a></dt> |
|
217 <dd></dd></dl> |
|
218 |
|
219 <dl class="attribute"> |
|
220 <dt id="pyams_content.component.extfile.ExtFile.icon_hint"> |
|
221 <code class="descname">icon_hint</code><em class="property"> = 'Standard file'</em><a class="headerlink" href="#pyams_content.component.extfile.ExtFile.icon_hint" title="Permalink to this definition">¶</a></dt> |
|
222 <dd></dd></dl> |
|
223 |
|
224 </dd></dl> |
|
225 |
|
226 <dl class="class"> |
|
227 <dt id="pyams_content.component.extfile.ExtFileContentChecker"> |
|
228 <em class="property">class </em><code class="descclassname">pyams_content.component.extfile.</code><code class="descname">ExtFileContentChecker</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.extfile.ExtFileContentChecker" title="Permalink to this definition">¶</a></dt> |
|
229 <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> |
|
230 <p>Base external file content checker</p> |
|
231 <dl class="method"> |
|
232 <dt id="pyams_content.component.extfile.ExtFileContentChecker.inner_check"> |
|
233 <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.extfile.ExtFileContentChecker.inner_check" title="Permalink to this definition">¶</a></dt> |
|
234 <dd></dd></dl> |
|
235 |
|
236 <dl class="attribute"> |
|
237 <dt id="pyams_content.component.extfile.ExtFileContentChecker.interface"> |
|
238 <code class="descname">interface</code><em class="property"> = <InterfaceClass pyams_content.component.extfile.interfaces.IExtFile></em><a class="headerlink" href="#pyams_content.component.extfile.ExtFileContentChecker.interface" title="Permalink to this definition">¶</a></dt> |
|
239 <dd></dd></dl> |
|
240 |
|
241 <dl class="attribute"> |
|
242 <dt id="pyams_content.component.extfile.ExtFileContentChecker.label"> |
|
243 <code class="descname">label</code><a class="headerlink" href="#pyams_content.component.extfile.ExtFileContentChecker.label" title="Permalink to this definition">¶</a></dt> |
|
244 <dd></dd></dl> |
|
245 |
|
246 </dd></dl> |
|
247 |
|
248 <dl class="class"> |
|
249 <dt id="pyams_content.component.extfile.ExtImage"> |
|
250 <em class="property">class </em><code class="descclassname">pyams_content.component.extfile.</code><code class="descname">ExtImage</code><a class="headerlink" href="#pyams_content.component.extfile.ExtImage" title="Permalink to this definition">¶</a></dt> |
|
251 <dd><p>Bases: <a class="reference internal" href="#pyams_content.component.extfile.BaseExtFile" title="pyams_content.component.extfile.BaseExtFile"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.extfile.BaseExtFile</span></code></a></p> |
|
252 <p>External image persistent class</p> |
|
253 <dl class="attribute"> |
|
254 <dt id="pyams_content.component.extfile.ExtImage.alt_title"> |
|
255 <code class="descname">alt_title</code><a class="headerlink" href="#pyams_content.component.extfile.ExtImage.alt_title" title="Permalink to this definition">¶</a></dt> |
|
256 <dd><p>Computed attributes based on schema fields</p> |
|
257 <p>Field properties provide default values, data validation and error messages |
|
258 based on data found in field meta-data.</p> |
|
259 <p>Note that FieldProperties cannot be used with slots. They can only |
|
260 be used for attributes stored in instance dictionaries.</p> |
|
261 </dd></dl> |
|
262 |
|
263 <dl class="attribute"> |
|
264 <dt id="pyams_content.component.extfile.ExtImage.data"> |
|
265 <code class="descname">data</code><a class="headerlink" href="#pyams_content.component.extfile.ExtImage.data" title="Permalink to this definition">¶</a></dt> |
|
266 <dd></dd></dl> |
|
267 |
|
268 <dl class="attribute"> |
|
269 <dt id="pyams_content.component.extfile.ExtImage.icon_class"> |
|
270 <code class="descname">icon_class</code><em class="property"> = 'fa-file-image-o'</em><a class="headerlink" href="#pyams_content.component.extfile.ExtImage.icon_class" title="Permalink to this definition">¶</a></dt> |
|
271 <dd></dd></dl> |
|
272 |
|
273 <dl class="attribute"> |
|
274 <dt id="pyams_content.component.extfile.ExtImage.icon_hint"> |
|
275 <code class="descname">icon_hint</code><em class="property"> = 'Image'</em><a class="headerlink" href="#pyams_content.component.extfile.ExtImage.icon_hint" title="Permalink to this definition">¶</a></dt> |
|
276 <dd></dd></dl> |
|
277 |
|
278 <dl class="attribute"> |
|
279 <dt id="pyams_content.component.extfile.ExtImage.title"> |
|
280 <code class="descname">title</code><a class="headerlink" href="#pyams_content.component.extfile.ExtImage.title" title="Permalink to this definition">¶</a></dt> |
|
281 <dd><p>Computed attributes based on schema fields</p> |
|
282 <p>Field properties provide default values, data validation and error messages |
|
283 based on data found in field meta-data.</p> |
|
284 <p>Note that FieldProperties cannot be used with slots. They can only |
|
285 be used for attributes stored in instance dictionaries.</p> |
|
286 </dd></dl> |
|
287 |
|
288 </dd></dl> |
|
289 |
|
290 <dl class="class"> |
|
291 <dt id="pyams_content.component.extfile.ExtImageContentChecker"> |
|
292 <em class="property">class </em><code class="descclassname">pyams_content.component.extfile.</code><code class="descname">ExtImageContentChecker</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.extfile.ExtImageContentChecker" title="Permalink to this definition">¶</a></dt> |
|
293 <dd><p>Bases: <a class="reference internal" href="#pyams_content.component.extfile.ExtFileContentChecker" title="pyams_content.component.extfile.ExtFileContentChecker"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.extfile.ExtFileContentChecker</span></code></a></p> |
|
294 <p>External image content checker</p> |
|
295 <dl class="attribute"> |
|
296 <dt id="pyams_content.component.extfile.ExtImageContentChecker.interface"> |
|
297 <code class="descname">interface</code><em class="property"> = <InterfaceClass pyams_content.component.extfile.interfaces.IExtImage></em><a class="headerlink" href="#pyams_content.component.extfile.ExtImageContentChecker.interface" title="Permalink to this definition">¶</a></dt> |
|
298 <dd></dd></dl> |
|
299 |
|
300 </dd></dl> |
|
301 |
|
302 <dl class="class"> |
|
303 <dt id="pyams_content.component.extfile.ExtVideo"> |
|
304 <em class="property">class </em><code class="descclassname">pyams_content.component.extfile.</code><code class="descname">ExtVideo</code><a class="headerlink" href="#pyams_content.component.extfile.ExtVideo" title="Permalink to this definition">¶</a></dt> |
|
305 <dd><p>Bases: <a class="reference internal" href="#pyams_content.component.extfile.BaseExtFile" title="pyams_content.component.extfile.BaseExtFile"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.extfile.BaseExtFile</span></code></a></p> |
|
306 <p>External video file persistent class</p> |
|
307 <dl class="attribute"> |
|
308 <dt id="pyams_content.component.extfile.ExtVideo.data"> |
|
309 <code class="descname">data</code><a class="headerlink" href="#pyams_content.component.extfile.ExtVideo.data" title="Permalink to this definition">¶</a></dt> |
|
310 <dd><p>I18n property class used to handle files</p> |
|
311 </dd></dl> |
|
312 |
|
313 <dl class="attribute"> |
|
314 <dt id="pyams_content.component.extfile.ExtVideo.icon_class"> |
|
315 <code class="descname">icon_class</code><em class="property"> = 'fa-file-video-o'</em><a class="headerlink" href="#pyams_content.component.extfile.ExtVideo.icon_class" title="Permalink to this definition">¶</a></dt> |
|
316 <dd></dd></dl> |
|
317 |
|
318 <dl class="attribute"> |
|
319 <dt id="pyams_content.component.extfile.ExtVideo.icon_hint"> |
|
320 <code class="descname">icon_hint</code><em class="property"> = 'Video'</em><a class="headerlink" href="#pyams_content.component.extfile.ExtVideo.icon_hint" title="Permalink to this definition">¶</a></dt> |
|
321 <dd></dd></dl> |
|
322 |
|
323 <dl class="attribute"> |
|
324 <dt id="pyams_content.component.extfile.ExtVideo.title"> |
|
325 <code class="descname">title</code><a class="headerlink" href="#pyams_content.component.extfile.ExtVideo.title" title="Permalink to this definition">¶</a></dt> |
|
326 <dd><p>Computed attributes based on schema fields</p> |
|
327 <p>Field properties provide default values, data validation and error messages |
|
328 based on data found in field meta-data.</p> |
|
329 <p>Note that FieldProperties cannot be used with slots. They can only |
|
330 be used for attributes stored in instance dictionaries.</p> |
|
331 </dd></dl> |
|
332 |
|
333 </dd></dl> |
|
334 |
|
335 <dl class="class"> |
|
336 <dt id="pyams_content.component.extfile.ExtVideoContentChecker"> |
|
337 <em class="property">class </em><code class="descclassname">pyams_content.component.extfile.</code><code class="descname">ExtVideoContentChecker</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.extfile.ExtVideoContentChecker" title="Permalink to this definition">¶</a></dt> |
|
338 <dd><p>Bases: <a class="reference internal" href="#pyams_content.component.extfile.ExtFileContentChecker" title="pyams_content.component.extfile.ExtFileContentChecker"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.extfile.ExtFileContentChecker</span></code></a></p> |
|
339 <p>External video file content checker</p> |
|
340 <dl class="attribute"> |
|
341 <dt id="pyams_content.component.extfile.ExtVideoContentChecker.interface"> |
|
342 <code class="descname">interface</code><em class="property"> = <InterfaceClass pyams_content.component.extfile.interfaces.IExtVideo></em><a class="headerlink" href="#pyams_content.component.extfile.ExtVideoContentChecker.interface" title="Permalink to this definition">¶</a></dt> |
|
343 <dd></dd></dl> |
|
344 |
|
345 </dd></dl> |
|
346 |
|
347 <dl class="class"> |
|
348 <dt id="pyams_content.component.extfile.ExternalFilesFactoriesVocabulary"> |
|
349 <em class="property">class </em><code class="descclassname">pyams_content.component.extfile.</code><code class="descname">ExternalFilesFactoriesVocabulary</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.extfile.ExternalFilesFactoriesVocabulary" title="Permalink to this definition">¶</a></dt> |
|
350 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">zope.schema.vocabulary.SimpleVocabulary</span></code></p> |
|
351 <p>External files factories vocabulary</p> |
|
352 </dd></dl> |
|
353 |
|
354 <dl class="function"> |
|
355 <dt id="pyams_content.component.extfile.handle_added_extfile"> |
|
356 <code class="descclassname">pyams_content.component.extfile.</code><code class="descname">handle_added_extfile</code><span class="sig-paren">(</span><em>event</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.extfile.handle_added_extfile" title="Permalink to this definition">¶</a></dt> |
|
357 <dd><p>Handle added external file</p> |
|
358 </dd></dl> |
|
359 |
|
360 <dl class="function"> |
|
361 <dt id="pyams_content.component.extfile.handle_modified_extfile"> |
|
362 <code class="descclassname">pyams_content.component.extfile.</code><code class="descname">handle_modified_extfile</code><span class="sig-paren">(</span><em>event</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.extfile.handle_modified_extfile" title="Permalink to this definition">¶</a></dt> |
|
363 <dd><p>Handle modified external file</p> |
|
364 </dd></dl> |
|
365 |
|
366 <dl class="function"> |
|
367 <dt id="pyams_content.component.extfile.handle_removed_extfile"> |
|
368 <code class="descclassname">pyams_content.component.extfile.</code><code class="descname">handle_removed_extfile</code><span class="sig-paren">(</span><em>event</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.extfile.handle_removed_extfile" title="Permalink to this definition">¶</a></dt> |
|
369 <dd><p>Handle removed external file</p> |
|
370 </dd></dl> |
|
371 |
|
372 <dl class="function"> |
|
373 <dt id="pyams_content.component.extfile.register_file_factory"> |
|
374 <code class="descclassname">pyams_content.component.extfile.</code><code class="descname">register_file_factory</code><span class="sig-paren">(</span><em>key</em>, <em>factory</em>, <em>name=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.extfile.register_file_factory" title="Permalink to this definition">¶</a></dt> |
|
375 <dd><p>Register new file factory</p> |
|
376 </dd></dl> |
|
377 |
|
378 <dl class="function"> |
|
379 <dt id="pyams_content.component.extfile.update_properties"> |
|
380 <code class="descclassname">pyams_content.component.extfile.</code><code class="descname">update_properties</code><span class="sig-paren">(</span><em>extfile</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.extfile.update_properties" title="Permalink to this definition">¶</a></dt> |
|
381 <dd><p>Update missing file properties</p> |
|
382 </dd></dl> |
|
383 |
|
384 </div> |
|
385 </div> |
|
386 |
|
387 |
|
388 </div> |
|
389 </div> |
|
390 </div> |
|
391 <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> |
|
392 <div class="sphinxsidebarwrapper"> |
|
393 <h3><a href="index.html">Table Of Contents</a></h3> |
|
394 <ul> |
|
395 <li><a class="reference internal" href="#">pyams_content.component.extfile package</a><ul> |
|
396 <li><a class="reference internal" href="#subpackages">Subpackages</a></li> |
|
397 <li><a class="reference internal" href="#module-pyams_content.component.extfile">Module contents</a></li> |
|
398 </ul> |
|
399 </li> |
|
400 </ul> |
|
401 |
|
402 <div id="searchbox" style="display: none" role="search"> |
|
403 <h3>Quick search</h3> |
|
404 <form class="search" action="search.html" method="get"> |
|
405 <div><input type="text" name="q" /></div> |
|
406 <div><input type="submit" value="Go" /></div> |
|
407 <input type="hidden" name="check_keywords" value="yes" /> |
|
408 <input type="hidden" name="area" value="default" /> |
|
409 </form> |
|
410 </div> |
|
411 <script type="text/javascript">$('#searchbox').show(0);</script> |
|
412 </div> |
|
413 </div> |
|
414 <div class="clearer"></div> |
|
415 </div> |
|
416 <div class="related" role="navigation" aria-label="related navigation"> |
|
417 <h3>Navigation</h3> |
|
418 <ul> |
|
419 <li class="right" style="margin-right: 10px"> |
|
420 <a href="genindex.html" title="General Index" |
|
421 >index</a></li> |
|
422 <li class="right" > |
|
423 <a href="py-modindex.html" title="Python Module Index" |
|
424 >modules</a> |</li> |
|
425 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
426 </ul> |
|
427 </div> |
|
428 <div class="footer" role="contentinfo"> |
|
429 © Copyright 2017, Thierry Florac. |
|
430 Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5. |
|
431 </div> |
|
432 </body> |
|
433 </html> |