|
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 skin utilities — 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-skin-utilities"> |
|
54 <span id="pyams-skin"></span><h1>PyAMS skin utilities<a class="headerlink" href="#pyams-skin-utilities" title="Permalink to this headline">¶</a></h1> |
|
55 <div class="section" id="module-pyams_skin"> |
|
56 <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyams_skin" title="Permalink to this headline">¶</a></h2> |
|
57 <dl class="function"> |
|
58 <dt id="pyams_skin.includeme"> |
|
59 <code class="descclassname">pyams_skin.</code><code class="descname">includeme</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.includeme" title="Permalink to this definition">¶</a></dt> |
|
60 <dd><p>Pyramid include</p> |
|
61 </dd></dl> |
|
62 |
|
63 </div> |
|
64 <div class="section" id="subpackages"> |
|
65 <h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to this headline">¶</a></h2> |
|
66 <div class="toctree-wrapper compound"> |
|
67 <ul> |
|
68 <li class="toctree-l1"><a class="reference internal" href="pyams_skin.interfaces.html">pyams_skin.interfaces package</a><ul> |
|
69 <li class="toctree-l2"><a class="reference internal" href="pyams_skin.interfaces.html#submodules">Submodules</a></li> |
|
70 <li class="toctree-l2"><a class="reference internal" href="pyams_skin.interfaces.html#module-pyams_skin.interfaces.configuration">pyams_skin.interfaces.configuration module</a></li> |
|
71 <li class="toctree-l2"><a class="reference internal" href="pyams_skin.interfaces.html#module-pyams_skin.interfaces.container">pyams_skin.interfaces.container module</a></li> |
|
72 <li class="toctree-l2"><a class="reference internal" href="pyams_skin.interfaces.html#module-pyams_skin.interfaces.extension">pyams_skin.interfaces.extension module</a></li> |
|
73 <li class="toctree-l2"><a class="reference internal" href="pyams_skin.interfaces.html#module-pyams_skin.interfaces.metas">pyams_skin.interfaces.metas module</a></li> |
|
74 <li class="toctree-l2"><a class="reference internal" href="pyams_skin.interfaces.html#module-pyams_skin.interfaces.resources">pyams_skin.interfaces.resources module</a></li> |
|
75 <li class="toctree-l2"><a class="reference internal" href="pyams_skin.interfaces.html#module-pyams_skin.interfaces.tinymce">pyams_skin.interfaces.tinymce module</a></li> |
|
76 <li class="toctree-l2"><a class="reference internal" href="pyams_skin.interfaces.html#module-pyams_skin.interfaces.viewlet">pyams_skin.interfaces.viewlet module</a></li> |
|
77 <li class="toctree-l2"><a class="reference internal" href="pyams_skin.interfaces.html#module-pyams_skin.interfaces">Module contents</a></li> |
|
78 </ul> |
|
79 </li> |
|
80 <li class="toctree-l1"><a class="reference internal" href="pyams_skin.tests.html">pyams_skin.tests package</a><ul> |
|
81 <li class="toctree-l2"><a class="reference internal" href="pyams_skin.tests.html#submodules">Submodules</a></li> |
|
82 <li class="toctree-l2"><a class="reference internal" href="pyams_skin.tests.html#module-pyams_skin.tests.test_utilsdocs">pyams_skin.tests.test_utilsdocs module</a></li> |
|
83 <li class="toctree-l2"><a class="reference internal" href="pyams_skin.tests.html#module-pyams_skin.tests.test_utilsdocstrings">pyams_skin.tests.test_utilsdocstrings module</a></li> |
|
84 <li class="toctree-l2"><a class="reference internal" href="pyams_skin.tests.html#module-pyams_skin.tests">Module contents</a></li> |
|
85 </ul> |
|
86 </li> |
|
87 <li class="toctree-l1"><a class="reference internal" href="pyams_skin.viewlet.html">pyams_skin.viewlet package</a><ul> |
|
88 <li class="toctree-l2"><a class="reference internal" href="pyams_skin.viewlet.html#subpackages">Subpackages</a><ul> |
|
89 <li class="toctree-l3"><a class="reference internal" href="pyams_skin.viewlet.activity.html">pyams_skin.viewlet.activity package</a><ul> |
|
90 <li class="toctree-l4"><a class="reference internal" href="pyams_skin.viewlet.activity.html#module-pyams_skin.viewlet.activity">Module contents</a></li> |
|
91 </ul> |
|
92 </li> |
|
93 <li class="toctree-l3"><a class="reference internal" href="pyams_skin.viewlet.breadcrumb.html">pyams_skin.viewlet.breadcrumb package</a><ul> |
|
94 <li class="toctree-l4"><a class="reference internal" href="pyams_skin.viewlet.breadcrumb.html#module-pyams_skin.viewlet.breadcrumb">Module contents</a></li> |
|
95 </ul> |
|
96 </li> |
|
97 <li class="toctree-l3"><a class="reference internal" href="pyams_skin.viewlet.extension.html">pyams_skin.viewlet.extension package</a><ul> |
|
98 <li class="toctree-l4"><a class="reference internal" href="pyams_skin.viewlet.extension.html#submodules">Submodules</a></li> |
|
99 <li class="toctree-l4"><a class="reference internal" href="pyams_skin.viewlet.extension.html#module-pyams_skin.viewlet.extension.analytics">pyams_skin.viewlet.extension.analytics module</a></li> |
|
100 <li class="toctree-l4"><a class="reference internal" href="pyams_skin.viewlet.extension.html#module-pyams_skin.viewlet.extension.tagmanager">pyams_skin.viewlet.extension.tagmanager module</a></li> |
|
101 <li class="toctree-l4"><a class="reference internal" href="pyams_skin.viewlet.extension.html#module-pyams_skin.viewlet.extension.user_report">pyams_skin.viewlet.extension.user_report module</a></li> |
|
102 <li class="toctree-l4"><a class="reference internal" href="pyams_skin.viewlet.extension.html#module-pyams_skin.viewlet.extension">Module contents</a></li> |
|
103 </ul> |
|
104 </li> |
|
105 <li class="toctree-l3"><a class="reference internal" href="pyams_skin.viewlet.flags.html">pyams_skin.viewlet.flags package</a><ul> |
|
106 <li class="toctree-l4"><a class="reference internal" href="pyams_skin.viewlet.flags.html#module-pyams_skin.viewlet.flags">Module contents</a></li> |
|
107 </ul> |
|
108 </li> |
|
109 <li class="toctree-l3"><a class="reference internal" href="pyams_skin.viewlet.menu.html">pyams_skin.viewlet.menu package</a><ul> |
|
110 <li class="toctree-l4"><a class="reference internal" href="pyams_skin.viewlet.menu.html#module-pyams_skin.viewlet.menu">Module contents</a></li> |
|
111 </ul> |
|
112 </li> |
|
113 <li class="toctree-l3"><a class="reference internal" href="pyams_skin.viewlet.search.html">pyams_skin.viewlet.search package</a><ul> |
|
114 <li class="toctree-l4"><a class="reference internal" href="pyams_skin.viewlet.search.html#module-pyams_skin.viewlet.search">Module contents</a></li> |
|
115 </ul> |
|
116 </li> |
|
117 <li class="toctree-l3"><a class="reference internal" href="pyams_skin.viewlet.shortcuts.html">pyams_skin.viewlet.shortcuts package</a><ul> |
|
118 <li class="toctree-l4"><a class="reference internal" href="pyams_skin.viewlet.shortcuts.html#module-pyams_skin.viewlet.shortcuts">Module contents</a></li> |
|
119 </ul> |
|
120 </li> |
|
121 <li class="toctree-l3"><a class="reference internal" href="pyams_skin.viewlet.toolbar.html">pyams_skin.viewlet.toolbar package</a><ul> |
|
122 <li class="toctree-l4"><a class="reference internal" href="pyams_skin.viewlet.toolbar.html#module-pyams_skin.viewlet.toolbar">Module contents</a></li> |
|
123 </ul> |
|
124 </li> |
|
125 <li class="toctree-l3"><a class="reference internal" href="pyams_skin.viewlet.toplinks.html">pyams_skin.viewlet.toplinks package</a><ul> |
|
126 <li class="toctree-l4"><a class="reference internal" href="pyams_skin.viewlet.toplinks.html#module-pyams_skin.viewlet.toplinks">Module contents</a></li> |
|
127 </ul> |
|
128 </li> |
|
129 </ul> |
|
130 </li> |
|
131 <li class="toctree-l2"><a class="reference internal" href="pyams_skin.viewlet.html#module-pyams_skin.viewlet">Module contents</a></li> |
|
132 </ul> |
|
133 </li> |
|
134 </ul> |
|
135 </div> |
|
136 </div> |
|
137 <div class="section" id="submodules"> |
|
138 <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2> |
|
139 <div class="section" id="module-pyams_skin.configuration"> |
|
140 <span id="pyams-skin-configuration-module"></span><h3>pyams_skin.configuration module<a class="headerlink" href="#module-pyams_skin.configuration" title="Permalink to this headline">¶</a></h3> |
|
141 <dl class="class"> |
|
142 <dt id="pyams_skin.configuration.BackOfficeConfiguration"> |
|
143 <em class="property">class </em><code class="descclassname">pyams_skin.configuration.</code><code class="descname">BackOfficeConfiguration</code><a class="headerlink" href="#pyams_skin.configuration.BackOfficeConfiguration" title="Permalink to this definition">¶</a></dt> |
|
144 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">persistent.Persistent</span></code>, <code class="xref py py-class docutils literal"><span class="pre">zope.container.contained.Contained</span></code></p> |
|
145 <p>Back-office manageable configuration</p> |
|
146 <dl class="attribute"> |
|
147 <dt id="pyams_skin.configuration.BackOfficeConfiguration.display_content_icon"> |
|
148 <code class="descname">display_content_icon</code><a class="headerlink" href="#pyams_skin.configuration.BackOfficeConfiguration.display_content_icon" title="Permalink to this definition">¶</a></dt> |
|
149 <dd><p>Computed attributes based on schema fields</p> |
|
150 <p>Field properties provide default values, data validation and error messages |
|
151 based on data found in field meta-data.</p> |
|
152 <p>Note that FieldProperties cannot be used with slots. They can only |
|
153 be used for attributes stored in instance dictionaries.</p> |
|
154 </dd></dl> |
|
155 |
|
156 <dl class="attribute"> |
|
157 <dt id="pyams_skin.configuration.BackOfficeConfiguration.display_shared_tool_title"> |
|
158 <code class="descname">display_shared_tool_title</code><a class="headerlink" href="#pyams_skin.configuration.BackOfficeConfiguration.display_shared_tool_title" title="Permalink to this definition">¶</a></dt> |
|
159 <dd><p>Computed attributes based on schema fields</p> |
|
160 <p>Field properties provide default values, data validation and error messages |
|
161 based on data found in field meta-data.</p> |
|
162 <p>Note that FieldProperties cannot be used with slots. They can only |
|
163 be used for attributes stored in instance dictionaries.</p> |
|
164 </dd></dl> |
|
165 |
|
166 <dl class="staticmethod"> |
|
167 <dt id="pyams_skin.configuration.BackOfficeConfiguration.get_title_prefix"> |
|
168 <em class="property">static </em><code class="descname">get_title_prefix</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.configuration.BackOfficeConfiguration.get_title_prefix" title="Permalink to this definition">¶</a></dt> |
|
169 <dd></dd></dl> |
|
170 |
|
171 <dl class="attribute"> |
|
172 <dt id="pyams_skin.configuration.BackOfficeConfiguration.icon"> |
|
173 <code class="descname">icon</code><a class="headerlink" href="#pyams_skin.configuration.BackOfficeConfiguration.icon" title="Permalink to this definition">¶</a></dt> |
|
174 <dd><p>Property class used to handle files</p> |
|
175 </dd></dl> |
|
176 |
|
177 <dl class="attribute"> |
|
178 <dt id="pyams_skin.configuration.BackOfficeConfiguration.login_footer"> |
|
179 <code class="descname">login_footer</code><a class="headerlink" href="#pyams_skin.configuration.BackOfficeConfiguration.login_footer" title="Permalink to this definition">¶</a></dt> |
|
180 <dd><p>Computed attributes based on schema fields</p> |
|
181 <p>Field properties provide default values, data validation and error messages |
|
182 based on data found in field meta-data.</p> |
|
183 <p>Note that FieldProperties cannot be used with slots. They can only |
|
184 be used for attributes stored in instance dictionaries.</p> |
|
185 </dd></dl> |
|
186 |
|
187 <dl class="attribute"> |
|
188 <dt id="pyams_skin.configuration.BackOfficeConfiguration.login_header"> |
|
189 <code class="descname">login_header</code><a class="headerlink" href="#pyams_skin.configuration.BackOfficeConfiguration.login_header" title="Permalink to this definition">¶</a></dt> |
|
190 <dd><p>Computed attributes based on schema fields</p> |
|
191 <p>Field properties provide default values, data validation and error messages |
|
192 based on data found in field meta-data.</p> |
|
193 <p>Note that FieldProperties cannot be used with slots. They can only |
|
194 be used for attributes stored in instance dictionaries.</p> |
|
195 </dd></dl> |
|
196 |
|
197 <dl class="attribute"> |
|
198 <dt id="pyams_skin.configuration.BackOfficeConfiguration.logo"> |
|
199 <code class="descname">logo</code><a class="headerlink" href="#pyams_skin.configuration.BackOfficeConfiguration.logo" title="Permalink to this definition">¶</a></dt> |
|
200 <dd><p>Property class used to handle files</p> |
|
201 </dd></dl> |
|
202 |
|
203 <dl class="attribute"> |
|
204 <dt id="pyams_skin.configuration.BackOfficeConfiguration.short_title"> |
|
205 <code class="descname">short_title</code><a class="headerlink" href="#pyams_skin.configuration.BackOfficeConfiguration.short_title" title="Permalink to this definition">¶</a></dt> |
|
206 <dd><p>Computed attributes based on schema fields</p> |
|
207 <p>Field properties provide default values, data validation and error messages |
|
208 based on data found in field meta-data.</p> |
|
209 <p>Note that FieldProperties cannot be used with slots. They can only |
|
210 be used for attributes stored in instance dictionaries.</p> |
|
211 </dd></dl> |
|
212 |
|
213 <dl class="attribute"> |
|
214 <dt id="pyams_skin.configuration.BackOfficeConfiguration.title"> |
|
215 <code class="descname">title</code><a class="headerlink" href="#pyams_skin.configuration.BackOfficeConfiguration.title" title="Permalink to this definition">¶</a></dt> |
|
216 <dd><p>Computed attributes based on schema fields</p> |
|
217 <p>Field properties provide default values, data validation and error messages |
|
218 based on data found in field meta-data.</p> |
|
219 <p>Note that FieldProperties cannot be used with slots. They can only |
|
220 be used for attributes stored in instance dictionaries.</p> |
|
221 </dd></dl> |
|
222 |
|
223 </dd></dl> |
|
224 |
|
225 <dl class="function"> |
|
226 <dt id="pyams_skin.configuration.BackOfficeConfigurationFactory"> |
|
227 <code class="descclassname">pyams_skin.configuration.</code><code class="descname">BackOfficeConfigurationFactory</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.configuration.BackOfficeConfigurationFactory" title="Permalink to this definition">¶</a></dt> |
|
228 <dd><p>Back-office configuration factory</p> |
|
229 </dd></dl> |
|
230 |
|
231 <dl class="class"> |
|
232 <dt id="pyams_skin.configuration.BackOfficeConfigurationTalesExtension"> |
|
233 <em class="property">class </em><code class="descclassname">pyams_skin.configuration.</code><code class="descname">BackOfficeConfigurationTalesExtension</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.configuration.BackOfficeConfigurationTalesExtension" title="Permalink to this definition">¶</a></dt> |
|
234 <dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p> |
|
235 <p>extension:back_configuration TALES expression</p> |
|
236 <dl class="method"> |
|
237 <dt id="pyams_skin.configuration.BackOfficeConfigurationTalesExtension.render"> |
|
238 <code class="descname">render</code><span class="sig-paren">(</span><em>context=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.configuration.BackOfficeConfigurationTalesExtension.render" title="Permalink to this definition">¶</a></dt> |
|
239 <dd></dd></dl> |
|
240 |
|
241 </dd></dl> |
|
242 |
|
243 <dl class="class"> |
|
244 <dt id="pyams_skin.configuration.BackOfficeConfigurationTraverser"> |
|
245 <em class="property">class </em><code class="descclassname">pyams_skin.configuration.</code><code class="descname">BackOfficeConfigurationTraverser</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.configuration.BackOfficeConfigurationTraverser" title="Permalink to this definition">¶</a></dt> |
|
246 <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> |
|
247 <p>++back-configuration++ namespace traverser</p> |
|
248 <dl class="method"> |
|
249 <dt id="pyams_skin.configuration.BackOfficeConfigurationTraverser.traverse"> |
|
250 <code class="descname">traverse</code><span class="sig-paren">(</span><em>name</em>, <em>furtherpath=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.configuration.BackOfficeConfigurationTraverser.traverse" title="Permalink to this definition">¶</a></dt> |
|
251 <dd></dd></dl> |
|
252 |
|
253 </dd></dl> |
|
254 |
|
255 <dl class="class"> |
|
256 <dt id="pyams_skin.configuration.Configuration"> |
|
257 <em class="property">class </em><code class="descclassname">pyams_skin.configuration.</code><code class="descname">Configuration</code><a class="headerlink" href="#pyams_skin.configuration.Configuration" title="Permalink to this definition">¶</a></dt> |
|
258 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">persistent.Persistent</span></code>, <code class="xref py py-class docutils literal"><span class="pre">zope.container.contained.Contained</span></code></p> |
|
259 <p>Manageable configuration</p> |
|
260 <dl class="attribute"> |
|
261 <dt id="pyams_skin.configuration.Configuration.author"> |
|
262 <code class="descname">author</code><a class="headerlink" href="#pyams_skin.configuration.Configuration.author" title="Permalink to this definition">¶</a></dt> |
|
263 <dd><p>Computed attributes based on schema fields</p> |
|
264 <p>Field properties provide default values, data validation and error messages |
|
265 based on data found in field meta-data.</p> |
|
266 <p>Note that FieldProperties cannot be used with slots. They can only |
|
267 be used for attributes stored in instance dictionaries.</p> |
|
268 </dd></dl> |
|
269 |
|
270 <dl class="attribute"> |
|
271 <dt id="pyams_skin.configuration.Configuration.description"> |
|
272 <code class="descname">description</code><a class="headerlink" href="#pyams_skin.configuration.Configuration.description" title="Permalink to this definition">¶</a></dt> |
|
273 <dd><p>Computed attributes based on schema fields</p> |
|
274 <p>Field properties provide default values, data validation and error messages |
|
275 based on data found in field meta-data.</p> |
|
276 <p>Note that FieldProperties cannot be used with slots. They can only |
|
277 be used for attributes stored in instance dictionaries.</p> |
|
278 </dd></dl> |
|
279 |
|
280 <dl class="staticmethod"> |
|
281 <dt id="pyams_skin.configuration.Configuration.get_title_prefix"> |
|
282 <em class="property">static </em><code class="descname">get_title_prefix</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.configuration.Configuration.get_title_prefix" title="Permalink to this definition">¶</a></dt> |
|
283 <dd></dd></dl> |
|
284 |
|
285 <dl class="attribute"> |
|
286 <dt id="pyams_skin.configuration.Configuration.icon"> |
|
287 <code class="descname">icon</code><a class="headerlink" href="#pyams_skin.configuration.Configuration.icon" title="Permalink to this definition">¶</a></dt> |
|
288 <dd><p>Property class used to handle files</p> |
|
289 </dd></dl> |
|
290 |
|
291 <dl class="attribute"> |
|
292 <dt id="pyams_skin.configuration.Configuration.logo"> |
|
293 <code class="descname">logo</code><a class="headerlink" href="#pyams_skin.configuration.Configuration.logo" title="Permalink to this definition">¶</a></dt> |
|
294 <dd><p>Property class used to handle files</p> |
|
295 </dd></dl> |
|
296 |
|
297 <dl class="attribute"> |
|
298 <dt id="pyams_skin.configuration.Configuration.short_title"> |
|
299 <code class="descname">short_title</code><a class="headerlink" href="#pyams_skin.configuration.Configuration.short_title" title="Permalink to this definition">¶</a></dt> |
|
300 <dd><p>Computed attributes based on schema fields</p> |
|
301 <p>Field properties provide default values, data validation and error messages |
|
302 based on data found in field meta-data.</p> |
|
303 <p>Note that FieldProperties cannot be used with slots. They can only |
|
304 be used for attributes stored in instance dictionaries.</p> |
|
305 </dd></dl> |
|
306 |
|
307 <dl class="attribute"> |
|
308 <dt id="pyams_skin.configuration.Configuration.title"> |
|
309 <code class="descname">title</code><a class="headerlink" href="#pyams_skin.configuration.Configuration.title" title="Permalink to this definition">¶</a></dt> |
|
310 <dd><p>Computed attributes based on schema fields</p> |
|
311 <p>Field properties provide default values, data validation and error messages |
|
312 based on data found in field meta-data.</p> |
|
313 <p>Note that FieldProperties cannot be used with slots. They can only |
|
314 be used for attributes stored in instance dictionaries.</p> |
|
315 </dd></dl> |
|
316 |
|
317 </dd></dl> |
|
318 |
|
319 <dl class="function"> |
|
320 <dt id="pyams_skin.configuration.ConfigurationFactory"> |
|
321 <code class="descclassname">pyams_skin.configuration.</code><code class="descname">ConfigurationFactory</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.configuration.ConfigurationFactory" title="Permalink to this definition">¶</a></dt> |
|
322 <dd><p>Configuration factory</p> |
|
323 </dd></dl> |
|
324 |
|
325 <dl class="class"> |
|
326 <dt id="pyams_skin.configuration.ConfigurationTalesExtension"> |
|
327 <em class="property">class </em><code class="descclassname">pyams_skin.configuration.</code><code class="descname">ConfigurationTalesExtension</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.configuration.ConfigurationTalesExtension" title="Permalink to this definition">¶</a></dt> |
|
328 <dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p> |
|
329 <p>extension:configuration TALES expression</p> |
|
330 <dl class="method"> |
|
331 <dt id="pyams_skin.configuration.ConfigurationTalesExtension.render"> |
|
332 <code class="descname">render</code><span class="sig-paren">(</span><em>context=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.configuration.ConfigurationTalesExtension.render" title="Permalink to this definition">¶</a></dt> |
|
333 <dd></dd></dl> |
|
334 |
|
335 </dd></dl> |
|
336 |
|
337 <dl class="class"> |
|
338 <dt id="pyams_skin.configuration.ConfigurationTraverser"> |
|
339 <em class="property">class </em><code class="descclassname">pyams_skin.configuration.</code><code class="descname">ConfigurationTraverser</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.configuration.ConfigurationTraverser" title="Permalink to this definition">¶</a></dt> |
|
340 <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> |
|
341 <p>++configuration++ namespace traverser</p> |
|
342 <dl class="method"> |
|
343 <dt id="pyams_skin.configuration.ConfigurationTraverser.traverse"> |
|
344 <code class="descname">traverse</code><span class="sig-paren">(</span><em>name</em>, <em>furtherpath=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.configuration.ConfigurationTraverser.traverse" title="Permalink to this definition">¶</a></dt> |
|
345 <dd></dd></dl> |
|
346 |
|
347 </dd></dl> |
|
348 |
|
349 <dl class="class"> |
|
350 <dt id="pyams_skin.configuration.StaticConfiguration"> |
|
351 <em class="property">class </em><code class="descclassname">pyams_skin.configuration.</code><code class="descname">StaticConfiguration</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration" title="Permalink to this definition">¶</a></dt> |
|
352 <dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p> |
|
353 <p>Default static configuration</p> |
|
354 <dl class="attribute"> |
|
355 <dt id="pyams_skin.configuration.StaticConfiguration.accordion_menus"> |
|
356 <code class="descname">accordion_menus</code><em class="property"> = True</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.accordion_menus" title="Permalink to this definition">¶</a></dt> |
|
357 <dd></dd></dl> |
|
358 |
|
359 <dl class="attribute"> |
|
360 <dt id="pyams_skin.configuration.StaticConfiguration.application_name"> |
|
361 <code class="descname">application_name</code><em class="property"> = 'PyAMS'</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.application_name" title="Permalink to this definition">¶</a></dt> |
|
362 <dd></dd></dl> |
|
363 |
|
364 <dl class="attribute"> |
|
365 <dt id="pyams_skin.configuration.StaticConfiguration.application_package"> |
|
366 <code class="descname">application_package</code><em class="property"> = 'pyams_skin'</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.application_package" title="Permalink to this definition">¶</a></dt> |
|
367 <dd></dd></dl> |
|
368 |
|
369 <dl class="attribute"> |
|
370 <dt id="pyams_skin.configuration.StaticConfiguration.body_css_class"> |
|
371 <code class="descname">body_css_class</code><em class="property"> = 'fixed-header fixed-ribbon fixed-navigation'</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.body_css_class" title="Permalink to this definition">¶</a></dt> |
|
372 <dd></dd></dl> |
|
373 |
|
374 <dl class="attribute"> |
|
375 <dt id="pyams_skin.configuration.StaticConfiguration.include_flags"> |
|
376 <code class="descname">include_flags</code><em class="property"> = False</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.include_flags" title="Permalink to this definition">¶</a></dt> |
|
377 <dd></dd></dl> |
|
378 |
|
379 <dl class="attribute"> |
|
380 <dt id="pyams_skin.configuration.StaticConfiguration.include_header"> |
|
381 <code class="descname">include_header</code><em class="property"> = True</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.include_header" title="Permalink to this definition">¶</a></dt> |
|
382 <dd></dd></dl> |
|
383 |
|
384 <dl class="attribute"> |
|
385 <dt id="pyams_skin.configuration.StaticConfiguration.include_logout_button"> |
|
386 <code class="descname">include_logout_button</code><em class="property"> = True</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.include_logout_button" title="Permalink to this definition">¶</a></dt> |
|
387 <dd></dd></dl> |
|
388 |
|
389 <dl class="attribute"> |
|
390 <dt id="pyams_skin.configuration.StaticConfiguration.include_menus"> |
|
391 <code class="descname">include_menus</code><em class="property"> = True</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.include_menus" title="Permalink to this definition">¶</a></dt> |
|
392 <dd></dd></dl> |
|
393 |
|
394 <dl class="attribute"> |
|
395 <dt id="pyams_skin.configuration.StaticConfiguration.include_minify_button"> |
|
396 <code class="descname">include_minify_button</code><em class="property"> = True</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.include_minify_button" title="Permalink to this definition">¶</a></dt> |
|
397 <dd></dd></dl> |
|
398 |
|
399 <dl class="attribute"> |
|
400 <dt id="pyams_skin.configuration.StaticConfiguration.include_mobile_search"> |
|
401 <code class="descname">include_mobile_search</code><em class="property"> = True</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.include_mobile_search" title="Permalink to this definition">¶</a></dt> |
|
402 <dd></dd></dl> |
|
403 |
|
404 <dl class="attribute"> |
|
405 <dt id="pyams_skin.configuration.StaticConfiguration.include_reload_button"> |
|
406 <code class="descname">include_reload_button</code><em class="property"> = True</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.include_reload_button" title="Permalink to this definition">¶</a></dt> |
|
407 <dd></dd></dl> |
|
408 |
|
409 <dl class="attribute"> |
|
410 <dt id="pyams_skin.configuration.StaticConfiguration.include_ribbon"> |
|
411 <code class="descname">include_ribbon</code><em class="property"> = True</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.include_ribbon" title="Permalink to this definition">¶</a></dt> |
|
412 <dd></dd></dl> |
|
413 |
|
414 <dl class="attribute"> |
|
415 <dt id="pyams_skin.configuration.StaticConfiguration.include_site_search"> |
|
416 <code class="descname">include_site_search</code><em class="property"> = True</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.include_site_search" title="Permalink to this definition">¶</a></dt> |
|
417 <dd></dd></dl> |
|
418 |
|
419 <dl class="attribute"> |
|
420 <dt id="pyams_skin.configuration.StaticConfiguration.include_top_links"> |
|
421 <code class="descname">include_top_links</code><em class="property"> = True</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.include_top_links" title="Permalink to this definition">¶</a></dt> |
|
422 <dd></dd></dl> |
|
423 |
|
424 <dl class="attribute"> |
|
425 <dt id="pyams_skin.configuration.StaticConfiguration.include_user_activity"> |
|
426 <code class="descname">include_user_activity</code><em class="property"> = True</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.include_user_activity" title="Permalink to this definition">¶</a></dt> |
|
427 <dd></dd></dl> |
|
428 |
|
429 <dl class="attribute"> |
|
430 <dt id="pyams_skin.configuration.StaticConfiguration.include_user_shortcuts"> |
|
431 <code class="descname">include_user_shortcuts</code><em class="property"> = True</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.include_user_shortcuts" title="Permalink to this definition">¶</a></dt> |
|
432 <dd></dd></dl> |
|
433 |
|
434 <dl class="attribute"> |
|
435 <dt id="pyams_skin.configuration.StaticConfiguration.inner_package"> |
|
436 <code class="descname">inner_package</code><em class="property"> = None</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.inner_package" title="Permalink to this definition">¶</a></dt> |
|
437 <dd></dd></dl> |
|
438 |
|
439 <dl class="attribute"> |
|
440 <dt id="pyams_skin.configuration.StaticConfiguration.inner_package_name"> |
|
441 <code class="descname">inner_package_name</code><em class="property"> = None</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.inner_package_name" title="Permalink to this definition">¶</a></dt> |
|
442 <dd></dd></dl> |
|
443 |
|
444 <dl class="attribute"> |
|
445 <dt id="pyams_skin.configuration.StaticConfiguration.mobile_search_handler"> |
|
446 <code class="descname">mobile_search_handler</code><em class="property"> = '#search.html'</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.mobile_search_handler" title="Permalink to this definition">¶</a></dt> |
|
447 <dd></dd></dl> |
|
448 |
|
449 <dl class="attribute"> |
|
450 <dt id="pyams_skin.configuration.StaticConfiguration.mobile_search_placeholder"> |
|
451 <code class="descname">mobile_search_placeholder</code><em class="property"> = 'Search...'</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.mobile_search_placeholder" title="Permalink to this definition">¶</a></dt> |
|
452 <dd></dd></dl> |
|
453 |
|
454 <dl class="attribute"> |
|
455 <dt id="pyams_skin.configuration.StaticConfiguration.site_search_handler"> |
|
456 <code class="descname">site_search_handler</code><em class="property"> = '#search.html'</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.site_search_handler" title="Permalink to this definition">¶</a></dt> |
|
457 <dd></dd></dl> |
|
458 |
|
459 <dl class="attribute"> |
|
460 <dt id="pyams_skin.configuration.StaticConfiguration.site_search_placeholder"> |
|
461 <code class="descname">site_search_placeholder</code><em class="property"> = 'Search...'</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.site_search_placeholder" title="Permalink to this definition">¶</a></dt> |
|
462 <dd></dd></dl> |
|
463 |
|
464 <dl class="attribute"> |
|
465 <dt id="pyams_skin.configuration.StaticConfiguration.version"> |
|
466 <code class="descname">version</code><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.version" title="Permalink to this definition">¶</a></dt> |
|
467 <dd></dd></dl> |
|
468 |
|
469 <dl class="attribute"> |
|
470 <dt id="pyams_skin.configuration.StaticConfiguration.version_location"> |
|
471 <code class="descname">version_location</code><em class="property"> = 'menus'</em><a class="headerlink" href="#pyams_skin.configuration.StaticConfiguration.version_location" title="Permalink to this definition">¶</a></dt> |
|
472 <dd></dd></dl> |
|
473 |
|
474 </dd></dl> |
|
475 |
|
476 <dl class="class"> |
|
477 <dt id="pyams_skin.configuration.StaticConfigurationTalesExtension"> |
|
478 <em class="property">class </em><code class="descclassname">pyams_skin.configuration.</code><code class="descname">StaticConfigurationTalesExtension</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.configuration.StaticConfigurationTalesExtension" title="Permalink to this definition">¶</a></dt> |
|
479 <dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p> |
|
480 <p>extension:static_configuration TALES expression</p> |
|
481 <dl class="method"> |
|
482 <dt id="pyams_skin.configuration.StaticConfigurationTalesExtension.render"> |
|
483 <code class="descname">render</code><span class="sig-paren">(</span><em>context=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.configuration.StaticConfigurationTalesExtension.render" title="Permalink to this definition">¶</a></dt> |
|
484 <dd></dd></dl> |
|
485 |
|
486 </dd></dl> |
|
487 |
|
488 <dl class="function"> |
|
489 <dt id="pyams_skin.configuration.back_office_site_icon"> |
|
490 <code class="descclassname">pyams_skin.configuration.</code><code class="descname">back_office_site_icon</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.configuration.back_office_site_icon" title="Permalink to this definition">¶</a></dt> |
|
491 <dd></dd></dl> |
|
492 |
|
493 <dl class="function"> |
|
494 <dt id="pyams_skin.configuration.site_icon"> |
|
495 <code class="descclassname">pyams_skin.configuration.</code><code class="descname">site_icon</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.configuration.site_icon" title="Permalink to this definition">¶</a></dt> |
|
496 <dd></dd></dl> |
|
497 |
|
498 </div> |
|
499 <div class="section" id="module-pyams_skin.container"> |
|
500 <span id="pyams-skin-container-module"></span><h3>pyams_skin.container module<a class="headerlink" href="#module-pyams_skin.container" title="Permalink to this headline">¶</a></h3> |
|
501 <dl class="class"> |
|
502 <dt id="pyams_skin.container.ContainerView"> |
|
503 <em class="property">class </em><code class="descclassname">pyams_skin.container.</code><code class="descname">ContainerView</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.container.ContainerView" title="Permalink to this definition">¶</a></dt> |
|
504 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
505 <p>Base container view</p> |
|
506 <dl class="attribute"> |
|
507 <dt id="pyams_skin.container.ContainerView.table_class"> |
|
508 <code class="descname">table_class</code><a class="headerlink" href="#pyams_skin.container.ContainerView.table_class" title="Permalink to this definition">¶</a></dt> |
|
509 <dd><p>alias of <code class="xref py py-class docutils literal"><span class="pre">BaseTable</span></code></p> |
|
510 </dd></dl> |
|
511 |
|
512 <dl class="method"> |
|
513 <dt id="pyams_skin.container.ContainerView.update"> |
|
514 <code class="descname">update</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.container.ContainerView.update" title="Permalink to this definition">¶</a></dt> |
|
515 <dd></dd></dl> |
|
516 |
|
517 </dd></dl> |
|
518 |
|
519 <dl class="function"> |
|
520 <dt id="pyams_skin.container.delete_container_element"> |
|
521 <code class="descclassname">pyams_skin.container.</code><code class="descname">delete_container_element</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.container.delete_container_element" title="Permalink to this definition">¶</a></dt> |
|
522 <dd><p>Delete container element</p> |
|
523 </dd></dl> |
|
524 |
|
525 </div> |
|
526 <div class="section" id="module-pyams_skin.extension"> |
|
527 <span id="pyams-skin-extension-module"></span><h3>pyams_skin.extension module<a class="headerlink" href="#module-pyams_skin.extension" title="Permalink to this headline">¶</a></h3> |
|
528 <dl class="class"> |
|
529 <dt id="pyams_skin.extension.GoogleAnalyticsInfo"> |
|
530 <em class="property">class </em><code class="descclassname">pyams_skin.extension.</code><code class="descname">GoogleAnalyticsInfo</code><a class="headerlink" href="#pyams_skin.extension.GoogleAnalyticsInfo" title="Permalink to this definition">¶</a></dt> |
|
531 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">persistent.Persistent</span></code></p> |
|
532 <p>Google Analytics settings class</p> |
|
533 <dl class="attribute"> |
|
534 <dt id="pyams_skin.extension.GoogleAnalyticsInfo.activation_mode"> |
|
535 <code class="descname">activation_mode</code><a class="headerlink" href="#pyams_skin.extension.GoogleAnalyticsInfo.activation_mode" title="Permalink to this definition">¶</a></dt> |
|
536 <dd><p>Computed attributes based on schema fields</p> |
|
537 <p>Field properties provide default values, data validation and error messages |
|
538 based on data found in field meta-data.</p> |
|
539 <p>Note that FieldProperties cannot be used with slots. They can only |
|
540 be used for attributes stored in instance dictionaries.</p> |
|
541 </dd></dl> |
|
542 |
|
543 <dl class="attribute"> |
|
544 <dt id="pyams_skin.extension.GoogleAnalyticsInfo.enabled"> |
|
545 <code class="descname">enabled</code><a class="headerlink" href="#pyams_skin.extension.GoogleAnalyticsInfo.enabled" title="Permalink to this definition">¶</a></dt> |
|
546 <dd><p>Computed attributes based on schema fields</p> |
|
547 <p>Field properties provide default values, data validation and error messages |
|
548 based on data found in field meta-data.</p> |
|
549 <p>Note that FieldProperties cannot be used with slots. They can only |
|
550 be used for attributes stored in instance dictionaries.</p> |
|
551 </dd></dl> |
|
552 |
|
553 <dl class="attribute"> |
|
554 <dt id="pyams_skin.extension.GoogleAnalyticsInfo.verification_code"> |
|
555 <code class="descname">verification_code</code><a class="headerlink" href="#pyams_skin.extension.GoogleAnalyticsInfo.verification_code" title="Permalink to this definition">¶</a></dt> |
|
556 <dd><p>Computed attributes based on schema fields</p> |
|
557 <p>Field properties provide default values, data validation and error messages |
|
558 based on data found in field meta-data.</p> |
|
559 <p>Note that FieldProperties cannot be used with slots. They can only |
|
560 be used for attributes stored in instance dictionaries.</p> |
|
561 </dd></dl> |
|
562 |
|
563 <dl class="attribute"> |
|
564 <dt id="pyams_skin.extension.GoogleAnalyticsInfo.website_id"> |
|
565 <code class="descname">website_id</code><a class="headerlink" href="#pyams_skin.extension.GoogleAnalyticsInfo.website_id" title="Permalink to this definition">¶</a></dt> |
|
566 <dd><p>Computed attributes based on schema fields</p> |
|
567 <p>Field properties provide default values, data validation and error messages |
|
568 based on data found in field meta-data.</p> |
|
569 <p>Note that FieldProperties cannot be used with slots. They can only |
|
570 be used for attributes stored in instance dictionaries.</p> |
|
571 </dd></dl> |
|
572 |
|
573 </dd></dl> |
|
574 |
|
575 <dl class="function"> |
|
576 <dt id="pyams_skin.extension.GoogleAnalyticsInfoFactory"> |
|
577 <code class="descclassname">pyams_skin.extension.</code><code class="descname">GoogleAnalyticsInfoFactory</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.extension.GoogleAnalyticsInfoFactory" title="Permalink to this definition">¶</a></dt> |
|
578 <dd><p>Google Analytics settings factory</p> |
|
579 </dd></dl> |
|
580 |
|
581 <dl class="class"> |
|
582 <dt id="pyams_skin.extension.GoogleTagManagerInfo"> |
|
583 <em class="property">class </em><code class="descclassname">pyams_skin.extension.</code><code class="descname">GoogleTagManagerInfo</code><a class="headerlink" href="#pyams_skin.extension.GoogleTagManagerInfo" title="Permalink to this definition">¶</a></dt> |
|
584 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">persistent.Persistent</span></code></p> |
|
585 <p>Google tag manager settings class</p> |
|
586 <dl class="attribute"> |
|
587 <dt id="pyams_skin.extension.GoogleTagManagerInfo.activation_mode"> |
|
588 <code class="descname">activation_mode</code><a class="headerlink" href="#pyams_skin.extension.GoogleTagManagerInfo.activation_mode" title="Permalink to this definition">¶</a></dt> |
|
589 <dd><p>Computed attributes based on schema fields</p> |
|
590 <p>Field properties provide default values, data validation and error messages |
|
591 based on data found in field meta-data.</p> |
|
592 <p>Note that FieldProperties cannot be used with slots. They can only |
|
593 be used for attributes stored in instance dictionaries.</p> |
|
594 </dd></dl> |
|
595 |
|
596 <dl class="attribute"> |
|
597 <dt id="pyams_skin.extension.GoogleTagManagerInfo.container_id"> |
|
598 <code class="descname">container_id</code><a class="headerlink" href="#pyams_skin.extension.GoogleTagManagerInfo.container_id" title="Permalink to this definition">¶</a></dt> |
|
599 <dd><p>Computed attributes based on schema fields</p> |
|
600 <p>Field properties provide default values, data validation and error messages |
|
601 based on data found in field meta-data.</p> |
|
602 <p>Note that FieldProperties cannot be used with slots. They can only |
|
603 be used for attributes stored in instance dictionaries.</p> |
|
604 </dd></dl> |
|
605 |
|
606 <dl class="attribute"> |
|
607 <dt id="pyams_skin.extension.GoogleTagManagerInfo.enabled"> |
|
608 <code class="descname">enabled</code><a class="headerlink" href="#pyams_skin.extension.GoogleTagManagerInfo.enabled" title="Permalink to this definition">¶</a></dt> |
|
609 <dd><p>Computed attributes based on schema fields</p> |
|
610 <p>Field properties provide default values, data validation and error messages |
|
611 based on data found in field meta-data.</p> |
|
612 <p>Note that FieldProperties cannot be used with slots. They can only |
|
613 be used for attributes stored in instance dictionaries.</p> |
|
614 </dd></dl> |
|
615 |
|
616 </dd></dl> |
|
617 |
|
618 <dl class="function"> |
|
619 <dt id="pyams_skin.extension.GoogleTagManagerInfoFactory"> |
|
620 <code class="descclassname">pyams_skin.extension.</code><code class="descname">GoogleTagManagerInfoFactory</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.extension.GoogleTagManagerInfoFactory" title="Permalink to this definition">¶</a></dt> |
|
621 <dd><p>Google Tag Manager settings factory</p> |
|
622 </dd></dl> |
|
623 |
|
624 <dl class="class"> |
|
625 <dt id="pyams_skin.extension.UserReportInfo"> |
|
626 <em class="property">class </em><code class="descclassname">pyams_skin.extension.</code><code class="descname">UserReportInfo</code><a class="headerlink" href="#pyams_skin.extension.UserReportInfo" title="Permalink to this definition">¶</a></dt> |
|
627 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">persistent.Persistent</span></code></p> |
|
628 <p>User report settings class</p> |
|
629 <dl class="attribute"> |
|
630 <dt id="pyams_skin.extension.UserReportInfo.account_id"> |
|
631 <code class="descname">account_id</code><a class="headerlink" href="#pyams_skin.extension.UserReportInfo.account_id" title="Permalink to this definition">¶</a></dt> |
|
632 <dd><p>Computed attributes based on schema fields</p> |
|
633 <p>Field properties provide default values, data validation and error messages |
|
634 based on data found in field meta-data.</p> |
|
635 <p>Note that FieldProperties cannot be used with slots. They can only |
|
636 be used for attributes stored in instance dictionaries.</p> |
|
637 </dd></dl> |
|
638 |
|
639 <dl class="attribute"> |
|
640 <dt id="pyams_skin.extension.UserReportInfo.activation_mode"> |
|
641 <code class="descname">activation_mode</code><a class="headerlink" href="#pyams_skin.extension.UserReportInfo.activation_mode" title="Permalink to this definition">¶</a></dt> |
|
642 <dd><p>Computed attributes based on schema fields</p> |
|
643 <p>Field properties provide default values, data validation and error messages |
|
644 based on data found in field meta-data.</p> |
|
645 <p>Note that FieldProperties cannot be used with slots. They can only |
|
646 be used for attributes stored in instance dictionaries.</p> |
|
647 </dd></dl> |
|
648 |
|
649 <dl class="attribute"> |
|
650 <dt id="pyams_skin.extension.UserReportInfo.enabled"> |
|
651 <code class="descname">enabled</code><a class="headerlink" href="#pyams_skin.extension.UserReportInfo.enabled" title="Permalink to this definition">¶</a></dt> |
|
652 <dd><p>Computed attributes based on schema fields</p> |
|
653 <p>Field properties provide default values, data validation and error messages |
|
654 based on data found in field meta-data.</p> |
|
655 <p>Note that FieldProperties cannot be used with slots. They can only |
|
656 be used for attributes stored in instance dictionaries.</p> |
|
657 </dd></dl> |
|
658 |
|
659 </dd></dl> |
|
660 |
|
661 <dl class="function"> |
|
662 <dt id="pyams_skin.extension.UserReportInfoFactory"> |
|
663 <code class="descclassname">pyams_skin.extension.</code><code class="descname">UserReportInfoFactory</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.extension.UserReportInfoFactory" title="Permalink to this definition">¶</a></dt> |
|
664 <dd><p>User report settings factory</p> |
|
665 </dd></dl> |
|
666 |
|
667 </div> |
|
668 <div class="section" id="module-pyams_skin.help"> |
|
669 <span id="pyams-skin-help-module"></span><h3>pyams_skin.help module<a class="headerlink" href="#module-pyams_skin.help" title="Permalink to this headline">¶</a></h3> |
|
670 <dl class="class"> |
|
671 <dt id="pyams_skin.help.ContentHelp"> |
|
672 <em class="property">class </em><code class="descclassname">pyams_skin.help.</code><code class="descname">ContentHelp</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.help.ContentHelp" title="Permalink to this definition">¶</a></dt> |
|
673 <dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p> |
|
674 <p>Content help</p> |
|
675 <dl class="attribute"> |
|
676 <dt id="pyams_skin.help.ContentHelp.header"> |
|
677 <code class="descname">header</code><a class="headerlink" href="#pyams_skin.help.ContentHelp.header" title="Permalink to this definition">¶</a></dt> |
|
678 <dd><p>Computed attributes based on schema fields</p> |
|
679 <p>Field properties provide default values, data validation and error messages |
|
680 based on data found in field meta-data.</p> |
|
681 <p>Note that FieldProperties cannot be used with slots. They can only |
|
682 be used for attributes stored in instance dictionaries.</p> |
|
683 </dd></dl> |
|
684 |
|
685 <dl class="attribute"> |
|
686 <dt id="pyams_skin.help.ContentHelp.message"> |
|
687 <code class="descname">message</code><a class="headerlink" href="#pyams_skin.help.ContentHelp.message" title="Permalink to this definition">¶</a></dt> |
|
688 <dd><p>Computed attributes based on schema fields</p> |
|
689 <p>Field properties provide default values, data validation and error messages |
|
690 based on data found in field meta-data.</p> |
|
691 <p>Note that FieldProperties cannot be used with slots. They can only |
|
692 be used for attributes stored in instance dictionaries.</p> |
|
693 </dd></dl> |
|
694 |
|
695 <dl class="attribute"> |
|
696 <dt id="pyams_skin.help.ContentHelp.message_format"> |
|
697 <code class="descname">message_format</code><a class="headerlink" href="#pyams_skin.help.ContentHelp.message_format" title="Permalink to this definition">¶</a></dt> |
|
698 <dd><p>Computed attributes based on schema fields</p> |
|
699 <p>Field properties provide default values, data validation and error messages |
|
700 based on data found in field meta-data.</p> |
|
701 <p>Note that FieldProperties cannot be used with slots. They can only |
|
702 be used for attributes stored in instance dictionaries.</p> |
|
703 </dd></dl> |
|
704 |
|
705 <dl class="attribute"> |
|
706 <dt id="pyams_skin.help.ContentHelp.outer_margin"> |
|
707 <code class="descname">outer_margin</code><a class="headerlink" href="#pyams_skin.help.ContentHelp.outer_margin" title="Permalink to this definition">¶</a></dt> |
|
708 <dd><p>Computed attributes based on schema fields</p> |
|
709 <p>Field properties provide default values, data validation and error messages |
|
710 based on data found in field meta-data.</p> |
|
711 <p>Note that FieldProperties cannot be used with slots. They can only |
|
712 be used for attributes stored in instance dictionaries.</p> |
|
713 </dd></dl> |
|
714 |
|
715 <dl class="attribute"> |
|
716 <dt id="pyams_skin.help.ContentHelp.status"> |
|
717 <code class="descname">status</code><a class="headerlink" href="#pyams_skin.help.ContentHelp.status" title="Permalink to this definition">¶</a></dt> |
|
718 <dd><p>Computed attributes based on schema fields</p> |
|
719 <p>Field properties provide default values, data validation and error messages |
|
720 based on data found in field meta-data.</p> |
|
721 <p>Note that FieldProperties cannot be used with slots. They can only |
|
722 be used for attributes stored in instance dictionaries.</p> |
|
723 </dd></dl> |
|
724 |
|
725 </dd></dl> |
|
726 |
|
727 <dl class="class"> |
|
728 <dt id="pyams_skin.help.HelpContentProvider"> |
|
729 <em class="property">class </em><code class="descclassname">pyams_skin.help.</code><code class="descname">HelpContentProvider</code><a class="headerlink" href="#pyams_skin.help.HelpContentProvider" title="Permalink to this definition">¶</a></dt> |
|
730 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
731 <p>Help content provider</p> |
|
732 <dl class="attribute"> |
|
733 <dt id="pyams_skin.help.HelpContentProvider.help"> |
|
734 <code class="descname">help</code><em class="property"> = None</em><a class="headerlink" href="#pyams_skin.help.HelpContentProvider.help" title="Permalink to this definition">¶</a></dt> |
|
735 <dd></dd></dl> |
|
736 |
|
737 <dl class="method"> |
|
738 <dt id="pyams_skin.help.HelpContentProvider.update"> |
|
739 <code class="descname">update</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.help.HelpContentProvider.update" title="Permalink to this definition">¶</a></dt> |
|
740 <dd></dd></dl> |
|
741 |
|
742 </dd></dl> |
|
743 |
|
744 <dl class="class"> |
|
745 <dt id="pyams_skin.help.HelpRenderer"> |
|
746 <em class="property">class </em><code class="descclassname">pyams_skin.help.</code><code class="descname">HelpRenderer</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.help.HelpRenderer" title="Permalink to this definition">¶</a></dt> |
|
747 <dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p> |
|
748 <p>Help renderer</p> |
|
749 <dl class="method"> |
|
750 <dt id="pyams_skin.help.HelpRenderer.render"> |
|
751 <code class="descname">render</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.help.HelpRenderer.render" title="Permalink to this definition">¶</a></dt> |
|
752 <dd></dd></dl> |
|
753 |
|
754 </dd></dl> |
|
755 |
|
756 </div> |
|
757 <div class="section" id="module-pyams_skin.layer"> |
|
758 <span id="pyams-skin-layer-module"></span><h3>pyams_skin.layer module<a class="headerlink" href="#module-pyams_skin.layer" title="Permalink to this headline">¶</a></h3> |
|
759 </div> |
|
760 <div class="section" id="module-pyams_skin.metas"> |
|
761 <span id="pyams-skin-metas-module"></span><h3>pyams_skin.metas module<a class="headerlink" href="#module-pyams_skin.metas" title="Permalink to this headline">¶</a></h3> |
|
762 <dl class="class"> |
|
763 <dt id="pyams_skin.metas.ContentMeta"> |
|
764 <em class="property">class </em><code class="descclassname">pyams_skin.metas.</code><code class="descname">ContentMeta</code><span class="sig-paren">(</span><em>name</em>, <em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.metas.ContentMeta" title="Permalink to this definition">¶</a></dt> |
|
765 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
766 <p>Content meta header</p> |
|
767 <dl class="method"> |
|
768 <dt id="pyams_skin.metas.ContentMeta.render"> |
|
769 <code class="descname">render</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.metas.ContentMeta.render" title="Permalink to this definition">¶</a></dt> |
|
770 <dd></dd></dl> |
|
771 |
|
772 </dd></dl> |
|
773 |
|
774 <dl class="class"> |
|
775 <dt id="pyams_skin.metas.ContentTypeMetasAdapter"> |
|
776 <em class="property">class </em><code class="descclassname">pyams_skin.metas.</code><code class="descname">ContentTypeMetasAdapter</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.metas.ContentTypeMetasAdapter" title="Permalink to this definition">¶</a></dt> |
|
777 <dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p> |
|
778 <p>Content-type metas adapter</p> |
|
779 <dl class="staticmethod"> |
|
780 <dt id="pyams_skin.metas.ContentTypeMetasAdapter.get_metas"> |
|
781 <em class="property">static </em><code class="descname">get_metas</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.metas.ContentTypeMetasAdapter.get_metas" title="Permalink to this definition">¶</a></dt> |
|
782 <dd></dd></dl> |
|
783 |
|
784 <dl class="attribute"> |
|
785 <dt id="pyams_skin.metas.ContentTypeMetasAdapter.order"> |
|
786 <code class="descname">order</code><em class="property"> = 10</em><a class="headerlink" href="#pyams_skin.metas.ContentTypeMetasAdapter.order" title="Permalink to this definition">¶</a></dt> |
|
787 <dd></dd></dl> |
|
788 |
|
789 </dd></dl> |
|
790 |
|
791 <dl class="class"> |
|
792 <dt id="pyams_skin.metas.HTTPEquivMeta"> |
|
793 <em class="property">class </em><code class="descclassname">pyams_skin.metas.</code><code class="descname">HTTPEquivMeta</code><span class="sig-paren">(</span><em>http_equiv</em>, <em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.metas.HTTPEquivMeta" title="Permalink to this definition">¶</a></dt> |
|
794 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
795 <p>HTTP-Equiv meta header</p> |
|
796 <dl class="method"> |
|
797 <dt id="pyams_skin.metas.HTTPEquivMeta.render"> |
|
798 <code class="descname">render</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.metas.HTTPEquivMeta.render" title="Permalink to this definition">¶</a></dt> |
|
799 <dd></dd></dl> |
|
800 |
|
801 </dd></dl> |
|
802 |
|
803 <dl class="class"> |
|
804 <dt id="pyams_skin.metas.LayoutMetasAdapter"> |
|
805 <em class="property">class </em><code class="descclassname">pyams_skin.metas.</code><code class="descname">LayoutMetasAdapter</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.metas.LayoutMetasAdapter" title="Permalink to this definition">¶</a></dt> |
|
806 <dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p> |
|
807 <p>Basic layout metas adapter</p> |
|
808 <dl class="staticmethod"> |
|
809 <dt id="pyams_skin.metas.LayoutMetasAdapter.get_metas"> |
|
810 <em class="property">static </em><code class="descname">get_metas</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.metas.LayoutMetasAdapter.get_metas" title="Permalink to this definition">¶</a></dt> |
|
811 <dd></dd></dl> |
|
812 |
|
813 <dl class="attribute"> |
|
814 <dt id="pyams_skin.metas.LayoutMetasAdapter.order"> |
|
815 <code class="descname">order</code><em class="property"> = -1</em><a class="headerlink" href="#pyams_skin.metas.LayoutMetasAdapter.order" title="Permalink to this definition">¶</a></dt> |
|
816 <dd></dd></dl> |
|
817 |
|
818 </dd></dl> |
|
819 |
|
820 <dl class="class"> |
|
821 <dt id="pyams_skin.metas.LinkMeta"> |
|
822 <em class="property">class </em><code class="descclassname">pyams_skin.metas.</code><code class="descname">LinkMeta</code><span class="sig-paren">(</span><em>rel</em>, <em>type</em>, <em>href</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.metas.LinkMeta" title="Permalink to this definition">¶</a></dt> |
|
823 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
824 <p>Link meta header</p> |
|
825 <dl class="method"> |
|
826 <dt id="pyams_skin.metas.LinkMeta.render"> |
|
827 <code class="descname">render</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.metas.LinkMeta.render" title="Permalink to this definition">¶</a></dt> |
|
828 <dd></dd></dl> |
|
829 |
|
830 </dd></dl> |
|
831 |
|
832 <dl class="class"> |
|
833 <dt id="pyams_skin.metas.MetasTalesExtension"> |
|
834 <em class="property">class </em><code class="descclassname">pyams_skin.metas.</code><code class="descname">MetasTalesExtension</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.metas.MetasTalesExtension" title="Permalink to this definition">¶</a></dt> |
|
835 <dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p> |
|
836 <p>extension:metas TALES extension</p> |
|
837 <dl class="method"> |
|
838 <dt id="pyams_skin.metas.MetasTalesExtension.render"> |
|
839 <code class="descname">render</code><span class="sig-paren">(</span><em>context=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.metas.MetasTalesExtension.render" title="Permalink to this definition">¶</a></dt> |
|
840 <dd></dd></dl> |
|
841 |
|
842 </dd></dl> |
|
843 |
|
844 <dl class="class"> |
|
845 <dt id="pyams_skin.metas.PropertyMeta"> |
|
846 <em class="property">class </em><code class="descclassname">pyams_skin.metas.</code><code class="descname">PropertyMeta</code><span class="sig-paren">(</span><em>property</em>, <em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.metas.PropertyMeta" title="Permalink to this definition">¶</a></dt> |
|
847 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
848 <p>Property meta header</p> |
|
849 <dl class="method"> |
|
850 <dt id="pyams_skin.metas.PropertyMeta.render"> |
|
851 <code class="descname">render</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.metas.PropertyMeta.render" title="Permalink to this definition">¶</a></dt> |
|
852 <dd></dd></dl> |
|
853 |
|
854 </dd></dl> |
|
855 |
|
856 <dl class="class"> |
|
857 <dt id="pyams_skin.metas.ValueMeta"> |
|
858 <em class="property">class </em><code class="descclassname">pyams_skin.metas.</code><code class="descname">ValueMeta</code><span class="sig-paren">(</span><em>name</em>, <em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.metas.ValueMeta" title="Permalink to this definition">¶</a></dt> |
|
859 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
860 <p>Basic value meta header</p> |
|
861 <dl class="method"> |
|
862 <dt id="pyams_skin.metas.ValueMeta.render"> |
|
863 <code class="descname">render</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.metas.ValueMeta.render" title="Permalink to this definition">¶</a></dt> |
|
864 <dd></dd></dl> |
|
865 |
|
866 </dd></dl> |
|
867 |
|
868 <dl class="class"> |
|
869 <dt id="pyams_skin.metas.VerificationCodeMetasAdapter"> |
|
870 <em class="property">class </em><code class="descclassname">pyams_skin.metas.</code><code class="descname">VerificationCodeMetasAdapter</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.metas.VerificationCodeMetasAdapter" title="Permalink to this definition">¶</a></dt> |
|
871 <dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p> |
|
872 <p>Google verification code metas adapter</p> |
|
873 <dl class="method"> |
|
874 <dt id="pyams_skin.metas.VerificationCodeMetasAdapter.get_metas"> |
|
875 <code class="descname">get_metas</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.metas.VerificationCodeMetasAdapter.get_metas" title="Permalink to this definition">¶</a></dt> |
|
876 <dd></dd></dl> |
|
877 |
|
878 <dl class="attribute"> |
|
879 <dt id="pyams_skin.metas.VerificationCodeMetasAdapter.order"> |
|
880 <code class="descname">order</code><em class="property"> = 20</em><a class="headerlink" href="#pyams_skin.metas.VerificationCodeMetasAdapter.order" title="Permalink to this definition">¶</a></dt> |
|
881 <dd></dd></dl> |
|
882 |
|
883 </dd></dl> |
|
884 |
|
885 </div> |
|
886 <div class="section" id="module-pyams_skin.page"> |
|
887 <span id="pyams-skin-page-module"></span><h3>pyams_skin.page module<a class="headerlink" href="#module-pyams_skin.page" title="Permalink to this headline">¶</a></h3> |
|
888 <dl class="class"> |
|
889 <dt id="pyams_skin.page.DefaultPageHeaderAdapter"> |
|
890 <em class="property">class </em><code class="descclassname">pyams_skin.page.</code><code class="descname">DefaultPageHeaderAdapter</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.page.DefaultPageHeaderAdapter" title="Permalink to this definition">¶</a></dt> |
|
891 <dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p> |
|
892 <p>Default page header adapter</p> |
|
893 <dl class="attribute"> |
|
894 <dt id="pyams_skin.page.DefaultPageHeaderAdapter.back_target"> |
|
895 <code class="descname">back_target</code><em class="property"> = None</em><a class="headerlink" href="#pyams_skin.page.DefaultPageHeaderAdapter.back_target" title="Permalink to this definition">¶</a></dt> |
|
896 <dd></dd></dl> |
|
897 |
|
898 <dl class="attribute"> |
|
899 <dt id="pyams_skin.page.DefaultPageHeaderAdapter.back_url"> |
|
900 <code class="descname">back_url</code><em class="property"> = None</em><a class="headerlink" href="#pyams_skin.page.DefaultPageHeaderAdapter.back_url" title="Permalink to this definition">¶</a></dt> |
|
901 <dd></dd></dl> |
|
902 |
|
903 <dl class="attribute"> |
|
904 <dt id="pyams_skin.page.DefaultPageHeaderAdapter.icon_class"> |
|
905 <code class="descname">icon_class</code><em class="property"> = 'fa fa-fw'</em><a class="headerlink" href="#pyams_skin.page.DefaultPageHeaderAdapter.icon_class" title="Permalink to this definition">¶</a></dt> |
|
906 <dd></dd></dl> |
|
907 |
|
908 <dl class="attribute"> |
|
909 <dt id="pyams_skin.page.DefaultPageHeaderAdapter.subtitle"> |
|
910 <code class="descname">subtitle</code><em class="property"> = None</em><a class="headerlink" href="#pyams_skin.page.DefaultPageHeaderAdapter.subtitle" title="Permalink to this definition">¶</a></dt> |
|
911 <dd></dd></dl> |
|
912 |
|
913 <dl class="attribute"> |
|
914 <dt id="pyams_skin.page.DefaultPageHeaderAdapter.subtitle_badge"> |
|
915 <code class="descname">subtitle_badge</code><em class="property"> = None</em><a class="headerlink" href="#pyams_skin.page.DefaultPageHeaderAdapter.subtitle_badge" title="Permalink to this definition">¶</a></dt> |
|
916 <dd></dd></dl> |
|
917 |
|
918 <dl class="attribute"> |
|
919 <dt id="pyams_skin.page.DefaultPageHeaderAdapter.subtitle_badge_class"> |
|
920 <code class="descname">subtitle_badge_class</code><em class="property"> = 'badge inbox-badge bg-color-red'</em><a class="headerlink" href="#pyams_skin.page.DefaultPageHeaderAdapter.subtitle_badge_class" title="Permalink to this definition">¶</a></dt> |
|
921 <dd></dd></dl> |
|
922 |
|
923 <dl class="attribute"> |
|
924 <dt id="pyams_skin.page.DefaultPageHeaderAdapter.title"> |
|
925 <code class="descname">title</code><a class="headerlink" href="#pyams_skin.page.DefaultPageHeaderAdapter.title" title="Permalink to this definition">¶</a></dt> |
|
926 <dd></dd></dl> |
|
927 |
|
928 <dl class="attribute"> |
|
929 <dt id="pyams_skin.page.DefaultPageHeaderAdapter.title_badge"> |
|
930 <code class="descname">title_badge</code><em class="property"> = None</em><a class="headerlink" href="#pyams_skin.page.DefaultPageHeaderAdapter.title_badge" title="Permalink to this definition">¶</a></dt> |
|
931 <dd></dd></dl> |
|
932 |
|
933 <dl class="attribute"> |
|
934 <dt id="pyams_skin.page.DefaultPageHeaderAdapter.title_badge_class"> |
|
935 <code class="descname">title_badge_class</code><em class="property"> = 'badge inbox-badge bg-color-red'</em><a class="headerlink" href="#pyams_skin.page.DefaultPageHeaderAdapter.title_badge_class" title="Permalink to this definition">¶</a></dt> |
|
936 <dd></dd></dl> |
|
937 |
|
938 </dd></dl> |
|
939 |
|
940 <dl class="class"> |
|
941 <dt id="pyams_skin.page.HeaderContentProvider"> |
|
942 <em class="property">class </em><code class="descclassname">pyams_skin.page.</code><code class="descname">HeaderContentProvider</code><a class="headerlink" href="#pyams_skin.page.HeaderContentProvider" title="Permalink to this definition">¶</a></dt> |
|
943 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
944 <p>Header content provider</p> |
|
945 <dl class="attribute"> |
|
946 <dt id="pyams_skin.page.HeaderContentProvider.header"> |
|
947 <code class="descname">header</code><em class="property"> = None</em><a class="headerlink" href="#pyams_skin.page.HeaderContentProvider.header" title="Permalink to this definition">¶</a></dt> |
|
948 <dd></dd></dl> |
|
949 |
|
950 <dl class="method"> |
|
951 <dt id="pyams_skin.page.HeaderContentProvider.update"> |
|
952 <code class="descname">update</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.page.HeaderContentProvider.update" title="Permalink to this definition">¶</a></dt> |
|
953 <dd></dd></dl> |
|
954 |
|
955 </dd></dl> |
|
956 |
|
957 <dl class="class"> |
|
958 <dt id="pyams_skin.page.InnerPage"> |
|
959 <em class="property">class </em><code class="descclassname">pyams_skin.page.</code><code class="descname">InnerPage</code><a class="headerlink" href="#pyams_skin.page.InnerPage" title="Permalink to this definition">¶</a></dt> |
|
960 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
961 <p>Inner page</p> |
|
962 </dd></dl> |
|
963 |
|
964 <dl class="class"> |
|
965 <dt id="pyams_skin.page.ModalPage"> |
|
966 <em class="property">class </em><code class="descclassname">pyams_skin.page.</code><code class="descname">ModalPage</code><a class="headerlink" href="#pyams_skin.page.ModalPage" title="Permalink to this definition">¶</a></dt> |
|
967 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
968 <p>Modal page</p> |
|
969 </dd></dl> |
|
970 |
|
971 </div> |
|
972 <div class="section" id="module-pyams_skin.resources"> |
|
973 <span id="pyams-skin-resources-module"></span><h3>pyams_skin.resources module<a class="headerlink" href="#module-pyams_skin.resources" title="Permalink to this headline">¶</a></h3> |
|
974 <dl class="class"> |
|
975 <dt id="pyams_skin.resources.ResourcesAdapter"> |
|
976 <em class="property">class </em><code class="descclassname">pyams_skin.resources.</code><code class="descname">ResourcesAdapter</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.resources.ResourcesAdapter" title="Permalink to this definition">¶</a></dt> |
|
977 <dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p> |
|
978 <p>Get context resources</p> |
|
979 <dl class="method"> |
|
980 <dt id="pyams_skin.resources.ResourcesAdapter.get_resources"> |
|
981 <code class="descname">get_resources</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.resources.ResourcesAdapter.get_resources" title="Permalink to this definition">¶</a></dt> |
|
982 <dd></dd></dl> |
|
983 |
|
984 </dd></dl> |
|
985 |
|
986 <dl class="class"> |
|
987 <dt id="pyams_skin.resources.ResourcesTalesExtension"> |
|
988 <em class="property">class </em><code class="descclassname">pyams_skin.resources.</code><code class="descname">ResourcesTalesExtension</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.resources.ResourcesTalesExtension" title="Permalink to this definition">¶</a></dt> |
|
989 <dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p> |
|
990 <p>extension:resources TALES extension</p> |
|
991 <dl class="method"> |
|
992 <dt id="pyams_skin.resources.ResourcesTalesExtension.render"> |
|
993 <code class="descname">render</code><span class="sig-paren">(</span><em>context=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.resources.ResourcesTalesExtension.render" title="Permalink to this definition">¶</a></dt> |
|
994 <dd></dd></dl> |
|
995 |
|
996 </dd></dl> |
|
997 |
|
998 </div> |
|
999 <div class="section" id="module-pyams_skin.site"> |
|
1000 <span id="pyams-skin-site-module"></span><h3>pyams_skin.site module<a class="headerlink" href="#module-pyams_skin.site" title="Permalink to this headline">¶</a></h3> |
|
1001 <dl class="class"> |
|
1002 <dt id="pyams_skin.site.ContextTitlePrefixAdapter"> |
|
1003 <em class="property">class </em><code class="descclassname">pyams_skin.site.</code><code class="descname">ContextTitlePrefixAdapter</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.site.ContextTitlePrefixAdapter" title="Permalink to this definition">¶</a></dt> |
|
1004 <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> |
|
1005 <p>Context title prefix adapter</p> |
|
1006 <dl class="attribute"> |
|
1007 <dt id="pyams_skin.site.ContextTitlePrefixAdapter.prefix"> |
|
1008 <code class="descname">prefix</code><a class="headerlink" href="#pyams_skin.site.ContextTitlePrefixAdapter.prefix" title="Permalink to this definition">¶</a></dt> |
|
1009 <dd></dd></dl> |
|
1010 |
|
1011 </dd></dl> |
|
1012 |
|
1013 </div> |
|
1014 <div class="section" id="module-pyams_skin.skin"> |
|
1015 <span id="pyams-skin-skin-module"></span><h3>pyams_skin.skin module<a class="headerlink" href="#module-pyams_skin.skin" title="Permalink to this headline">¶</a></h3> |
|
1016 <dl class="class"> |
|
1017 <dt id="pyams_skin.skin.PyAMSSkin"> |
|
1018 <em class="property">class </em><code class="descclassname">pyams_skin.skin.</code><code class="descname">PyAMSSkin</code><a class="headerlink" href="#pyams_skin.skin.PyAMSSkin" title="Permalink to this definition">¶</a></dt> |
|
1019 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
1020 <p>PyAMS base skin</p> |
|
1021 <dl class="attribute"> |
|
1022 <dt id="pyams_skin.skin.PyAMSSkin.label"> |
|
1023 <code class="descname">label</code><em class="property"> = 'PyAMS base skin'</em><a class="headerlink" href="#pyams_skin.skin.PyAMSSkin.label" title="Permalink to this definition">¶</a></dt> |
|
1024 <dd></dd></dl> |
|
1025 |
|
1026 <dl class="attribute"> |
|
1027 <dt id="pyams_skin.skin.PyAMSSkin.layer"> |
|
1028 <code class="descname">layer</code><em class="property"> = <InterfaceClass pyams_skin.layer.IPyAMSLayer></em><a class="headerlink" href="#pyams_skin.skin.PyAMSSkin.layer" title="Permalink to this definition">¶</a></dt> |
|
1029 <dd></dd></dl> |
|
1030 |
|
1031 </dd></dl> |
|
1032 |
|
1033 <dl class="class"> |
|
1034 <dt id="pyams_skin.skin.SkinnableContent"> |
|
1035 <em class="property">class </em><code class="descclassname">pyams_skin.skin.</code><code class="descname">SkinnableContent</code><a class="headerlink" href="#pyams_skin.skin.SkinnableContent" title="Permalink to this definition">¶</a></dt> |
|
1036 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
1037 <p>Skinnable content base class</p> |
|
1038 <dl class="attribute"> |
|
1039 <dt id="pyams_skin.skin.SkinnableContent.can_inherit_skin"> |
|
1040 <code class="descname">can_inherit_skin</code><a class="headerlink" href="#pyams_skin.skin.SkinnableContent.can_inherit_skin" title="Permalink to this definition">¶</a></dt> |
|
1041 <dd></dd></dl> |
|
1042 |
|
1043 <dl class="method"> |
|
1044 <dt id="pyams_skin.skin.SkinnableContent.get_skin"> |
|
1045 <code class="descname">get_skin</code><span class="sig-paren">(</span><em>request=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.skin.SkinnableContent.get_skin" title="Permalink to this definition">¶</a></dt> |
|
1046 <dd></dd></dl> |
|
1047 |
|
1048 <dl class="attribute"> |
|
1049 <dt id="pyams_skin.skin.SkinnableContent.inherit_skin"> |
|
1050 <code class="descname">inherit_skin</code><a class="headerlink" href="#pyams_skin.skin.SkinnableContent.inherit_skin" title="Permalink to this definition">¶</a></dt> |
|
1051 <dd></dd></dl> |
|
1052 |
|
1053 <dl class="attribute"> |
|
1054 <dt id="pyams_skin.skin.SkinnableContent.skin"> |
|
1055 <code class="descname">skin</code><a class="headerlink" href="#pyams_skin.skin.SkinnableContent.skin" title="Permalink to this definition">¶</a></dt> |
|
1056 <dd></dd></dl> |
|
1057 |
|
1058 <dl class="attribute"> |
|
1059 <dt id="pyams_skin.skin.SkinnableContent.skin_parent"> |
|
1060 <code class="descname">skin_parent</code><a class="headerlink" href="#pyams_skin.skin.SkinnableContent.skin_parent" title="Permalink to this definition">¶</a></dt> |
|
1061 <dd></dd></dl> |
|
1062 |
|
1063 </dd></dl> |
|
1064 |
|
1065 <dl class="class"> |
|
1066 <dt id="pyams_skin.skin.UserSkinnableContent"> |
|
1067 <em class="property">class </em><code class="descclassname">pyams_skin.skin.</code><code class="descname">UserSkinnableContent</code><a class="headerlink" href="#pyams_skin.skin.UserSkinnableContent" title="Permalink to this definition">¶</a></dt> |
|
1068 <dd><p>Bases: <a class="reference internal" href="#pyams_skin.skin.SkinnableContent" title="pyams_skin.skin.SkinnableContent"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.skin.SkinnableContent</span></code></a></p> |
|
1069 <p>User skinnable content base class</p> |
|
1070 </dd></dl> |
|
1071 |
|
1072 <dl class="function"> |
|
1073 <dt id="pyams_skin.skin.apply_skin"> |
|
1074 <code class="descclassname">pyams_skin.skin.</code><code class="descname">apply_skin</code><span class="sig-paren">(</span><em>request</em>, <em>skin</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.skin.apply_skin" title="Permalink to this definition">¶</a></dt> |
|
1075 <dd><p>Apply given skin to request</p> |
|
1076 </dd></dl> |
|
1077 |
|
1078 <dl class="function"> |
|
1079 <dt id="pyams_skin.skin.handle_content_skin"> |
|
1080 <code class="descclassname">pyams_skin.skin.</code><code class="descname">handle_content_skin</code><span class="sig-paren">(</span><em>event</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.skin.handle_content_skin" title="Permalink to this definition">¶</a></dt> |
|
1081 <dd><p>Apply skin when traversing skinnable object</p> |
|
1082 </dd></dl> |
|
1083 |
|
1084 <dl class="function"> |
|
1085 <dt id="pyams_skin.skin.handle_root_skin"> |
|
1086 <code class="descclassname">pyams_skin.skin.</code><code class="descname">handle_root_skin</code><span class="sig-paren">(</span><em>event</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.skin.handle_root_skin" title="Permalink to this definition">¶</a></dt> |
|
1087 <dd><p>Apply skin when traversing site root</p> |
|
1088 </dd></dl> |
|
1089 |
|
1090 </div> |
|
1091 <div class="section" id="module-pyams_skin.table"> |
|
1092 <span id="pyams-skin-table-module"></span><h3>pyams_skin.table module<a class="headerlink" href="#module-pyams_skin.table" title="Permalink to this headline">¶</a></h3> |
|
1093 <dl class="class"> |
|
1094 <dt id="pyams_skin.table.ActionColumn"> |
|
1095 <em class="property">class </em><code class="descclassname">pyams_skin.table.</code><code class="descname">ActionColumn</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>table</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.ActionColumn" title="Permalink to this definition">¶</a></dt> |
|
1096 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">z3c.table.column.Column</span></code></p> |
|
1097 <p>Base action icon column</p> |
|
1098 <dl class="attribute"> |
|
1099 <dt id="pyams_skin.table.ActionColumn.checker"> |
|
1100 <code class="descname">checker</code><em class="property"> = None</em><a class="headerlink" href="#pyams_skin.table.ActionColumn.checker" title="Permalink to this definition">¶</a></dt> |
|
1101 <dd></dd></dl> |
|
1102 |
|
1103 <dl class="attribute"> |
|
1104 <dt id="pyams_skin.table.ActionColumn.cssClasses"> |
|
1105 <code class="descname">cssClasses</code><em class="property"> = {'th': 'action', 'td': 'action'}</em><a class="headerlink" href="#pyams_skin.table.ActionColumn.cssClasses" title="Permalink to this definition">¶</a></dt> |
|
1106 <dd></dd></dl> |
|
1107 |
|
1108 <dl class="method"> |
|
1109 <dt id="pyams_skin.table.ActionColumn.get_icon"> |
|
1110 <code class="descname">get_icon</code><span class="sig-paren">(</span><em>item</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.ActionColumn.get_icon" title="Permalink to this definition">¶</a></dt> |
|
1111 <dd></dd></dl> |
|
1112 |
|
1113 <dl class="method"> |
|
1114 <dt id="pyams_skin.table.ActionColumn.get_icon_class"> |
|
1115 <code class="descname">get_icon_class</code><span class="sig-paren">(</span><em>item</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.ActionColumn.get_icon_class" title="Permalink to this definition">¶</a></dt> |
|
1116 <dd></dd></dl> |
|
1117 |
|
1118 <dl class="method"> |
|
1119 <dt id="pyams_skin.table.ActionColumn.get_icon_hint"> |
|
1120 <code class="descname">get_icon_hint</code><span class="sig-paren">(</span><em>item</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.ActionColumn.get_icon_hint" title="Permalink to this definition">¶</a></dt> |
|
1121 <dd></dd></dl> |
|
1122 |
|
1123 <dl class="method"> |
|
1124 <dt id="pyams_skin.table.ActionColumn.get_url"> |
|
1125 <code class="descname">get_url</code><span class="sig-paren">(</span><em>item</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.ActionColumn.get_url" title="Permalink to this definition">¶</a></dt> |
|
1126 <dd></dd></dl> |
|
1127 |
|
1128 <dl class="method"> |
|
1129 <dt id="pyams_skin.table.ActionColumn.has_permission"> |
|
1130 <code class="descname">has_permission</code><span class="sig-paren">(</span><em>item</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.ActionColumn.has_permission" title="Permalink to this definition">¶</a></dt> |
|
1131 <dd></dd></dl> |
|
1132 |
|
1133 <dl class="attribute"> |
|
1134 <dt id="pyams_skin.table.ActionColumn.header"> |
|
1135 <code class="descname">header</code><em class="property"> = ''</em><a class="headerlink" href="#pyams_skin.table.ActionColumn.header" title="Permalink to this definition">¶</a></dt> |
|
1136 <dd></dd></dl> |
|
1137 |
|
1138 <dl class="attribute"> |
|
1139 <dt id="pyams_skin.table.ActionColumn.icon_class"> |
|
1140 <code class="descname">icon_class</code><em class="property"> = 'fa fa-fw fa-edit'</em><a class="headerlink" href="#pyams_skin.table.ActionColumn.icon_class" title="Permalink to this definition">¶</a></dt> |
|
1141 <dd></dd></dl> |
|
1142 |
|
1143 <dl class="attribute"> |
|
1144 <dt id="pyams_skin.table.ActionColumn.icon_hint"> |
|
1145 <code class="descname">icon_hint</code><em class="property"> = 'Properties'</em><a class="headerlink" href="#pyams_skin.table.ActionColumn.icon_hint" title="Permalink to this definition">¶</a></dt> |
|
1146 <dd></dd></dl> |
|
1147 |
|
1148 <dl class="attribute"> |
|
1149 <dt id="pyams_skin.table.ActionColumn.modal_target"> |
|
1150 <code class="descname">modal_target</code><em class="property"> = False</em><a class="headerlink" href="#pyams_skin.table.ActionColumn.modal_target" title="Permalink to this definition">¶</a></dt> |
|
1151 <dd></dd></dl> |
|
1152 |
|
1153 <dl class="attribute"> |
|
1154 <dt id="pyams_skin.table.ActionColumn.permission"> |
|
1155 <code class="descname">permission</code><em class="property"> = None</em><a class="headerlink" href="#pyams_skin.table.ActionColumn.permission" title="Permalink to this definition">¶</a></dt> |
|
1156 <dd></dd></dl> |
|
1157 |
|
1158 <dl class="method"> |
|
1159 <dt id="pyams_skin.table.ActionColumn.renderCell"> |
|
1160 <code class="descname">renderCell</code><span class="sig-paren">(</span><em>item</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.ActionColumn.renderCell" title="Permalink to this definition">¶</a></dt> |
|
1161 <dd></dd></dl> |
|
1162 |
|
1163 <dl class="attribute"> |
|
1164 <dt id="pyams_skin.table.ActionColumn.target"> |
|
1165 <code class="descname">target</code><em class="property"> = '#content'</em><a class="headerlink" href="#pyams_skin.table.ActionColumn.target" title="Permalink to this definition">¶</a></dt> |
|
1166 <dd></dd></dl> |
|
1167 |
|
1168 <dl class="attribute"> |
|
1169 <dt id="pyams_skin.table.ActionColumn.url"> |
|
1170 <code class="descname">url</code><em class="property"> = '#'</em><a class="headerlink" href="#pyams_skin.table.ActionColumn.url" title="Permalink to this definition">¶</a></dt> |
|
1171 <dd></dd></dl> |
|
1172 |
|
1173 </dd></dl> |
|
1174 |
|
1175 <dl class="class"> |
|
1176 <dt id="pyams_skin.table.BaseTable"> |
|
1177 <em class="property">class </em><code class="descclassname">pyams_skin.table.</code><code class="descname">BaseTable</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.BaseTable" title="Permalink to this definition">¶</a></dt> |
|
1178 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">z3c.table.table.Table</span></code></p> |
|
1179 <p>Custom table</p> |
|
1180 <dl class="attribute"> |
|
1181 <dt id="pyams_skin.table.BaseTable.batchSize"> |
|
1182 <code class="descname">batchSize</code><em class="property"> = 10000</em><a class="headerlink" href="#pyams_skin.table.BaseTable.batchSize" title="Permalink to this definition">¶</a></dt> |
|
1183 <dd></dd></dl> |
|
1184 |
|
1185 <dl class="staticmethod"> |
|
1186 <dt id="pyams_skin.table.BaseTable.check_data_attribute"> |
|
1187 <em class="property">static </em><code class="descname">check_data_attribute</code><span class="sig-paren">(</span><em>attribute</em>, <em>source</em>, <em>column=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.BaseTable.check_data_attribute" title="Permalink to this definition">¶</a></dt> |
|
1188 <dd></dd></dl> |
|
1189 |
|
1190 <dl class="attribute"> |
|
1191 <dt id="pyams_skin.table.BaseTable.cssClasses"> |
|
1192 <code class="descname">cssClasses</code><em class="property"> = {'table': 'table table-bordered table-striped table-hover table-tight datatable'}</em><a class="headerlink" href="#pyams_skin.table.BaseTable.cssClasses" title="Permalink to this definition">¶</a></dt> |
|
1193 <dd></dd></dl> |
|
1194 |
|
1195 <dl class="attribute"> |
|
1196 <dt id="pyams_skin.table.BaseTable.data_attributes"> |
|
1197 <code class="descname">data_attributes</code><a class="headerlink" href="#pyams_skin.table.BaseTable.data_attributes" title="Permalink to this definition">¶</a></dt> |
|
1198 <dd></dd></dl> |
|
1199 |
|
1200 <dl class="method"> |
|
1201 <dt id="pyams_skin.table.BaseTable.getBatchSize"> |
|
1202 <code class="descname">getBatchSize</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.BaseTable.getBatchSize" title="Permalink to this definition">¶</a></dt> |
|
1203 <dd></dd></dl> |
|
1204 |
|
1205 <dl class="method"> |
|
1206 <dt id="pyams_skin.table.BaseTable.getBatchStart"> |
|
1207 <code class="descname">getBatchStart</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.BaseTable.getBatchStart" title="Permalink to this definition">¶</a></dt> |
|
1208 <dd></dd></dl> |
|
1209 |
|
1210 <dl class="method"> |
|
1211 <dt id="pyams_skin.table.BaseTable.getSortOn"> |
|
1212 <code class="descname">getSortOn</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.BaseTable.getSortOn" title="Permalink to this definition">¶</a></dt> |
|
1213 <dd></dd></dl> |
|
1214 |
|
1215 <dl class="method"> |
|
1216 <dt id="pyams_skin.table.BaseTable.getSortOrder"> |
|
1217 <code class="descname">getSortOrder</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.BaseTable.getSortOrder" title="Permalink to this definition">¶</a></dt> |
|
1218 <dd></dd></dl> |
|
1219 |
|
1220 <dl class="staticmethod"> |
|
1221 <dt id="pyams_skin.table.BaseTable.get_column_type"> |
|
1222 <em class="property">static </em><code class="descname">get_column_type</code><span class="sig-paren">(</span><em>column</em>, <em>_=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.BaseTable.get_column_type" title="Permalink to this definition">¶</a></dt> |
|
1223 <dd></dd></dl> |
|
1224 |
|
1225 <dl class="method"> |
|
1226 <dt id="pyams_skin.table.BaseTable.get_data_attributes"> |
|
1227 <code class="descname">get_data_attributes</code><span class="sig-paren">(</span><em>element</em>, <em>source</em>, <em>column=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.BaseTable.get_data_attributes" title="Permalink to this definition">¶</a></dt> |
|
1228 <dd></dd></dl> |
|
1229 |
|
1230 <dl class="attribute"> |
|
1231 <dt id="pyams_skin.table.BaseTable.id"> |
|
1232 <code class="descname">id</code><em class="property"> = 'TableID'</em><a class="headerlink" href="#pyams_skin.table.BaseTable.id" title="Permalink to this definition">¶</a></dt> |
|
1233 <dd></dd></dl> |
|
1234 |
|
1235 <dl class="attribute"> |
|
1236 <dt id="pyams_skin.table.BaseTable.render"> |
|
1237 <code class="descname">render</code><em class="property"> = <BoundViewTemplate of None></em><a class="headerlink" href="#pyams_skin.table.BaseTable.render" title="Permalink to this definition">¶</a></dt> |
|
1238 <dd></dd></dl> |
|
1239 |
|
1240 <dl class="method"> |
|
1241 <dt id="pyams_skin.table.BaseTable.renderCell"> |
|
1242 <code class="descname">renderCell</code><span class="sig-paren">(</span><em>item</em>, <em>column</em>, <em>colspan=0</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.BaseTable.renderCell" title="Permalink to this definition">¶</a></dt> |
|
1243 <dd></dd></dl> |
|
1244 |
|
1245 <dl class="method"> |
|
1246 <dt id="pyams_skin.table.BaseTable.renderHeadCell"> |
|
1247 <code class="descname">renderHeadCell</code><span class="sig-paren">(</span><em>column</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.BaseTable.renderHeadCell" title="Permalink to this definition">¶</a></dt> |
|
1248 <dd></dd></dl> |
|
1249 |
|
1250 <dl class="method"> |
|
1251 <dt id="pyams_skin.table.BaseTable.renderRow"> |
|
1252 <code class="descname">renderRow</code><span class="sig-paren">(</span><em>row</em>, <em>cssClass=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.BaseTable.renderRow" title="Permalink to this definition">¶</a></dt> |
|
1253 <dd></dd></dl> |
|
1254 |
|
1255 <dl class="method"> |
|
1256 <dt id="pyams_skin.table.BaseTable.renderTable"> |
|
1257 <code class="descname">renderTable</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.BaseTable.renderTable" title="Permalink to this definition">¶</a></dt> |
|
1258 <dd></dd></dl> |
|
1259 |
|
1260 <dl class="attribute"> |
|
1261 <dt id="pyams_skin.table.BaseTable.startBatchingAt"> |
|
1262 <code class="descname">startBatchingAt</code><em class="property"> = 10000</em><a class="headerlink" href="#pyams_skin.table.BaseTable.startBatchingAt" title="Permalink to this definition">¶</a></dt> |
|
1263 <dd></dd></dl> |
|
1264 |
|
1265 <dl class="attribute"> |
|
1266 <dt id="pyams_skin.table.BaseTable.title"> |
|
1267 <code class="descname">title</code><em class="property"> = 'Container elements'</em><a class="headerlink" href="#pyams_skin.table.BaseTable.title" title="Permalink to this definition">¶</a></dt> |
|
1268 <dd></dd></dl> |
|
1269 |
|
1270 </dd></dl> |
|
1271 |
|
1272 <dl class="class"> |
|
1273 <dt id="pyams_skin.table.ContainerValuesAdapter"> |
|
1274 <em class="property">class </em><code class="descclassname">pyams_skin.table.</code><code class="descname">ContainerValuesAdapter</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.ContainerValuesAdapter" title="Permalink to this definition">¶</a></dt> |
|
1275 <dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p> |
|
1276 <p>Default container values adapter</p> |
|
1277 <dl class="attribute"> |
|
1278 <dt id="pyams_skin.table.ContainerValuesAdapter.values"> |
|
1279 <code class="descname">values</code><a class="headerlink" href="#pyams_skin.table.ContainerValuesAdapter.values" title="Permalink to this definition">¶</a></dt> |
|
1280 <dd></dd></dl> |
|
1281 |
|
1282 </dd></dl> |
|
1283 |
|
1284 <dl class="class"> |
|
1285 <dt id="pyams_skin.table.DefaultElementEditorAdapter"> |
|
1286 <em class="property">class </em><code class="descclassname">pyams_skin.table.</code><code class="descname">DefaultElementEditorAdapter</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.DefaultElementEditorAdapter" title="Permalink to this definition">¶</a></dt> |
|
1287 <dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p> |
|
1288 <p>Default contained element editor</p> |
|
1289 <dl class="attribute"> |
|
1290 <dt id="pyams_skin.table.DefaultElementEditorAdapter.modal_target"> |
|
1291 <code class="descname">modal_target</code><em class="property"> = True</em><a class="headerlink" href="#pyams_skin.table.DefaultElementEditorAdapter.modal_target" title="Permalink to this definition">¶</a></dt> |
|
1292 <dd></dd></dl> |
|
1293 |
|
1294 <dl class="attribute"> |
|
1295 <dt id="pyams_skin.table.DefaultElementEditorAdapter.url"> |
|
1296 <code class="descname">url</code><a class="headerlink" href="#pyams_skin.table.DefaultElementEditorAdapter.url" title="Permalink to this definition">¶</a></dt> |
|
1297 <dd></dd></dl> |
|
1298 |
|
1299 <dl class="attribute"> |
|
1300 <dt id="pyams_skin.table.DefaultElementEditorAdapter.view_name"> |
|
1301 <code class="descname">view_name</code><em class="property"> = 'properties.html'</em><a class="headerlink" href="#pyams_skin.table.DefaultElementEditorAdapter.view_name" title="Permalink to this definition">¶</a></dt> |
|
1302 <dd></dd></dl> |
|
1303 |
|
1304 </dd></dl> |
|
1305 |
|
1306 <dl class="class"> |
|
1307 <dt id="pyams_skin.table.I18nColumn"> |
|
1308 <em class="property">class </em><code class="descclassname">pyams_skin.table.</code><code class="descname">I18nColumn</code><a class="headerlink" href="#pyams_skin.table.I18nColumn" title="Permalink to this definition">¶</a></dt> |
|
1309 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
1310 <p>Column with I18n header</p> |
|
1311 <dl class="attribute"> |
|
1312 <dt id="pyams_skin.table.I18nColumn.header"> |
|
1313 <code class="descname">header</code><a class="headerlink" href="#pyams_skin.table.I18nColumn.header" title="Permalink to this definition">¶</a></dt> |
|
1314 <dd></dd></dl> |
|
1315 |
|
1316 <dl class="attribute"> |
|
1317 <dt id="pyams_skin.table.I18nColumn.request"> |
|
1318 <code class="descname">request</code><em class="property"> = None</em><a class="headerlink" href="#pyams_skin.table.I18nColumn.request" title="Permalink to this definition">¶</a></dt> |
|
1319 <dd></dd></dl> |
|
1320 |
|
1321 </dd></dl> |
|
1322 |
|
1323 <dl class="class"> |
|
1324 <dt id="pyams_skin.table.I18nValueColumn"> |
|
1325 <em class="property">class </em><code class="descclassname">pyams_skin.table.</code><code class="descname">I18nValueColumn</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>table</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.I18nValueColumn" title="Permalink to this definition">¶</a></dt> |
|
1326 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">z3c.table.column.GetAttrColumn</span></code></p> |
|
1327 <p>Column with I18n value</p> |
|
1328 <dl class="method"> |
|
1329 <dt id="pyams_skin.table.I18nValueColumn.getValue"> |
|
1330 <code class="descname">getValue</code><span class="sig-paren">(</span><em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.I18nValueColumn.getValue" title="Permalink to this definition">¶</a></dt> |
|
1331 <dd></dd></dl> |
|
1332 |
|
1333 </dd></dl> |
|
1334 |
|
1335 <dl class="class"> |
|
1336 <dt id="pyams_skin.table.ImageColumn"> |
|
1337 <em class="property">class </em><code class="descclassname">pyams_skin.table.</code><code class="descname">ImageColumn</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>table</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.ImageColumn" title="Permalink to this definition">¶</a></dt> |
|
1338 <dd><p>Bases: <a class="reference internal" href="#pyams_skin.table.ActionColumn" title="pyams_skin.table.ActionColumn"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.table.ActionColumn</span></code></a></p> |
|
1339 <p>Simple image column</p> |
|
1340 <dl class="method"> |
|
1341 <dt id="pyams_skin.table.ImageColumn.renderCell"> |
|
1342 <code class="descname">renderCell</code><span class="sig-paren">(</span><em>item</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.ImageColumn.renderCell" title="Permalink to this definition">¶</a></dt> |
|
1343 <dd></dd></dl> |
|
1344 |
|
1345 </dd></dl> |
|
1346 |
|
1347 <dl class="class"> |
|
1348 <dt id="pyams_skin.table.JsActionColumn"> |
|
1349 <em class="property">class </em><code class="descclassname">pyams_skin.table.</code><code class="descname">JsActionColumn</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>table</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.JsActionColumn" title="Permalink to this definition">¶</a></dt> |
|
1350 <dd><p>Bases: <a class="reference internal" href="#pyams_skin.table.ActionColumn" title="pyams_skin.table.ActionColumn"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.table.ActionColumn</span></code></a></p> |
|
1351 <p>Javascript function caller action column</p> |
|
1352 <dl class="method"> |
|
1353 <dt id="pyams_skin.table.JsActionColumn.get_url"> |
|
1354 <code class="descname">get_url</code><span class="sig-paren">(</span><em>item</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.JsActionColumn.get_url" title="Permalink to this definition">¶</a></dt> |
|
1355 <dd></dd></dl> |
|
1356 |
|
1357 </dd></dl> |
|
1358 |
|
1359 <dl class="class"> |
|
1360 <dt id="pyams_skin.table.MenuActionsColumn"> |
|
1361 <em class="property">class </em><code class="descclassname">pyams_skin.table.</code><code class="descname">MenuActionsColumn</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>table</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.MenuActionsColumn" title="Permalink to this definition">¶</a></dt> |
|
1362 <dd><p>Bases: <a class="reference internal" href="#pyams_skin.table.I18nColumn" title="pyams_skin.table.I18nColumn"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.table.I18nColumn</span></code></a>, <code class="xref py py-class docutils literal"><span class="pre">z3c.table.column.Column</span></code></p> |
|
1363 <p>Menu actions column</p> |
|
1364 <dl class="attribute"> |
|
1365 <dt id="pyams_skin.table.MenuActionsColumn.cssClasses"> |
|
1366 <code class="descname">cssClasses</code><em class="property"> = {'th': 'actions-menu', 'td': 'nowrap'}</em><a class="headerlink" href="#pyams_skin.table.MenuActionsColumn.cssClasses" title="Permalink to this definition">¶</a></dt> |
|
1367 <dd></dd></dl> |
|
1368 |
|
1369 <dl class="method"> |
|
1370 <dt id="pyams_skin.table.MenuActionsColumn.renderCell"> |
|
1371 <code class="descname">renderCell</code><span class="sig-paren">(</span><em>item</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.MenuActionsColumn.renderCell" title="Permalink to this definition">¶</a></dt> |
|
1372 <dd></dd></dl> |
|
1373 |
|
1374 <dl class="attribute"> |
|
1375 <dt id="pyams_skin.table.MenuActionsColumn.weight"> |
|
1376 <code class="descname">weight</code><em class="property"> = 9000</em><a class="headerlink" href="#pyams_skin.table.MenuActionsColumn.weight" title="Permalink to this definition">¶</a></dt> |
|
1377 <dd></dd></dl> |
|
1378 |
|
1379 </dd></dl> |
|
1380 |
|
1381 <dl class="class"> |
|
1382 <dt id="pyams_skin.table.NameColumn"> |
|
1383 <em class="property">class </em><code class="descclassname">pyams_skin.table.</code><code class="descname">NameColumn</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>table</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.NameColumn" title="Permalink to this definition">¶</a></dt> |
|
1384 <dd><p>Bases: <a class="reference internal" href="#pyams_skin.table.I18nColumn" title="pyams_skin.table.I18nColumn"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.table.I18nColumn</span></code></a>, <code class="xref py py-class docutils literal"><span class="pre">z3c.table.column.GetAttrColumn</span></code></p> |
|
1385 <p>Container name column</p> |
|
1386 <dl class="attribute"> |
|
1387 <dt id="pyams_skin.table.NameColumn.attrName"> |
|
1388 <code class="descname">attrName</code><em class="property"> = '__name__'</em><a class="headerlink" href="#pyams_skin.table.NameColumn.attrName" title="Permalink to this definition">¶</a></dt> |
|
1389 <dd></dd></dl> |
|
1390 |
|
1391 <dl class="attribute"> |
|
1392 <dt id="pyams_skin.table.NameColumn.dt_sort_type"> |
|
1393 <code class="descname">dt_sort_type</code><em class="property"> = 'string'</em><a class="headerlink" href="#pyams_skin.table.NameColumn.dt_sort_type" title="Permalink to this definition">¶</a></dt> |
|
1394 <dd></dd></dl> |
|
1395 |
|
1396 <dl class="method"> |
|
1397 <dt id="pyams_skin.table.NameColumn.getValue"> |
|
1398 <code class="descname">getValue</code><span class="sig-paren">(</span><em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.NameColumn.getValue" title="Permalink to this definition">¶</a></dt> |
|
1399 <dd></dd></dl> |
|
1400 |
|
1401 <dl class="attribute"> |
|
1402 <dt id="pyams_skin.table.NameColumn.weight"> |
|
1403 <code class="descname">weight</code><em class="property"> = 10</em><a class="headerlink" href="#pyams_skin.table.NameColumn.weight" title="Permalink to this definition">¶</a></dt> |
|
1404 <dd></dd></dl> |
|
1405 |
|
1406 </dd></dl> |
|
1407 |
|
1408 <dl class="class"> |
|
1409 <dt id="pyams_skin.table.SorterColumn"> |
|
1410 <em class="property">class </em><code class="descclassname">pyams_skin.table.</code><code class="descname">SorterColumn</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>table</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.SorterColumn" title="Permalink to this definition">¶</a></dt> |
|
1411 <dd><p>Bases: <a class="reference internal" href="#pyams_skin.table.ActionColumn" title="pyams_skin.table.ActionColumn"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.table.ActionColumn</span></code></a></p> |
|
1412 <p>Rows sorter column</p> |
|
1413 <dl class="attribute"> |
|
1414 <dt id="pyams_skin.table.SorterColumn.cssClasses"> |
|
1415 <code class="descname">cssClasses</code><em class="property"> = {'th': 'action', 'td': 'action sorter'}</em><a class="headerlink" href="#pyams_skin.table.SorterColumn.cssClasses" title="Permalink to this definition">¶</a></dt> |
|
1416 <dd></dd></dl> |
|
1417 |
|
1418 <dl class="method"> |
|
1419 <dt id="pyams_skin.table.SorterColumn.get_url"> |
|
1420 <code class="descname">get_url</code><span class="sig-paren">(</span><em>item</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.SorterColumn.get_url" title="Permalink to this definition">¶</a></dt> |
|
1421 <dd></dd></dl> |
|
1422 |
|
1423 <dl class="attribute"> |
|
1424 <dt id="pyams_skin.table.SorterColumn.icon_class"> |
|
1425 <code class="descname">icon_class</code><em class="property"> = 'fa fa-fw fa-sort'</em><a class="headerlink" href="#pyams_skin.table.SorterColumn.icon_class" title="Permalink to this definition">¶</a></dt> |
|
1426 <dd></dd></dl> |
|
1427 |
|
1428 <dl class="attribute"> |
|
1429 <dt id="pyams_skin.table.SorterColumn.icon_hint"> |
|
1430 <code class="descname">icon_hint</code><em class="property"> = 'Click and drag to sort rows'</em><a class="headerlink" href="#pyams_skin.table.SorterColumn.icon_hint" title="Permalink to this definition">¶</a></dt> |
|
1431 <dd></dd></dl> |
|
1432 |
|
1433 <dl class="attribute"> |
|
1434 <dt id="pyams_skin.table.SorterColumn.url"> |
|
1435 <code class="descname">url</code><em class="property"> = '#'</em><a class="headerlink" href="#pyams_skin.table.SorterColumn.url" title="Permalink to this definition">¶</a></dt> |
|
1436 <dd></dd></dl> |
|
1437 |
|
1438 <dl class="attribute"> |
|
1439 <dt id="pyams_skin.table.SorterColumn.weight"> |
|
1440 <code class="descname">weight</code><em class="property"> = 1</em><a class="headerlink" href="#pyams_skin.table.SorterColumn.weight" title="Permalink to this definition">¶</a></dt> |
|
1441 <dd></dd></dl> |
|
1442 |
|
1443 </dd></dl> |
|
1444 |
|
1445 <dl class="class"> |
|
1446 <dt id="pyams_skin.table.TrashColumn"> |
|
1447 <em class="property">class </em><code class="descclassname">pyams_skin.table.</code><code class="descname">TrashColumn</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>table</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.TrashColumn" title="Permalink to this definition">¶</a></dt> |
|
1448 <dd><p>Bases: <a class="reference internal" href="#pyams_skin.table.JsActionColumn" title="pyams_skin.table.JsActionColumn"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.table.JsActionColumn</span></code></a></p> |
|
1449 <p>Trash action icon column</p> |
|
1450 <dl class="attribute"> |
|
1451 <dt id="pyams_skin.table.TrashColumn.icon_class"> |
|
1452 <code class="descname">icon_class</code><em class="property"> = 'fa fa-fw fa-trash'</em><a class="headerlink" href="#pyams_skin.table.TrashColumn.icon_class" title="Permalink to this definition">¶</a></dt> |
|
1453 <dd></dd></dl> |
|
1454 |
|
1455 <dl class="attribute"> |
|
1456 <dt id="pyams_skin.table.TrashColumn.icon_hint"> |
|
1457 <code class="descname">icon_hint</code><em class="property"> = 'Delete object'</em><a class="headerlink" href="#pyams_skin.table.TrashColumn.icon_hint" title="Permalink to this definition">¶</a></dt> |
|
1458 <dd></dd></dl> |
|
1459 |
|
1460 <dl class="attribute"> |
|
1461 <dt id="pyams_skin.table.TrashColumn.permission"> |
|
1462 <code class="descname">permission</code><em class="property"> = 'manage'</em><a class="headerlink" href="#pyams_skin.table.TrashColumn.permission" title="Permalink to this definition">¶</a></dt> |
|
1463 <dd></dd></dl> |
|
1464 |
|
1465 <dl class="attribute"> |
|
1466 <dt id="pyams_skin.table.TrashColumn.url"> |
|
1467 <code class="descname">url</code><em class="property"> = 'MyAMS.container.deleteElement'</em><a class="headerlink" href="#pyams_skin.table.TrashColumn.url" title="Permalink to this definition">¶</a></dt> |
|
1468 <dd></dd></dl> |
|
1469 |
|
1470 <dl class="attribute"> |
|
1471 <dt id="pyams_skin.table.TrashColumn.weight"> |
|
1472 <code class="descname">weight</code><em class="property"> = 9999</em><a class="headerlink" href="#pyams_skin.table.TrashColumn.weight" title="Permalink to this definition">¶</a></dt> |
|
1473 <dd></dd></dl> |
|
1474 |
|
1475 </dd></dl> |
|
1476 |
|
1477 <dl class="function"> |
|
1478 <dt id="pyams_skin.table.get_element_editor"> |
|
1479 <code class="descclassname">pyams_skin.table.</code><code class="descname">get_element_editor</code><span class="sig-paren">(</span><em>table</em>, <em>element</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.table.get_element_editor" title="Permalink to this definition">¶</a></dt> |
|
1480 <dd><p>Get editor for selected element</p> |
|
1481 </dd></dl> |
|
1482 |
|
1483 <dl class="function"> |
|
1484 <dt id="pyams_skin.table.get_object_name"> |
|
1485 <code class="descclassname">pyams_skin.table.</code><code class="descname">get_object_name</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_skin.table.get_object_name" title="Permalink to this definition">¶</a></dt> |
|
1486 <dd><p>Get required object name</p> |
|
1487 </dd></dl> |
|
1488 |
|
1489 </div> |
|
1490 <div class="section" id="module-pyams_skin.vocabulary"> |
|
1491 <span id="pyams-skin-vocabulary-module"></span><h3>pyams_skin.vocabulary module<a class="headerlink" href="#module-pyams_skin.vocabulary" title="Permalink to this headline">¶</a></h3> |
|
1492 <dl class="class"> |
|
1493 <dt id="pyams_skin.vocabulary.SkinsVocabulary"> |
|
1494 <em class="property">class </em><code class="descclassname">pyams_skin.vocabulary.</code><code class="descname">SkinsVocabulary</code><span class="sig-paren">(</span><em>context</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.vocabulary.SkinsVocabulary" title="Permalink to this definition">¶</a></dt> |
|
1495 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">zope.componentvocabulary.vocabulary.UtilityVocabulary</span></code></p> |
|
1496 <p>PyAMS skins vocabulary</p> |
|
1497 <dl class="attribute"> |
|
1498 <dt id="pyams_skin.vocabulary.SkinsVocabulary.interface"> |
|
1499 <code class="descname">interface</code><em class="property"> = <InterfaceClass pyams_skin.interfaces.ISkin></em><a class="headerlink" href="#pyams_skin.vocabulary.SkinsVocabulary.interface" title="Permalink to this definition">¶</a></dt> |
|
1500 <dd></dd></dl> |
|
1501 |
|
1502 <dl class="attribute"> |
|
1503 <dt id="pyams_skin.vocabulary.SkinsVocabulary.nameOnly"> |
|
1504 <code class="descname">nameOnly</code><em class="property"> = True</em><a class="headerlink" href="#pyams_skin.vocabulary.SkinsVocabulary.nameOnly" title="Permalink to this definition">¶</a></dt> |
|
1505 <dd></dd></dl> |
|
1506 |
|
1507 </dd></dl> |
|
1508 |
|
1509 <dl class="class"> |
|
1510 <dt id="pyams_skin.vocabulary.UserSkinsVocabulary"> |
|
1511 <em class="property">class </em><code class="descclassname">pyams_skin.vocabulary.</code><code class="descname">UserSkinsVocabulary</code><span class="sig-paren">(</span><em>context</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.vocabulary.UserSkinsVocabulary" title="Permalink to this definition">¶</a></dt> |
|
1512 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">zope.componentvocabulary.vocabulary.UtilityVocabulary</span></code></p> |
|
1513 <p>PyAMS custom users skins vocabulary</p> |
|
1514 <dl class="attribute"> |
|
1515 <dt id="pyams_skin.vocabulary.UserSkinsVocabulary.interface"> |
|
1516 <code class="descname">interface</code><em class="property"> = <InterfaceClass pyams_skin.interfaces.ISkin></em><a class="headerlink" href="#pyams_skin.vocabulary.UserSkinsVocabulary.interface" title="Permalink to this definition">¶</a></dt> |
|
1517 <dd></dd></dl> |
|
1518 |
|
1519 <dl class="attribute"> |
|
1520 <dt id="pyams_skin.vocabulary.UserSkinsVocabulary.nameOnly"> |
|
1521 <code class="descname">nameOnly</code><em class="property"> = True</em><a class="headerlink" href="#pyams_skin.vocabulary.UserSkinsVocabulary.nameOnly" title="Permalink to this definition">¶</a></dt> |
|
1522 <dd></dd></dl> |
|
1523 |
|
1524 </dd></dl> |
|
1525 |
|
1526 </div> |
|
1527 </div> |
|
1528 </div> |
|
1529 |
|
1530 |
|
1531 </div> |
|
1532 </div> |
|
1533 </div> |
|
1534 <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> |
|
1535 <div class="sphinxsidebarwrapper"> |
|
1536 <h3><a href="index.html">Table Of Contents</a></h3> |
|
1537 <ul> |
|
1538 <li><a class="reference internal" href="#">PyAMS skin utilities</a><ul> |
|
1539 <li><a class="reference internal" href="#module-pyams_skin">Module contents</a></li> |
|
1540 <li><a class="reference internal" href="#subpackages">Subpackages</a></li> |
|
1541 <li><a class="reference internal" href="#submodules">Submodules</a><ul> |
|
1542 <li><a class="reference internal" href="#module-pyams_skin.configuration">pyams_skin.configuration module</a></li> |
|
1543 <li><a class="reference internal" href="#module-pyams_skin.container">pyams_skin.container module</a></li> |
|
1544 <li><a class="reference internal" href="#module-pyams_skin.extension">pyams_skin.extension module</a></li> |
|
1545 <li><a class="reference internal" href="#module-pyams_skin.help">pyams_skin.help module</a></li> |
|
1546 <li><a class="reference internal" href="#module-pyams_skin.layer">pyams_skin.layer module</a></li> |
|
1547 <li><a class="reference internal" href="#module-pyams_skin.metas">pyams_skin.metas module</a></li> |
|
1548 <li><a class="reference internal" href="#module-pyams_skin.page">pyams_skin.page module</a></li> |
|
1549 <li><a class="reference internal" href="#module-pyams_skin.resources">pyams_skin.resources module</a></li> |
|
1550 <li><a class="reference internal" href="#module-pyams_skin.site">pyams_skin.site module</a></li> |
|
1551 <li><a class="reference internal" href="#module-pyams_skin.skin">pyams_skin.skin module</a></li> |
|
1552 <li><a class="reference internal" href="#module-pyams_skin.table">pyams_skin.table module</a></li> |
|
1553 <li><a class="reference internal" href="#module-pyams_skin.vocabulary">pyams_skin.vocabulary module</a></li> |
|
1554 </ul> |
|
1555 </li> |
|
1556 </ul> |
|
1557 </li> |
|
1558 </ul> |
|
1559 |
|
1560 <div id="searchbox" style="display: none" role="search"> |
|
1561 <h3>Quick search</h3> |
|
1562 <form class="search" action="search.html" method="get"> |
|
1563 <div><input type="text" name="q" /></div> |
|
1564 <div><input type="submit" value="Go" /></div> |
|
1565 <input type="hidden" name="check_keywords" value="yes" /> |
|
1566 <input type="hidden" name="area" value="default" /> |
|
1567 </form> |
|
1568 </div> |
|
1569 <script type="text/javascript">$('#searchbox').show(0);</script> |
|
1570 </div> |
|
1571 </div> |
|
1572 <div class="clearer"></div> |
|
1573 </div> |
|
1574 <div class="related" role="navigation" aria-label="related navigation"> |
|
1575 <h3>Navigation</h3> |
|
1576 <ul> |
|
1577 <li class="right" style="margin-right: 10px"> |
|
1578 <a href="genindex.html" title="General Index" |
|
1579 >index</a></li> |
|
1580 <li class="right" > |
|
1581 <a href="py-modindex.html" title="Python Module Index" |
|
1582 >modules</a> |</li> |
|
1583 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
1584 </ul> |
|
1585 </div> |
|
1586 <div class="footer" role="contentinfo"> |
|
1587 © Copyright 2017, Thierry Florac. |
|
1588 Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5. |
|
1589 </div> |
|
1590 </body> |
|
1591 </html> |