|
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.gallery.zmi 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-gallery-zmi-package"> |
|
54 <h1>pyams_content.component.gallery.zmi package<a class="headerlink" href="#pyams-content-component-gallery-zmi-package" title="Permalink to this headline">¶</a></h1> |
|
55 <div class="section" id="submodules"> |
|
56 <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2> |
|
57 </div> |
|
58 <div class="section" id="module-pyams_content.component.gallery.zmi.file"> |
|
59 <span id="pyams-content-component-gallery-zmi-file-module"></span><h2>pyams_content.component.gallery.zmi.file module<a class="headerlink" href="#module-pyams_content.component.gallery.zmi.file" title="Permalink to this headline">¶</a></h2> |
|
60 <dl class="class"> |
|
61 <dt id="pyams_content.component.gallery.zmi.file.GalleryFileInfoPropertiesAJAXEditForm"> |
|
62 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.file.</code><code class="descname">GalleryFileInfoPropertiesAJAXEditForm</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFileInfoPropertiesAJAXEditForm" title="Permalink to this definition">¶</a></dt> |
|
63 <dd><p>Bases: <a class="reference internal" href="pyams_form.html#pyams_form.form.AJAXEditForm" title="pyams_form.form.AJAXEditForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_form.form.AJAXEditForm</span></code></a>, <a class="reference internal" href="#pyams_content.component.gallery.zmi.file.GalleryFilePropertiesEditForm" title="pyams_content.component.gallery.zmi.file.GalleryFilePropertiesEditForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.gallery.zmi.file.GalleryFilePropertiesEditForm</span></code></a></p> |
|
64 <p>Gallery file properties edit form, JSON renderer</p> |
|
65 <dl class="method"> |
|
66 <dt id="pyams_content.component.gallery.zmi.file.GalleryFileInfoPropertiesAJAXEditForm.get_ajax_output"> |
|
67 <code class="descname">get_ajax_output</code><span class="sig-paren">(</span><em>changes</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFileInfoPropertiesAJAXEditForm.get_ajax_output" title="Permalink to this definition">¶</a></dt> |
|
68 <dd></dd></dl> |
|
69 |
|
70 </dd></dl> |
|
71 |
|
72 <dl class="class"> |
|
73 <dt id="pyams_content.component.gallery.zmi.file.GalleryFilePropertiesAction"> |
|
74 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.file.</code><code class="descname">GalleryFilePropertiesAction</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>manager</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFilePropertiesAction" title="Permalink to this definition">¶</a></dt> |
|
75 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">pyams_file.zmi.file.FilePropertiesAction</span></code></p> |
|
76 <p>Media properties action</p> |
|
77 <dl class="attribute"> |
|
78 <dt id="pyams_content.component.gallery.zmi.file.GalleryFilePropertiesAction.url"> |
|
79 <code class="descname">url</code><em class="property"> = 'gallery-file-properties.html'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFilePropertiesAction.url" title="Permalink to this definition">¶</a></dt> |
|
80 <dd></dd></dl> |
|
81 |
|
82 </dd></dl> |
|
83 |
|
84 <dl class="class"> |
|
85 <dt id="pyams_content.component.gallery.zmi.file.GalleryFilePropertiesEditForm"> |
|
86 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.file.</code><code class="descname">GalleryFilePropertiesEditForm</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFilePropertiesEditForm" title="Permalink to this definition">¶</a></dt> |
|
87 <dd><p>Bases: <a class="reference internal" href="pyams_zmi.html#pyams_zmi.form.AdminDialogEditForm" title="pyams_zmi.form.AdminDialogEditForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_zmi.form.AdminDialogEditForm</span></code></a></p> |
|
88 <p>Gallery file properties edit form</p> |
|
89 <dl class="attribute"> |
|
90 <dt id="pyams_content.component.gallery.zmi.file.GalleryFilePropertiesEditForm.ajax_handler"> |
|
91 <code class="descname">ajax_handler</code><em class="property"> = 'gallery-file-properties.json'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFilePropertiesEditForm.ajax_handler" title="Permalink to this definition">¶</a></dt> |
|
92 <dd></dd></dl> |
|
93 |
|
94 <dl class="attribute"> |
|
95 <dt id="pyams_content.component.gallery.zmi.file.GalleryFilePropertiesEditForm.dialog_class"> |
|
96 <code class="descname">dialog_class</code><em class="property"> = 'modal-large'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFilePropertiesEditForm.dialog_class" title="Permalink to this definition">¶</a></dt> |
|
97 <dd></dd></dl> |
|
98 |
|
99 <dl class="attribute"> |
|
100 <dt id="pyams_content.component.gallery.zmi.file.GalleryFilePropertiesEditForm.fields"> |
|
101 <code class="descname">fields</code><em class="property"> = <z3c.form.field.Fields object></em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFilePropertiesEditForm.fields" title="Permalink to this definition">¶</a></dt> |
|
102 <dd></dd></dl> |
|
103 |
|
104 <dl class="attribute"> |
|
105 <dt id="pyams_content.component.gallery.zmi.file.GalleryFilePropertiesEditForm.icon_css_class"> |
|
106 <code class="descname">icon_css_class</code><em class="property"> = 'fa fa-fw fa-picture-o'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFilePropertiesEditForm.icon_css_class" title="Permalink to this definition">¶</a></dt> |
|
107 <dd></dd></dl> |
|
108 |
|
109 <dl class="attribute"> |
|
110 <dt id="pyams_content.component.gallery.zmi.file.GalleryFilePropertiesEditForm.legend"> |
|
111 <code class="descname">legend</code><em class="property"> = 'Update image properties'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFilePropertiesEditForm.legend" title="Permalink to this definition">¶</a></dt> |
|
112 <dd></dd></dl> |
|
113 |
|
114 <dl class="attribute"> |
|
115 <dt id="pyams_content.component.gallery.zmi.file.GalleryFilePropertiesEditForm.title"> |
|
116 <code class="descname">title</code><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFilePropertiesEditForm.title" title="Permalink to this definition">¶</a></dt> |
|
117 <dd></dd></dl> |
|
118 |
|
119 <dl class="method"> |
|
120 <dt id="pyams_content.component.gallery.zmi.file.GalleryFilePropertiesEditForm.updateWidgets"> |
|
121 <code class="descname">updateWidgets</code><span class="sig-paren">(</span><em>prefix=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFilePropertiesEditForm.updateWidgets" 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.gallery.zmi.file.GalleryFileRemoverAction"> |
|
128 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.file.</code><code class="descname">GalleryFileRemoverAction</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>manager</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFileRemoverAction" title="Permalink to this definition">¶</a></dt> |
|
129 <dd><p>Bases: <a class="reference internal" href="pyams_content.shared.common.zmi.html#pyams_content.shared.common.zmi.WfSharedContentPermissionMixin" title="pyams_content.shared.common.zmi.WfSharedContentPermissionMixin"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.shared.common.zmi.WfSharedContentPermissionMixin</span></code></a>, <a class="reference internal" href="pyams_skin.viewlet.toolbar.html#pyams_skin.viewlet.toolbar.JsToolbarActionItem" title="pyams_skin.viewlet.toolbar.JsToolbarActionItem"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.viewlet.toolbar.JsToolbarActionItem</span></code></a></p> |
|
130 <p>Gallery file remover action</p> |
|
131 <dl class="attribute"> |
|
132 <dt id="pyams_content.component.gallery.zmi.file.GalleryFileRemoverAction.hint_gravity"> |
|
133 <code class="descname">hint_gravity</code><em class="property"> = 'nw'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFileRemoverAction.hint_gravity" title="Permalink to this definition">¶</a></dt> |
|
134 <dd></dd></dl> |
|
135 |
|
136 <dl class="attribute"> |
|
137 <dt id="pyams_content.component.gallery.zmi.file.GalleryFileRemoverAction.label"> |
|
138 <code class="descname">label</code><em class="property"> = 'Remove image...'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFileRemoverAction.label" title="Permalink to this definition">¶</a></dt> |
|
139 <dd></dd></dl> |
|
140 |
|
141 <dl class="attribute"> |
|
142 <dt id="pyams_content.component.gallery.zmi.file.GalleryFileRemoverAction.label_css_class"> |
|
143 <code class="descname">label_css_class</code><em class="property"> = 'fa fa-fw fa-trash'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFileRemoverAction.label_css_class" title="Permalink to this definition">¶</a></dt> |
|
144 <dd></dd></dl> |
|
145 |
|
146 <dl class="attribute"> |
|
147 <dt id="pyams_content.component.gallery.zmi.file.GalleryFileRemoverAction.url"> |
|
148 <code class="descname">url</code><em class="property"> = 'PyAMS_content.galleries.removeFile'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFileRemoverAction.url" title="Permalink to this definition">¶</a></dt> |
|
149 <dd></dd></dl> |
|
150 |
|
151 </dd></dl> |
|
152 |
|
153 <dl class="class"> |
|
154 <dt id="pyams_content.component.gallery.zmi.file.GalleryFileShowHideAction"> |
|
155 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.file.</code><code class="descname">GalleryFileShowHideAction</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>manager</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFileShowHideAction" title="Permalink to this definition">¶</a></dt> |
|
156 <dd><p>Bases: <a class="reference internal" href="pyams_content.shared.common.zmi.html#pyams_content.shared.common.zmi.WfSharedContentPermissionMixin" title="pyams_content.shared.common.zmi.WfSharedContentPermissionMixin"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.shared.common.zmi.WfSharedContentPermissionMixin</span></code></a>, <a class="reference internal" href="pyams_skin.viewlet.toolbar.html#pyams_skin.viewlet.toolbar.JsToolbarActionItem" title="pyams_skin.viewlet.toolbar.JsToolbarActionItem"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.viewlet.toolbar.JsToolbarActionItem</span></code></a></p> |
|
157 <p>Gallery file show/hide action</p> |
|
158 <dl class="attribute"> |
|
159 <dt id="pyams_content.component.gallery.zmi.file.GalleryFileShowHideAction.edit_permission"> |
|
160 <code class="descname">edit_permission</code><em class="property"> = 'system.forbidden'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFileShowHideAction.edit_permission" title="Permalink to this definition">¶</a></dt> |
|
161 <dd></dd></dl> |
|
162 |
|
163 <dl class="method"> |
|
164 <dt id="pyams_content.component.gallery.zmi.file.GalleryFileShowHideAction.get_url"> |
|
165 <code class="descname">get_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFileShowHideAction.get_url" title="Permalink to this definition">¶</a></dt> |
|
166 <dd></dd></dl> |
|
167 |
|
168 <dl class="attribute"> |
|
169 <dt id="pyams_content.component.gallery.zmi.file.GalleryFileShowHideAction.hint_gravity"> |
|
170 <code class="descname">hint_gravity</code><em class="property"> = 'nw'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFileShowHideAction.hint_gravity" title="Permalink to this definition">¶</a></dt> |
|
171 <dd></dd></dl> |
|
172 |
|
173 <dl class="attribute"> |
|
174 <dt id="pyams_content.component.gallery.zmi.file.GalleryFileShowHideAction.label"> |
|
175 <code class="descname">label</code><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFileShowHideAction.label" title="Permalink to this definition">¶</a></dt> |
|
176 <dd></dd></dl> |
|
177 |
|
178 <dl class="attribute"> |
|
179 <dt id="pyams_content.component.gallery.zmi.file.GalleryFileShowHideAction.label_css_class"> |
|
180 <code class="descname">label_css_class</code><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFileShowHideAction.label_css_class" title="Permalink to this definition">¶</a></dt> |
|
181 <dd></dd></dl> |
|
182 |
|
183 <dl class="attribute"> |
|
184 <dt id="pyams_content.component.gallery.zmi.file.GalleryFileShowHideAction.url"> |
|
185 <code class="descname">url</code><em class="property"> = 'PyAMS_content.galleries.switchImageVisibility'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryFileShowHideAction.url" title="Permalink to this definition">¶</a></dt> |
|
186 <dd></dd></dl> |
|
187 |
|
188 </dd></dl> |
|
189 |
|
190 <dl class="class"> |
|
191 <dt id="pyams_content.component.gallery.zmi.file.GalleryImageAJAXAddForm"> |
|
192 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.file.</code><code class="descname">GalleryImageAJAXAddForm</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryImageAJAXAddForm" title="Permalink to this definition">¶</a></dt> |
|
193 <dd><p>Bases: <a class="reference internal" href="pyams_form.html#pyams_form.form.AJAXAddForm" title="pyams_form.form.AJAXAddForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_form.form.AJAXAddForm</span></code></a>, <a class="reference internal" href="#pyams_content.component.gallery.zmi.file.GalleryImageAddForm" title="pyams_content.component.gallery.zmi.file.GalleryImageAddForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.gallery.zmi.file.GalleryImageAddForm</span></code></a></p> |
|
194 <p>Gallery image add form, JSON renderer</p> |
|
195 <dl class="method"> |
|
196 <dt id="pyams_content.component.gallery.zmi.file.GalleryImageAJAXAddForm.get_ajax_output"> |
|
197 <code class="descname">get_ajax_output</code><span class="sig-paren">(</span><em>changes</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryImageAJAXAddForm.get_ajax_output" 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.gallery.zmi.file.GalleryImageAddForm"> |
|
204 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.file.</code><code class="descname">GalleryImageAddForm</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryImageAddForm" title="Permalink to this definition">¶</a></dt> |
|
205 <dd><p>Bases: <a class="reference internal" href="pyams_zmi.html#pyams_zmi.form.AdminDialogAddForm" title="pyams_zmi.form.AdminDialogAddForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_zmi.form.AdminDialogAddForm</span></code></a></p> |
|
206 <p>Gallery image add form</p> |
|
207 <dl class="attribute"> |
|
208 <dt id="pyams_content.component.gallery.zmi.file.GalleryImageAddForm.ajax_handler"> |
|
209 <code class="descname">ajax_handler</code><em class="property"> = 'add-image.json'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryImageAddForm.ajax_handler" title="Permalink to this definition">¶</a></dt> |
|
210 <dd></dd></dl> |
|
211 |
|
212 <dl class="method"> |
|
213 <dt id="pyams_content.component.gallery.zmi.file.GalleryImageAddForm.create"> |
|
214 <code class="descname">create</code><span class="sig-paren">(</span><em>data</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryImageAddForm.create" title="Permalink to this definition">¶</a></dt> |
|
215 <dd></dd></dl> |
|
216 |
|
217 <dl class="attribute"> |
|
218 <dt id="pyams_content.component.gallery.zmi.file.GalleryImageAddForm.fields"> |
|
219 <code class="descname">fields</code><em class="property"> = <z3c.form.field.Fields object></em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryImageAddForm.fields" title="Permalink to this definition">¶</a></dt> |
|
220 <dd></dd></dl> |
|
221 |
|
222 <dl class="attribute"> |
|
223 <dt id="pyams_content.component.gallery.zmi.file.GalleryImageAddForm.icon_css_class"> |
|
224 <code class="descname">icon_css_class</code><em class="property"> = 'fa -fa-fw fa-picture-o'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryImageAddForm.icon_css_class" title="Permalink to this definition">¶</a></dt> |
|
225 <dd></dd></dl> |
|
226 |
|
227 <dl class="attribute"> |
|
228 <dt id="pyams_content.component.gallery.zmi.file.GalleryImageAddForm.legend"> |
|
229 <code class="descname">legend</code><em class="property"> = 'Add image(s)'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryImageAddForm.legend" title="Permalink to this definition">¶</a></dt> |
|
230 <dd></dd></dl> |
|
231 |
|
232 <dl class="method"> |
|
233 <dt id="pyams_content.component.gallery.zmi.file.GalleryImageAddForm.updateWidgets"> |
|
234 <code class="descname">updateWidgets</code><span class="sig-paren">(</span><em>prefix=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryImageAddForm.updateWidgets" title="Permalink to this definition">¶</a></dt> |
|
235 <dd></dd></dl> |
|
236 |
|
237 </dd></dl> |
|
238 |
|
239 <dl class="class"> |
|
240 <dt id="pyams_content.component.gallery.zmi.file.GalleryImageAddMenu"> |
|
241 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.file.</code><code class="descname">GalleryImageAddMenu</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>manager</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryImageAddMenu" title="Permalink to this definition">¶</a></dt> |
|
242 <dd><p>Bases: <a class="reference internal" href="pyams_content.shared.common.zmi.html#pyams_content.shared.common.zmi.WfSharedContentPermissionMixin" title="pyams_content.shared.common.zmi.WfSharedContentPermissionMixin"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.shared.common.zmi.WfSharedContentPermissionMixin</span></code></a>, <a class="reference internal" href="pyams_skin.viewlet.toolbar.html#pyams_skin.viewlet.toolbar.ToolbarAction" title="pyams_skin.viewlet.toolbar.ToolbarAction"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.viewlet.toolbar.ToolbarAction</span></code></a></p> |
|
243 <p>Gallery image add menu</p> |
|
244 <dl class="attribute"> |
|
245 <dt id="pyams_content.component.gallery.zmi.file.GalleryImageAddMenu.label"> |
|
246 <code class="descname">label</code><em class="property"> = 'Add image(s)'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryImageAddMenu.label" title="Permalink to this definition">¶</a></dt> |
|
247 <dd></dd></dl> |
|
248 |
|
249 <dl class="attribute"> |
|
250 <dt id="pyams_content.component.gallery.zmi.file.GalleryImageAddMenu.modal_target"> |
|
251 <code class="descname">modal_target</code><em class="property"> = True</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryImageAddMenu.modal_target" title="Permalink to this definition">¶</a></dt> |
|
252 <dd></dd></dl> |
|
253 |
|
254 <dl class="attribute"> |
|
255 <dt id="pyams_content.component.gallery.zmi.file.GalleryImageAddMenu.stop_propagation"> |
|
256 <code class="descname">stop_propagation</code><em class="property"> = True</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryImageAddMenu.stop_propagation" title="Permalink to this definition">¶</a></dt> |
|
257 <dd></dd></dl> |
|
258 |
|
259 <dl class="attribute"> |
|
260 <dt id="pyams_content.component.gallery.zmi.file.GalleryImageAddMenu.url"> |
|
261 <code class="descname">url</code><em class="property"> = 'add-image.html'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.GalleryImageAddMenu.url" title="Permalink to this definition">¶</a></dt> |
|
262 <dd></dd></dl> |
|
263 |
|
264 </dd></dl> |
|
265 |
|
266 <dl class="function"> |
|
267 <dt id="pyams_content.component.gallery.zmi.file.delete_gallery_element"> |
|
268 <code class="descclassname">pyams_content.component.gallery.zmi.file.</code><code class="descname">delete_gallery_element</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.file.delete_gallery_element" title="Permalink to this definition">¶</a></dt> |
|
269 <dd><p>Delete gallery element</p> |
|
270 </dd></dl> |
|
271 |
|
272 </div> |
|
273 <div class="section" id="module-pyams_content.component.gallery.zmi.interfaces"> |
|
274 <span id="pyams-content-component-gallery-zmi-interfaces-module"></span><h2>pyams_content.component.gallery.zmi.interfaces module<a class="headerlink" href="#module-pyams_content.component.gallery.zmi.interfaces" title="Permalink to this headline">¶</a></h2> |
|
275 </div> |
|
276 <div class="section" id="module-pyams_content.component.gallery.zmi.paragraph"> |
|
277 <span id="pyams-content-component-gallery-zmi-paragraph-module"></span><h2>pyams_content.component.gallery.zmi.paragraph module<a class="headerlink" href="#module-pyams_content.component.gallery.zmi.paragraph" title="Permalink to this headline">¶</a></h2> |
|
278 <dl class="class"> |
|
279 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryAJAXAddForm"> |
|
280 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.paragraph.</code><code class="descname">GalleryAJAXAddForm</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryAJAXAddForm" title="Permalink to this definition">¶</a></dt> |
|
281 <dd><p>Bases: <a class="reference internal" href="pyams_content.component.paragraph.zmi.html#pyams_content.component.paragraph.zmi.BaseParagraphAJAXAddForm" title="pyams_content.component.paragraph.zmi.BaseParagraphAJAXAddForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.paragraph.zmi.BaseParagraphAJAXAddForm</span></code></a>, <a class="reference internal" href="#pyams_content.component.gallery.zmi.paragraph.GalleryAddForm" title="pyams_content.component.gallery.zmi.paragraph.GalleryAddForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.gallery.zmi.paragraph.GalleryAddForm</span></code></a></p> |
|
282 <p>Gallery paragraph add form, JSON renderer</p> |
|
283 </dd></dl> |
|
284 |
|
285 <dl class="class"> |
|
286 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryAddForm"> |
|
287 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.paragraph.</code><code class="descname">GalleryAddForm</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryAddForm" title="Permalink to this definition">¶</a></dt> |
|
288 <dd><p>Bases: <a class="reference internal" href="pyams_zmi.html#pyams_zmi.form.AdminDialogAddForm" title="pyams_zmi.form.AdminDialogAddForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_zmi.form.AdminDialogAddForm</span></code></a></p> |
|
289 <p>Gallery add form</p> |
|
290 <dl class="method"> |
|
291 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryAddForm.add"> |
|
292 <code class="descname">add</code><span class="sig-paren">(</span><em>object</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryAddForm.add" title="Permalink to this definition">¶</a></dt> |
|
293 <dd></dd></dl> |
|
294 |
|
295 <dl class="attribute"> |
|
296 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryAddForm.ajax_handler"> |
|
297 <code class="descname">ajax_handler</code><em class="property"> = 'add-gallery.json'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryAddForm.ajax_handler" title="Permalink to this definition">¶</a></dt> |
|
298 <dd></dd></dl> |
|
299 |
|
300 <dl class="method"> |
|
301 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryAddForm.create"> |
|
302 <code class="descname">create</code><span class="sig-paren">(</span><em>data</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryAddForm.create" title="Permalink to this definition">¶</a></dt> |
|
303 <dd></dd></dl> |
|
304 |
|
305 <dl class="attribute"> |
|
306 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryAddForm.edit_permission"> |
|
307 <code class="descname">edit_permission</code><em class="property"> = 'pyams.ManageContent'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryAddForm.edit_permission" title="Permalink to this definition">¶</a></dt> |
|
308 <dd></dd></dl> |
|
309 |
|
310 <dl class="attribute"> |
|
311 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryAddForm.fields"> |
|
312 <code class="descname">fields</code><em class="property"> = <z3c.form.field.Fields object></em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryAddForm.fields" title="Permalink to this definition">¶</a></dt> |
|
313 <dd></dd></dl> |
|
314 |
|
315 <dl class="attribute"> |
|
316 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryAddForm.icon_css_class"> |
|
317 <code class="descname">icon_css_class</code><em class="property"> = 'fa fa-fw fa-picture-o'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryAddForm.icon_css_class" title="Permalink to this definition">¶</a></dt> |
|
318 <dd></dd></dl> |
|
319 |
|
320 <dl class="attribute"> |
|
321 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryAddForm.legend"> |
|
322 <code class="descname">legend</code><em class="property"> = 'Add new gallery'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryAddForm.legend" title="Permalink to this definition">¶</a></dt> |
|
323 <dd></dd></dl> |
|
324 |
|
325 <dl class="method"> |
|
326 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryAddForm.updateWidgets"> |
|
327 <code class="descname">updateWidgets</code><span class="sig-paren">(</span><em>prefix=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryAddForm.updateWidgets" 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.gallery.zmi.paragraph.GalleryAddMenu"> |
|
334 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.paragraph.</code><code class="descname">GalleryAddMenu</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>manager</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryAddMenu" title="Permalink to this definition">¶</a></dt> |
|
335 <dd><p>Bases: <a class="reference internal" href="pyams_content.component.paragraph.zmi.html#pyams_content.component.paragraph.zmi.BaseParagraphAddMenu" title="pyams_content.component.paragraph.zmi.BaseParagraphAddMenu"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.paragraph.zmi.BaseParagraphAddMenu</span></code></a></p> |
|
336 <p>Gallery add menu</p> |
|
337 <dl class="attribute"> |
|
338 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryAddMenu.label"> |
|
339 <code class="descname">label</code><em class="property"> = 'Add images gallery...'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryAddMenu.label" title="Permalink to this definition">¶</a></dt> |
|
340 <dd></dd></dl> |
|
341 |
|
342 <dl class="attribute"> |
|
343 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryAddMenu.label_css_class"> |
|
344 <code class="descname">label_css_class</code><em class="property"> = 'fa fa-fw fa-picture-o'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryAddMenu.label_css_class" title="Permalink to this definition">¶</a></dt> |
|
345 <dd></dd></dl> |
|
346 |
|
347 <dl class="attribute"> |
|
348 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryAddMenu.paragraph_type"> |
|
349 <code class="descname">paragraph_type</code><em class="property"> = 'Gallery'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryAddMenu.paragraph_type" title="Permalink to this definition">¶</a></dt> |
|
350 <dd></dd></dl> |
|
351 |
|
352 <dl class="attribute"> |
|
353 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryAddMenu.url"> |
|
354 <code class="descname">url</code><em class="property"> = 'add-gallery.html'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryAddMenu.url" title="Permalink to this definition">¶</a></dt> |
|
355 <dd></dd></dl> |
|
356 |
|
357 </dd></dl> |
|
358 |
|
359 <dl class="class"> |
|
360 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryContentsView"> |
|
361 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.paragraph.</code><code class="descname">GalleryContentsView</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryContentsView" title="Permalink to this definition">¶</a></dt> |
|
362 <dd><p>Bases: <a class="reference internal" href="pyams_content.shared.common.zmi.html#pyams_content.shared.common.zmi.WfSharedContentPermissionMixin" title="pyams_content.shared.common.zmi.WfSharedContentPermissionMixin"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.shared.common.zmi.WfSharedContentPermissionMixin</span></code></a>, <a class="reference internal" href="pyams_zmi.html#pyams_zmi.form.InnerAdminDisplayForm" title="pyams_zmi.form.InnerAdminDisplayForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_zmi.form.InnerAdminDisplayForm</span></code></a></p> |
|
363 <p>Gallery contents edit form</p> |
|
364 <dl class="attribute"> |
|
365 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryContentsView.fields"> |
|
366 <code class="descname">fields</code><em class="property"> = <z3c.form.field.Fields object></em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryContentsView.fields" title="Permalink to this definition">¶</a></dt> |
|
367 <dd></dd></dl> |
|
368 |
|
369 <dl class="method"> |
|
370 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryContentsView.get_title"> |
|
371 <code class="descname">get_title</code><span class="sig-paren">(</span><em>image</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryContentsView.get_title" title="Permalink to this definition">¶</a></dt> |
|
372 <dd></dd></dl> |
|
373 |
|
374 <dl class="attribute"> |
|
375 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryContentsView.weight"> |
|
376 <code class="descname">weight</code><em class="property"> = 10</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryContentsView.weight" title="Permalink to this definition">¶</a></dt> |
|
377 <dd></dd></dl> |
|
378 |
|
379 </dd></dl> |
|
380 |
|
381 <dl class="class"> |
|
382 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryImageAddMenu"> |
|
383 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.paragraph.</code><code class="descname">GalleryImageAddMenu</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>manager</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryImageAddMenu" title="Permalink to this definition">¶</a></dt> |
|
384 <dd><p>Bases: <a class="reference internal" href="pyams_content.shared.common.zmi.html#pyams_content.shared.common.zmi.WfSharedContentPermissionMixin" title="pyams_content.shared.common.zmi.WfSharedContentPermissionMixin"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.shared.common.zmi.WfSharedContentPermissionMixin</span></code></a>, <a class="reference internal" href="pyams_skin.viewlet.toolbar.html#pyams_skin.viewlet.toolbar.ToolbarAction" title="pyams_skin.viewlet.toolbar.ToolbarAction"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.viewlet.toolbar.ToolbarAction</span></code></a></p> |
|
385 <p>Gallery image add menu</p> |
|
386 <dl class="attribute"> |
|
387 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryImageAddMenu.label"> |
|
388 <code class="descname">label</code><em class="property"> = 'Add image(s)'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryImageAddMenu.label" title="Permalink to this definition">¶</a></dt> |
|
389 <dd></dd></dl> |
|
390 |
|
391 <dl class="attribute"> |
|
392 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryImageAddMenu.modal_target"> |
|
393 <code class="descname">modal_target</code><em class="property"> = True</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryImageAddMenu.modal_target" title="Permalink to this definition">¶</a></dt> |
|
394 <dd></dd></dl> |
|
395 |
|
396 <dl class="attribute"> |
|
397 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryImageAddMenu.stop_propagation"> |
|
398 <code class="descname">stop_propagation</code><em class="property"> = True</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryImageAddMenu.stop_propagation" title="Permalink to this definition">¶</a></dt> |
|
399 <dd></dd></dl> |
|
400 |
|
401 <dl class="attribute"> |
|
402 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryImageAddMenu.url"> |
|
403 <code class="descname">url</code><em class="property"> = 'add-image.html'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryImageAddMenu.url" title="Permalink to this definition">¶</a></dt> |
|
404 <dd></dd></dl> |
|
405 |
|
406 </dd></dl> |
|
407 |
|
408 <dl class="class"> |
|
409 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryInnerEditForm"> |
|
410 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.paragraph.</code><code class="descname">GalleryInnerEditForm</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryInnerEditForm" title="Permalink to this definition">¶</a></dt> |
|
411 <dd><p>Bases: <a class="reference internal" href="#pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm" title="pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm</span></code></a></p> |
|
412 <p>Gallery properties inner edit form</p> |
|
413 <dl class="attribute"> |
|
414 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryInnerEditForm.buttons"> |
|
415 <code class="descname">buttons</code><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryInnerEditForm.buttons" title="Permalink to this definition">¶</a></dt> |
|
416 <dd></dd></dl> |
|
417 |
|
418 <dl class="attribute"> |
|
419 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryInnerEditForm.legend"> |
|
420 <code class="descname">legend</code><em class="property"> = None</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryInnerEditForm.legend" title="Permalink to this definition">¶</a></dt> |
|
421 <dd></dd></dl> |
|
422 |
|
423 </dd></dl> |
|
424 |
|
425 <dl class="class"> |
|
426 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryParagraphSummary"> |
|
427 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.paragraph.</code><code class="descname">GalleryParagraphSummary</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryParagraphSummary" title="Permalink to this definition">¶</a></dt> |
|
428 <dd><p>Bases: <a class="reference internal" href="pyams_viewlet.html#pyams_viewlet.viewlet.BaseContentProvider" title="pyams_viewlet.viewlet.BaseContentProvider"><code class="xref py py-class docutils literal"><span class="pre">pyams_viewlet.viewlet.BaseContentProvider</span></code></a></p> |
|
429 <p>Gallery summary</p> |
|
430 <dl class="attribute"> |
|
431 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryParagraphSummary.language"> |
|
432 <code class="descname">language</code><em class="property"> = None</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryParagraphSummary.language" title="Permalink to this definition">¶</a></dt> |
|
433 <dd></dd></dl> |
|
434 |
|
435 <dl class="method"> |
|
436 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryParagraphSummary.render"> |
|
437 <code class="descname">render</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryParagraphSummary.render" title="Permalink to this definition">¶</a></dt> |
|
438 <dd></dd></dl> |
|
439 |
|
440 <dl class="method"> |
|
441 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryParagraphSummary.update"> |
|
442 <code class="descname">update</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryParagraphSummary.update" title="Permalink to this definition">¶</a></dt> |
|
443 <dd></dd></dl> |
|
444 |
|
445 </dd></dl> |
|
446 |
|
447 <dl class="class"> |
|
448 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesAJAXEditForm"> |
|
449 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.paragraph.</code><code class="descname">GalleryPropertiesAJAXEditForm</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesAJAXEditForm" title="Permalink to this definition">¶</a></dt> |
|
450 <dd><p>Bases: <a class="reference internal" href="pyams_content.component.paragraph.zmi.html#pyams_content.component.paragraph.zmi.BaseParagraphAJAXEditForm" title="pyams_content.component.paragraph.zmi.BaseParagraphAJAXEditForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.paragraph.zmi.BaseParagraphAJAXEditForm</span></code></a>, <a class="reference internal" href="#pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm" title="pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm</span></code></a></p> |
|
451 <p>Gallery paragraph properties edit form, JSON renderer</p> |
|
452 <dl class="method"> |
|
453 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesAJAXEditForm.get_ajax_output"> |
|
454 <code class="descname">get_ajax_output</code><span class="sig-paren">(</span><em>changes</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesAJAXEditForm.get_ajax_output" title="Permalink to this definition">¶</a></dt> |
|
455 <dd></dd></dl> |
|
456 |
|
457 </dd></dl> |
|
458 |
|
459 <dl class="class"> |
|
460 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm"> |
|
461 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.paragraph.</code><code class="descname">GalleryPropertiesEditForm</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm" title="Permalink to this definition">¶</a></dt> |
|
462 <dd><p>Bases: <a class="reference internal" href="pyams_content.component.paragraph.zmi.html#pyams_content.component.paragraph.zmi.BaseParagraphPropertiesEditForm" title="pyams_content.component.paragraph.zmi.BaseParagraphPropertiesEditForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.paragraph.zmi.BaseParagraphPropertiesEditForm</span></code></a></p> |
|
463 <p>Gallery properties edit form</p> |
|
464 <dl class="attribute"> |
|
465 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm.ajax_handler"> |
|
466 <code class="descname">ajax_handler</code><em class="property"> = 'properties.json'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm.ajax_handler" title="Permalink to this definition">¶</a></dt> |
|
467 <dd></dd></dl> |
|
468 |
|
469 <dl class="attribute"> |
|
470 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm.edit_permission"> |
|
471 <code class="descname">edit_permission</code><em class="property"> = 'pyams.ManageContent'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm.edit_permission" title="Permalink to this definition">¶</a></dt> |
|
472 <dd></dd></dl> |
|
473 |
|
474 <dl class="attribute"> |
|
475 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm.fields"> |
|
476 <code class="descname">fields</code><em class="property"> = <z3c.form.field.Fields object></em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm.fields" title="Permalink to this definition">¶</a></dt> |
|
477 <dd></dd></dl> |
|
478 |
|
479 <dl class="attribute"> |
|
480 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm.icon_css_class"> |
|
481 <code class="descname">icon_css_class</code><em class="property"> = 'fa fa-fw fa-picture-o'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm.icon_css_class" title="Permalink to this definition">¶</a></dt> |
|
482 <dd></dd></dl> |
|
483 |
|
484 <dl class="attribute"> |
|
485 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm.legend"> |
|
486 <code class="descname">legend</code><em class="property"> = 'Edit gallery properties'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm.legend" title="Permalink to this definition">¶</a></dt> |
|
487 <dd></dd></dl> |
|
488 |
|
489 <dl class="method"> |
|
490 <dt id="pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm.updateWidgets"> |
|
491 <code class="descname">updateWidgets</code><span class="sig-paren">(</span><em>prefix=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.paragraph.GalleryPropertiesEditForm.updateWidgets" title="Permalink to this definition">¶</a></dt> |
|
492 <dd></dd></dl> |
|
493 |
|
494 </dd></dl> |
|
495 |
|
496 </div> |
|
497 <div class="section" id="module-pyams_content.component.gallery.zmi"> |
|
498 <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyams_content.component.gallery.zmi" title="Permalink to this headline">¶</a></h2> |
|
499 <dl class="class"> |
|
500 <dt id="pyams_content.component.gallery.zmi.BaseGalleryRenderer"> |
|
501 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.</code><code class="descname">BaseGalleryRenderer</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.BaseGalleryRenderer" title="Permalink to this definition">¶</a></dt> |
|
502 <dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestAdapter" title="pyams_utils.adapter.ContextRequestAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestAdapter</span></code></a></p> |
|
503 <p>Base gallery renderer</p> |
|
504 <dl class="attribute"> |
|
505 <dt id="pyams_content.component.gallery.zmi.BaseGalleryRenderer.render"> |
|
506 <code class="descname">render</code><em class="property"> = <BoundViewTemplate of None></em><a class="headerlink" href="#pyams_content.component.gallery.zmi.BaseGalleryRenderer.render" title="Permalink to this definition">¶</a></dt> |
|
507 <dd></dd></dl> |
|
508 |
|
509 <dl class="method"> |
|
510 <dt id="pyams_content.component.gallery.zmi.BaseGalleryRenderer.update"> |
|
511 <code class="descname">update</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.BaseGalleryRenderer.update" title="Permalink to this definition">¶</a></dt> |
|
512 <dd></dd></dl> |
|
513 |
|
514 </dd></dl> |
|
515 |
|
516 <dl class="class"> |
|
517 <dt id="pyams_content.component.gallery.zmi.DefaultGalleryRenderer"> |
|
518 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.</code><code class="descname">DefaultGalleryRenderer</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.DefaultGalleryRenderer" title="Permalink to this definition">¶</a></dt> |
|
519 <dd><p>Bases: <a class="reference internal" href="#pyams_content.component.gallery.zmi.BaseGalleryRenderer" title="pyams_content.component.gallery.zmi.BaseGalleryRenderer"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.gallery.zmi.BaseGalleryRenderer</span></code></a></p> |
|
520 <p>Default gallery renderer</p> |
|
521 <dl class="attribute"> |
|
522 <dt id="pyams_content.component.gallery.zmi.DefaultGalleryRenderer.label"> |
|
523 <code class="descname">label</code><em class="property"> = 'Default gallery renderer'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.DefaultGalleryRenderer.label" title="Permalink to this definition">¶</a></dt> |
|
524 <dd></dd></dl> |
|
525 |
|
526 <dl class="attribute"> |
|
527 <dt id="pyams_content.component.gallery.zmi.DefaultGalleryRenderer.weight"> |
|
528 <code class="descname">weight</code><em class="property"> = 1</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.DefaultGalleryRenderer.weight" title="Permalink to this definition">¶</a></dt> |
|
529 <dd></dd></dl> |
|
530 |
|
531 </dd></dl> |
|
532 |
|
533 <dl class="class"> |
|
534 <dt id="pyams_content.component.gallery.zmi.GalleryContentForm"> |
|
535 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.</code><code class="descname">GalleryContentForm</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.GalleryContentForm" title="Permalink to this definition">¶</a></dt> |
|
536 <dd><p>Bases: <a class="reference internal" href="pyams_zmi.html#pyams_zmi.form.AdminDialogDisplayForm" title="pyams_zmi.form.AdminDialogDisplayForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_zmi.form.AdminDialogDisplayForm</span></code></a></p> |
|
537 <p>Gallery contents form</p> |
|
538 <dl class="attribute"> |
|
539 <dt id="pyams_content.component.gallery.zmi.GalleryContentForm.dialog_class"> |
|
540 <code class="descname">dialog_class</code><em class="property"> = 'modal-max'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.GalleryContentForm.dialog_class" title="Permalink to this definition">¶</a></dt> |
|
541 <dd></dd></dl> |
|
542 |
|
543 <dl class="attribute"> |
|
544 <dt id="pyams_content.component.gallery.zmi.GalleryContentForm.fields"> |
|
545 <code class="descname">fields</code><em class="property"> = <z3c.form.field.Fields object></em><a class="headerlink" href="#pyams_content.component.gallery.zmi.GalleryContentForm.fields" title="Permalink to this definition">¶</a></dt> |
|
546 <dd></dd></dl> |
|
547 |
|
548 <dl class="attribute"> |
|
549 <dt id="pyams_content.component.gallery.zmi.GalleryContentForm.legend"> |
|
550 <code class="descname">legend</code><em class="property"> = 'Update gallery contents'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.GalleryContentForm.legend" title="Permalink to this definition">¶</a></dt> |
|
551 <dd></dd></dl> |
|
552 |
|
553 <dl class="attribute"> |
|
554 <dt id="pyams_content.component.gallery.zmi.GalleryContentForm.show_widget_title"> |
|
555 <code class="descname">show_widget_title</code><em class="property"> = True</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.GalleryContentForm.show_widget_title" title="Permalink to this definition">¶</a></dt> |
|
556 <dd></dd></dl> |
|
557 |
|
558 </dd></dl> |
|
559 |
|
560 <dl class="class"> |
|
561 <dt id="pyams_content.component.gallery.zmi.GalleryImagesView"> |
|
562 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.</code><code class="descname">GalleryImagesView</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.GalleryImagesView" title="Permalink to this definition">¶</a></dt> |
|
563 <dd><p>Bases: <a class="reference internal" href="pyams_content.shared.common.zmi.html#pyams_content.shared.common.zmi.WfSharedContentPermissionMixin" title="pyams_content.shared.common.zmi.WfSharedContentPermissionMixin"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.shared.common.zmi.WfSharedContentPermissionMixin</span></code></a></p> |
|
564 <p>Gallery images view</p> |
|
565 <dl class="method"> |
|
566 <dt id="pyams_content.component.gallery.zmi.GalleryImagesView.get_title"> |
|
567 <code class="descname">get_title</code><span class="sig-paren">(</span><em>image</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.GalleryImagesView.get_title" title="Permalink to this definition">¶</a></dt> |
|
568 <dd></dd></dl> |
|
569 |
|
570 </dd></dl> |
|
571 |
|
572 <dl class="class"> |
|
573 <dt id="pyams_content.component.gallery.zmi.GalleryImagesViewlet"> |
|
574 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.</code><code class="descname">GalleryImagesViewlet</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>manager</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.GalleryImagesViewlet" title="Permalink to this definition">¶</a></dt> |
|
575 <dd><p>Bases: <a class="reference internal" href="pyams_viewlet.html#pyams_viewlet.viewlet.Viewlet" title="pyams_viewlet.viewlet.Viewlet"><code class="xref py py-class docutils literal"><span class="pre">pyams_viewlet.viewlet.Viewlet</span></code></a></p> |
|
576 <p>Gallery images viewlet</p> |
|
577 <dl class="method"> |
|
578 <dt id="pyams_content.component.gallery.zmi.GalleryImagesViewlet.get_title"> |
|
579 <code class="descname">get_title</code><span class="sig-paren">(</span><em>image</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.GalleryImagesViewlet.get_title" title="Permalink to this definition">¶</a></dt> |
|
580 <dd></dd></dl> |
|
581 |
|
582 </dd></dl> |
|
583 |
|
584 <dl class="class"> |
|
585 <dt id="pyams_content.component.gallery.zmi.GalleryPropertiesAJAXEditForm"> |
|
586 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.</code><code class="descname">GalleryPropertiesAJAXEditForm</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.GalleryPropertiesAJAXEditForm" title="Permalink to this definition">¶</a></dt> |
|
587 <dd><p>Bases: <a class="reference internal" href="pyams_form.html#pyams_form.form.AJAXEditForm" title="pyams_form.form.AJAXEditForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_form.form.AJAXEditForm</span></code></a>, <a class="reference internal" href="#pyams_content.component.gallery.zmi.GalleryPropertiesEditForm" title="pyams_content.component.gallery.zmi.GalleryPropertiesEditForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.component.gallery.zmi.GalleryPropertiesEditForm</span></code></a></p> |
|
588 <p>Gallery properties edit form, JSON renderer</p> |
|
589 <dl class="method"> |
|
590 <dt id="pyams_content.component.gallery.zmi.GalleryPropertiesAJAXEditForm.get_ajax_output"> |
|
591 <code class="descname">get_ajax_output</code><span class="sig-paren">(</span><em>changes</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.GalleryPropertiesAJAXEditForm.get_ajax_output" title="Permalink to this definition">¶</a></dt> |
|
592 <dd></dd></dl> |
|
593 |
|
594 </dd></dl> |
|
595 |
|
596 <dl class="class"> |
|
597 <dt id="pyams_content.component.gallery.zmi.GalleryPropertiesEditForm"> |
|
598 <em class="property">class </em><code class="descclassname">pyams_content.component.gallery.zmi.</code><code class="descname">GalleryPropertiesEditForm</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.GalleryPropertiesEditForm" title="Permalink to this definition">¶</a></dt> |
|
599 <dd><p>Bases: <a class="reference internal" href="pyams_zmi.html#pyams_zmi.form.AdminDialogEditForm" title="pyams_zmi.form.AdminDialogEditForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_zmi.form.AdminDialogEditForm</span></code></a></p> |
|
600 <p>Gallery properties edit form</p> |
|
601 <dl class="attribute"> |
|
602 <dt id="pyams_content.component.gallery.zmi.GalleryPropertiesEditForm.ajax_handler"> |
|
603 <code class="descname">ajax_handler</code><em class="property"> = 'properties.json'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.GalleryPropertiesEditForm.ajax_handler" title="Permalink to this definition">¶</a></dt> |
|
604 <dd></dd></dl> |
|
605 |
|
606 <dl class="attribute"> |
|
607 <dt id="pyams_content.component.gallery.zmi.GalleryPropertiesEditForm.edit_permission"> |
|
608 <code class="descname">edit_permission</code><em class="property"> = 'pyams.ManageContent'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.GalleryPropertiesEditForm.edit_permission" title="Permalink to this definition">¶</a></dt> |
|
609 <dd></dd></dl> |
|
610 |
|
611 <dl class="attribute"> |
|
612 <dt id="pyams_content.component.gallery.zmi.GalleryPropertiesEditForm.fields"> |
|
613 <code class="descname">fields</code><em class="property"> = <z3c.form.field.Fields object></em><a class="headerlink" href="#pyams_content.component.gallery.zmi.GalleryPropertiesEditForm.fields" title="Permalink to this definition">¶</a></dt> |
|
614 <dd></dd></dl> |
|
615 |
|
616 <dl class="attribute"> |
|
617 <dt id="pyams_content.component.gallery.zmi.GalleryPropertiesEditForm.icon_css_class"> |
|
618 <code class="descname">icon_css_class</code><em class="property"> = 'fa fa-fw fa-picture-o'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.GalleryPropertiesEditForm.icon_css_class" title="Permalink to this definition">¶</a></dt> |
|
619 <dd></dd></dl> |
|
620 |
|
621 <dl class="attribute"> |
|
622 <dt id="pyams_content.component.gallery.zmi.GalleryPropertiesEditForm.legend"> |
|
623 <code class="descname">legend</code><em class="property"> = 'Update gallery properties'</em><a class="headerlink" href="#pyams_content.component.gallery.zmi.GalleryPropertiesEditForm.legend" title="Permalink to this definition">¶</a></dt> |
|
624 <dd></dd></dl> |
|
625 |
|
626 <dl class="method"> |
|
627 <dt id="pyams_content.component.gallery.zmi.GalleryPropertiesEditForm.updateWidgets"> |
|
628 <code class="descname">updateWidgets</code><span class="sig-paren">(</span><em>prefix=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.GalleryPropertiesEditForm.updateWidgets" title="Permalink to this definition">¶</a></dt> |
|
629 <dd></dd></dl> |
|
630 |
|
631 </dd></dl> |
|
632 |
|
633 <dl class="function"> |
|
634 <dt id="pyams_content.component.gallery.zmi.get_images_archive"> |
|
635 <code class="descclassname">pyams_content.component.gallery.zmi.</code><code class="descname">get_images_archive</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.get_images_archive" title="Permalink to this definition">¶</a></dt> |
|
636 <dd><p>Get all gallery images as ZIP file</p> |
|
637 </dd></dl> |
|
638 |
|
639 <dl class="function"> |
|
640 <dt id="pyams_content.component.gallery.zmi.set_image_visibility"> |
|
641 <code class="descclassname">pyams_content.component.gallery.zmi.</code><code class="descname">set_image_visibility</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.set_image_visibility" title="Permalink to this definition">¶</a></dt> |
|
642 <dd><p>Set gallery image visibility</p> |
|
643 </dd></dl> |
|
644 |
|
645 <dl class="function"> |
|
646 <dt id="pyams_content.component.gallery.zmi.set_images_order"> |
|
647 <code class="descclassname">pyams_content.component.gallery.zmi.</code><code class="descname">set_images_order</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.gallery.zmi.set_images_order" title="Permalink to this definition">¶</a></dt> |
|
648 <dd><p>Set gallery images order</p> |
|
649 </dd></dl> |
|
650 |
|
651 </div> |
|
652 </div> |
|
653 |
|
654 |
|
655 </div> |
|
656 </div> |
|
657 </div> |
|
658 <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> |
|
659 <div class="sphinxsidebarwrapper"> |
|
660 <h3><a href="index.html">Table Of Contents</a></h3> |
|
661 <ul> |
|
662 <li><a class="reference internal" href="#">pyams_content.component.gallery.zmi package</a><ul> |
|
663 <li><a class="reference internal" href="#submodules">Submodules</a></li> |
|
664 <li><a class="reference internal" href="#module-pyams_content.component.gallery.zmi.file">pyams_content.component.gallery.zmi.file module</a></li> |
|
665 <li><a class="reference internal" href="#module-pyams_content.component.gallery.zmi.interfaces">pyams_content.component.gallery.zmi.interfaces module</a></li> |
|
666 <li><a class="reference internal" href="#module-pyams_content.component.gallery.zmi.paragraph">pyams_content.component.gallery.zmi.paragraph module</a></li> |
|
667 <li><a class="reference internal" href="#module-pyams_content.component.gallery.zmi">Module contents</a></li> |
|
668 </ul> |
|
669 </li> |
|
670 </ul> |
|
671 |
|
672 <div id="searchbox" style="display: none" role="search"> |
|
673 <h3>Quick search</h3> |
|
674 <form class="search" action="search.html" method="get"> |
|
675 <div><input type="text" name="q" /></div> |
|
676 <div><input type="submit" value="Go" /></div> |
|
677 <input type="hidden" name="check_keywords" value="yes" /> |
|
678 <input type="hidden" name="area" value="default" /> |
|
679 </form> |
|
680 </div> |
|
681 <script type="text/javascript">$('#searchbox').show(0);</script> |
|
682 </div> |
|
683 </div> |
|
684 <div class="clearer"></div> |
|
685 </div> |
|
686 <div class="related" role="navigation" aria-label="related navigation"> |
|
687 <h3>Navigation</h3> |
|
688 <ul> |
|
689 <li class="right" style="margin-right: 10px"> |
|
690 <a href="genindex.html" title="General Index" |
|
691 >index</a></li> |
|
692 <li class="right" > |
|
693 <a href="py-modindex.html" title="Python Module Index" |
|
694 >modules</a> |</li> |
|
695 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
696 </ul> |
|
697 </div> |
|
698 <div class="footer" role="contentinfo"> |
|
699 © Copyright 2017, Thierry Florac. |
|
700 Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5. |
|
701 </div> |
|
702 </body> |
|
703 </html> |