1 |
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
|
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
4 |
|
5 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
6 <head> |
|
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
8 <title>pyams_content.shared.view package — PyAMS User Guide 0.1.0 documentation</title> |
|
9 <link rel="stylesheet" href="_static/pyramid.css" type="text/css" /> |
|
10 <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> |
|
11 <script type="text/javascript"> |
|
12 var DOCUMENTATION_OPTIONS = { |
|
13 URL_ROOT: './', |
|
14 VERSION: '0.1.0', |
|
15 COLLAPSE_INDEX: false, |
|
16 FILE_SUFFIX: '.html', |
|
17 HAS_SOURCE: true, |
|
18 SOURCELINK_SUFFIX: '.txt' |
|
19 }; |
|
20 </script> |
|
21 <script type="text/javascript" src="_static/jquery.js"></script> |
|
22 <script type="text/javascript" src="_static/underscore.js"></script> |
|
23 <script type="text/javascript" src="_static/doctools.js"></script> |
|
24 <link rel="index" title="Index" href="genindex.html" /> |
|
25 <link rel="search" title="Search" href="search.html" /> |
|
26 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Neuton&subset=latin" type="text/css" media="screen" charset="utf-8" /> |
|
27 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nobile:regular,italic,bold,bolditalic&subset=latin" type="text/css" media="screen" charset="utf-8" /> |
|
28 <!--[if lte IE 6]> |
|
29 <link rel="stylesheet" href="_static/ie6.css" type="text/css" media="screen" charset="utf-8" /> |
|
30 <![endif]--> |
|
31 |
|
32 </head> |
|
33 <body> |
|
34 |
|
35 <div class="related" role="navigation" aria-label="related navigation"> |
|
36 <h3>Navigation</h3> |
|
37 <ul> |
|
38 <li class="right" style="margin-right: 10px"> |
|
39 <a href="genindex.html" title="General Index" |
|
40 accesskey="I">index</a></li> |
|
41 <li class="right" > |
|
42 <a href="py-modindex.html" title="Python Module Index" |
|
43 >modules</a> |</li> |
|
44 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
45 </ul> |
|
46 </div> |
|
47 |
|
48 <div class="document"> |
|
49 <div class="documentwrapper"> |
|
50 <div class="bodywrapper"> |
|
51 <div class="body" role="main"> |
|
52 |
|
53 <div class="section" id="pyams-content-shared-view-package"> |
|
54 <h1>pyams_content.shared.view package<a class="headerlink" href="#pyams-content-shared-view-package" title="Permalink to this headline">¶</a></h1> |
|
55 <div class="section" id="subpackages"> |
|
56 <h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to this headline">¶</a></h2> |
|
57 <div class="toctree-wrapper compound"> |
|
58 <ul> |
|
59 <li class="toctree-l1"><a class="reference internal" href="pyams_content.shared.view.interfaces.html">pyams_content.shared.view.interfaces package</a><ul> |
|
60 <li class="toctree-l2"><a class="reference internal" href="pyams_content.shared.view.interfaces.html#module-pyams_content.shared.view.interfaces">Module contents</a></li> |
|
61 </ul> |
|
62 </li> |
|
63 <li class="toctree-l1"><a class="reference internal" href="pyams_content.shared.view.portlet.html">pyams_content.shared.view.portlet package</a><ul> |
|
64 <li class="toctree-l2"><a class="reference internal" href="pyams_content.shared.view.portlet.html#subpackages">Subpackages</a><ul> |
|
65 <li class="toctree-l3"><a class="reference internal" href="pyams_content.shared.view.portlet.zmi.html">pyams_content.shared.view.portlet.zmi package</a><ul> |
|
66 <li class="toctree-l4"><a class="reference internal" href="pyams_content.shared.view.portlet.zmi.html#module-pyams_content.shared.view.portlet.zmi">Module contents</a></li> |
|
67 </ul> |
|
68 </li> |
|
69 </ul> |
|
70 </li> |
|
71 <li class="toctree-l2"><a class="reference internal" href="pyams_content.shared.view.portlet.html#submodules">Submodules</a></li> |
|
72 <li class="toctree-l2"><a class="reference internal" href="pyams_content.shared.view.portlet.html#module-pyams_content.shared.view.portlet.interfaces">pyams_content.shared.view.portlet.interfaces module</a></li> |
|
73 <li class="toctree-l2"><a class="reference internal" href="pyams_content.shared.view.portlet.html#module-pyams_content.shared.view.portlet">Module contents</a></li> |
|
74 </ul> |
|
75 </li> |
|
76 <li class="toctree-l1"><a class="reference internal" href="pyams_content.shared.view.zmi.html">pyams_content.shared.view.zmi package</a><ul> |
|
77 <li class="toctree-l2"><a class="reference internal" href="pyams_content.shared.view.zmi.html#submodules">Submodules</a></li> |
|
78 <li class="toctree-l2"><a class="reference internal" href="pyams_content.shared.view.zmi.html#module-pyams_content.shared.view.zmi.preview">pyams_content.shared.view.zmi.preview module</a></li> |
|
79 <li class="toctree-l2"><a class="reference internal" href="pyams_content.shared.view.zmi.html#module-pyams_content.shared.view.zmi.properties">pyams_content.shared.view.zmi.properties module</a></li> |
|
80 <li class="toctree-l2"><a class="reference internal" href="pyams_content.shared.view.zmi.html#module-pyams_content.shared.view.zmi.reference">pyams_content.shared.view.zmi.reference module</a></li> |
|
81 <li class="toctree-l2"><a class="reference internal" href="pyams_content.shared.view.zmi.html#module-pyams_content.shared.view.zmi.theme">pyams_content.shared.view.zmi.theme module</a></li> |
|
82 <li class="toctree-l2"><a class="reference internal" href="pyams_content.shared.view.zmi.html#module-pyams_content.shared.view.zmi">Module contents</a></li> |
|
83 </ul> |
|
84 </li> |
|
85 </ul> |
|
86 </div> |
|
87 </div> |
|
88 <div class="section" id="submodules"> |
|
89 <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2> |
|
90 </div> |
|
91 <div class="section" id="module-pyams_content.shared.view.manager"> |
|
92 <span id="pyams-content-shared-view-manager-module"></span><h2>pyams_content.shared.view.manager module<a class="headerlink" href="#module-pyams_content.shared.view.manager" title="Permalink to this headline">¶</a></h2> |
|
93 <dl class="class"> |
|
94 <dt id="pyams_content.shared.view.manager.ViewsManager"> |
|
95 <em class="property">class </em><code class="descclassname">pyams_content.shared.view.manager.</code><code class="descname">ViewsManager</code><a class="headerlink" href="#pyams_content.shared.view.manager.ViewsManager" title="Permalink to this definition">¶</a></dt> |
|
96 <dd><p>Bases: <a class="reference internal" href="pyams_content.shared.common.html#pyams_content.shared.common.manager.SharedTool" title="pyams_content.shared.common.manager.SharedTool"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.shared.common.manager.SharedTool</span></code></a></p> |
|
97 <p>Views manager class</p> |
|
98 <dl class="attribute"> |
|
99 <dt id="pyams_content.shared.view.manager.ViewsManager.shared_content_factory"> |
|
100 <code class="descname">shared_content_factory</code><a class="headerlink" href="#pyams_content.shared.view.manager.ViewsManager.shared_content_factory" title="Permalink to this definition">¶</a></dt> |
|
101 <dd><p>alias of <code class="xref py py-class docutils literal"><span class="pre">View</span></code></p> |
|
102 </dd></dl> |
|
103 |
|
104 <dl class="attribute"> |
|
105 <dt id="pyams_content.shared.view.manager.ViewsManager.shared_content_type"> |
|
106 <code class="descname">shared_content_type</code><em class="property"> = 'view'</em><a class="headerlink" href="#pyams_content.shared.view.manager.ViewsManager.shared_content_type" title="Permalink to this definition">¶</a></dt> |
|
107 <dd></dd></dl> |
|
108 |
|
109 </dd></dl> |
|
110 |
|
111 <dl class="function"> |
|
112 <dt id="pyams_content.shared.view.manager.handle_added_views_manager"> |
|
113 <code class="descclassname">pyams_content.shared.view.manager.</code><code class="descname">handle_added_views_manager</code><span class="sig-paren">(</span><em>event</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.view.manager.handle_added_views_manager" title="Permalink to this definition">¶</a></dt> |
|
114 <dd><p>Register views manager when added</p> |
|
115 </dd></dl> |
|
116 |
|
117 </div> |
|
118 <div class="section" id="module-pyams_content.shared.view.reference"> |
|
119 <span id="pyams-content-shared-view-reference-module"></span><h2>pyams_content.shared.view.reference module<a class="headerlink" href="#module-pyams_content.shared.view.reference" title="Permalink to this headline">¶</a></h2> |
|
120 <dl class="class"> |
|
121 <dt id="pyams_content.shared.view.reference.ViewInternalReferencesQueryFilterExtension"> |
|
122 <em class="property">class </em><code class="descclassname">pyams_content.shared.view.reference.</code><code class="descname">ViewInternalReferencesQueryFilterExtension</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.view.reference.ViewInternalReferencesQueryFilterExtension" title="Permalink to this definition">¶</a></dt> |
|
123 <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> |
|
124 <p>View internal references filter extension</p> |
|
125 <dl class="method"> |
|
126 <dt id="pyams_content.shared.view.reference.ViewInternalReferencesQueryFilterExtension.filter"> |
|
127 <code class="descname">filter</code><span class="sig-paren">(</span><em>context</em>, <em>items</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.view.reference.ViewInternalReferencesQueryFilterExtension.filter" title="Permalink to this definition">¶</a></dt> |
|
128 <dd></dd></dl> |
|
129 |
|
130 <dl class="attribute"> |
|
131 <dt id="pyams_content.shared.view.reference.ViewInternalReferencesQueryFilterExtension.weight"> |
|
132 <code class="descname">weight</code><em class="property"> = 999</em><a class="headerlink" href="#pyams_content.shared.view.reference.ViewInternalReferencesQueryFilterExtension.weight" title="Permalink to this definition">¶</a></dt> |
|
133 <dd></dd></dl> |
|
134 |
|
135 </dd></dl> |
|
136 |
|
137 <dl class="class"> |
|
138 <dt id="pyams_content.shared.view.reference.ViewInternalReferencesSettings"> |
|
139 <em class="property">class </em><code class="descclassname">pyams_content.shared.view.reference.</code><code class="descname">ViewInternalReferencesSettings</code><a class="headerlink" href="#pyams_content.shared.view.reference.ViewInternalReferencesSettings" title="Permalink to this definition">¶</a></dt> |
|
140 <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> |
|
141 <p>View internal references settings</p> |
|
142 <dl class="attribute"> |
|
143 <dt id="pyams_content.shared.view.reference.ViewInternalReferencesSettings.references"> |
|
144 <code class="descname">references</code><a class="headerlink" href="#pyams_content.shared.view.reference.ViewInternalReferencesSettings.references" title="Permalink to this definition">¶</a></dt> |
|
145 <dd><p>Computed attributes based on schema fields</p> |
|
146 <p>Field properties provide default values, data validation and error messages |
|
147 based on data found in field meta-data.</p> |
|
148 <p>Note that FieldProperties cannot be used with slots. They can only |
|
149 be used for attributes stored in instance dictionaries.</p> |
|
150 </dd></dl> |
|
151 |
|
152 <dl class="attribute"> |
|
153 <dt id="pyams_content.shared.view.reference.ViewInternalReferencesSettings.references_mode"> |
|
154 <code class="descname">references_mode</code><a class="headerlink" href="#pyams_content.shared.view.reference.ViewInternalReferencesSettings.references_mode" title="Permalink to this definition">¶</a></dt> |
|
155 <dd><p>Computed attributes based on schema fields</p> |
|
156 <p>Field properties provide default values, data validation and error messages |
|
157 based on data found in field meta-data.</p> |
|
158 <p>Note that FieldProperties cannot be used with slots. They can only |
|
159 be used for attributes stored in instance dictionaries.</p> |
|
160 </dd></dl> |
|
161 |
|
162 </dd></dl> |
|
163 |
|
164 <dl class="function"> |
|
165 <dt id="pyams_content.shared.view.reference.ViewInternalReferencesSettingsFactory"> |
|
166 <code class="descclassname">pyams_content.shared.view.reference.</code><code class="descname">ViewInternalReferencesSettingsFactory</code><span class="sig-paren">(</span><em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.view.reference.ViewInternalReferencesSettingsFactory" title="Permalink to this definition">¶</a></dt> |
|
167 <dd><p>View internal references settings factory</p> |
|
168 </dd></dl> |
|
169 |
|
170 </div> |
|
171 <div class="section" id="module-pyams_content.shared.view.theme"> |
|
172 <span id="pyams-content-shared-view-theme-module"></span><h2>pyams_content.shared.view.theme module<a class="headerlink" href="#module-pyams_content.shared.view.theme" title="Permalink to this headline">¶</a></h2> |
|
173 <dl class="class"> |
|
174 <dt id="pyams_content.shared.view.theme.ViewThemesSettings"> |
|
175 <em class="property">class </em><code class="descclassname">pyams_content.shared.view.theme.</code><code class="descname">ViewThemesSettings</code><a class="headerlink" href="#pyams_content.shared.view.theme.ViewThemesSettings" title="Permalink to this definition">¶</a></dt> |
|
176 <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> |
|
177 <p>View themes settings</p> |
|
178 <dl class="method"> |
|
179 <dt id="pyams_content.shared.view.theme.ViewThemesSettings.get_themes"> |
|
180 <code class="descname">get_themes</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.view.theme.ViewThemesSettings.get_themes" title="Permalink to this definition">¶</a></dt> |
|
181 <dd></dd></dl> |
|
182 |
|
183 <dl class="method"> |
|
184 <dt id="pyams_content.shared.view.theme.ViewThemesSettings.get_themes_index"> |
|
185 <code class="descname">get_themes_index</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.view.theme.ViewThemesSettings.get_themes_index" title="Permalink to this definition">¶</a></dt> |
|
186 <dd></dd></dl> |
|
187 |
|
188 <dl class="attribute"> |
|
189 <dt id="pyams_content.shared.view.theme.ViewThemesSettings.select_context_themes"> |
|
190 <code class="descname">select_context_themes</code><a class="headerlink" href="#pyams_content.shared.view.theme.ViewThemesSettings.select_context_themes" title="Permalink to this definition">¶</a></dt> |
|
191 <dd><p>Computed attributes based on schema fields</p> |
|
192 <p>Field properties provide default values, data validation and error messages |
|
193 based on data found in field meta-data.</p> |
|
194 <p>Note that FieldProperties cannot be used with slots. They can only |
|
195 be used for attributes stored in instance dictionaries.</p> |
|
196 </dd></dl> |
|
197 |
|
198 <dl class="attribute"> |
|
199 <dt id="pyams_content.shared.view.theme.ViewThemesSettings.themes"> |
|
200 <code class="descname">themes</code><a class="headerlink" href="#pyams_content.shared.view.theme.ViewThemesSettings.themes" title="Permalink to this definition">¶</a></dt> |
|
201 <dd><p>Computed attributes based on schema fields</p> |
|
202 <p>Field properties provide default values, data validation and error messages |
|
203 based on data found in field meta-data.</p> |
|
204 <p>Note that FieldProperties cannot be used with slots. They can only |
|
205 be used for attributes stored in instance dictionaries.</p> |
|
206 </dd></dl> |
|
207 |
|
208 </dd></dl> |
|
209 |
|
210 <dl class="function"> |
|
211 <dt id="pyams_content.shared.view.theme.ViewThemesSettingsFactory"> |
|
212 <code class="descclassname">pyams_content.shared.view.theme.</code><code class="descname">ViewThemesSettingsFactory</code><span class="sig-paren">(</span><em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.view.theme.ViewThemesSettingsFactory" title="Permalink to this definition">¶</a></dt> |
|
213 <dd><p>View themes settings factory</p> |
|
214 </dd></dl> |
|
215 |
|
216 </div> |
|
217 <div class="section" id="module-pyams_content.shared.view"> |
|
218 <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyams_content.shared.view" title="Permalink to this headline">¶</a></h2> |
|
219 <dl class="class"> |
|
220 <dt id="pyams_content.shared.view.View"> |
|
221 <em class="property">class </em><code class="descclassname">pyams_content.shared.view.</code><code class="descname">View</code><a class="headerlink" href="#pyams_content.shared.view.View" title="Permalink to this definition">¶</a></dt> |
|
222 <dd><p>Bases: <a class="reference internal" href="pyams_content.shared.common.html#pyams_content.shared.common.SharedContent" title="pyams_content.shared.common.SharedContent"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.shared.common.SharedContent</span></code></a></p> |
|
223 <p>Workflow managed view class</p> |
|
224 <dl class="attribute"> |
|
225 <dt id="pyams_content.shared.view.View.content_class"> |
|
226 <code class="descname">content_class</code><a class="headerlink" href="#pyams_content.shared.view.View.content_class" title="Permalink to this definition">¶</a></dt> |
|
227 <dd><p>alias of <a class="reference internal" href="#pyams_content.shared.view.WfView" title="pyams_content.shared.view.WfView"><code class="xref py py-class docutils literal"><span class="pre">WfView</span></code></a></p> |
|
228 </dd></dl> |
|
229 |
|
230 </dd></dl> |
|
231 |
|
232 <dl class="class"> |
|
233 <dt id="pyams_content.shared.view.ViewQuery"> |
|
234 <em class="property">class </em><code class="descclassname">pyams_content.shared.view.</code><code class="descname">ViewQuery</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.view.ViewQuery" title="Permalink to this definition">¶</a></dt> |
|
235 <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> |
|
236 <p>View query</p> |
|
237 <dl class="method"> |
|
238 <dt id="pyams_content.shared.view.ViewQuery.get_params"> |
|
239 <code class="descname">get_params</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.view.ViewQuery.get_params" title="Permalink to this definition">¶</a></dt> |
|
240 <dd></dd></dl> |
|
241 |
|
242 <dl class="method"> |
|
243 <dt id="pyams_content.shared.view.ViewQuery.get_results"> |
|
244 <code class="descname">get_results</code><span class="sig-paren">(</span><em>context</em>, <em>limit=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.view.ViewQuery.get_results" title="Permalink to this definition">¶</a></dt> |
|
245 <dd></dd></dl> |
|
246 |
|
247 </dd></dl> |
|
248 |
|
249 <dl class="class"> |
|
250 <dt id="pyams_content.shared.view.WfView"> |
|
251 <em class="property">class </em><code class="descclassname">pyams_content.shared.view.</code><code class="descname">WfView</code><a class="headerlink" href="#pyams_content.shared.view.WfView" title="Permalink to this definition">¶</a></dt> |
|
252 <dd><p>Bases: <a class="reference internal" href="pyams_content.shared.common.html#pyams_content.shared.common.WfSharedContent" title="pyams_content.shared.common.WfSharedContent"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.shared.common.WfSharedContent</span></code></a></p> |
|
253 <p>Base view</p> |
|
254 <dl class="attribute"> |
|
255 <dt id="pyams_content.shared.view.WfView.content_name"> |
|
256 <code class="descname">content_name</code><em class="property"> = 'View'</em><a class="headerlink" href="#pyams_content.shared.view.WfView.content_name" title="Permalink to this definition">¶</a></dt> |
|
257 <dd></dd></dl> |
|
258 |
|
259 <dl class="attribute"> |
|
260 <dt id="pyams_content.shared.view.WfView.content_type"> |
|
261 <code class="descname">content_type</code><em class="property"> = 'view'</em><a class="headerlink" href="#pyams_content.shared.view.WfView.content_type" title="Permalink to this definition">¶</a></dt> |
|
262 <dd></dd></dl> |
|
263 |
|
264 <dl class="method"> |
|
265 <dt id="pyams_content.shared.view.WfView.get_results"> |
|
266 <code class="descname">get_results</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.view.WfView.get_results" title="Permalink to this definition">¶</a></dt> |
|
267 <dd></dd></dl> |
|
268 |
|
269 <dl class="attribute"> |
|
270 <dt id="pyams_content.shared.view.WfView.limit"> |
|
271 <code class="descname">limit</code><a class="headerlink" href="#pyams_content.shared.view.WfView.limit" title="Permalink to this definition">¶</a></dt> |
|
272 <dd><p>Computed attributes based on schema fields</p> |
|
273 <p>Field properties provide default values, data validation and error messages |
|
274 based on data found in field meta-data.</p> |
|
275 <p>Note that FieldProperties cannot be used with slots. They can only |
|
276 be used for attributes stored in instance dictionaries.</p> |
|
277 </dd></dl> |
|
278 |
|
279 <dl class="attribute"> |
|
280 <dt id="pyams_content.shared.view.WfView.order_by"> |
|
281 <code class="descname">order_by</code><a class="headerlink" href="#pyams_content.shared.view.WfView.order_by" title="Permalink to this definition">¶</a></dt> |
|
282 <dd><p>Computed attributes based on schema fields</p> |
|
283 <p>Field properties provide default values, data validation and error messages |
|
284 based on data found in field meta-data.</p> |
|
285 <p>Note that FieldProperties cannot be used with slots. They can only |
|
286 be used for attributes stored in instance dictionaries.</p> |
|
287 </dd></dl> |
|
288 |
|
289 <dl class="attribute"> |
|
290 <dt id="pyams_content.shared.view.WfView.reversed_order"> |
|
291 <code class="descname">reversed_order</code><a class="headerlink" href="#pyams_content.shared.view.WfView.reversed_order" title="Permalink to this definition">¶</a></dt> |
|
292 <dd><p>Computed attributes based on schema fields</p> |
|
293 <p>Field properties provide default values, data validation and error messages |
|
294 based on data found in field meta-data.</p> |
|
295 <p>Note that FieldProperties cannot be used with slots. They can only |
|
296 be used for attributes stored in instance dictionaries.</p> |
|
297 </dd></dl> |
|
298 |
|
299 <dl class="attribute"> |
|
300 <dt id="pyams_content.shared.view.WfView.selected_content_types"> |
|
301 <code class="descname">selected_content_types</code><a class="headerlink" href="#pyams_content.shared.view.WfView.selected_content_types" title="Permalink to this definition">¶</a></dt> |
|
302 <dd><p>Computed attributes based on schema fields</p> |
|
303 <p>Field properties provide default values, data validation and error messages |
|
304 based on data found in field meta-data.</p> |
|
305 <p>Note that FieldProperties cannot be used with slots. They can only |
|
306 be used for attributes stored in instance dictionaries.</p> |
|
307 </dd></dl> |
|
308 |
|
309 </dd></dl> |
|
310 |
|
311 <dl class="function"> |
|
312 <dt id="pyams_content.shared.view.handle_modified_view"> |
|
313 <code class="descclassname">pyams_content.shared.view.</code><code class="descname">handle_modified_view</code><span class="sig-paren">(</span><em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.view.handle_modified_view" title="Permalink to this definition">¶</a></dt> |
|
314 <dd><p>Invalidate views cache when a view is modified</p> |
|
315 </dd></dl> |
|
316 |
|
317 </div> |
|
318 </div> |
|
319 |
|
320 |
|
321 </div> |
|
322 </div> |
|
323 </div> |
|
324 <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> |
|
325 <div class="sphinxsidebarwrapper"> |
|
326 <h3><a href="index.html">Table Of Contents</a></h3> |
|
327 <ul> |
|
328 <li><a class="reference internal" href="#">pyams_content.shared.view package</a><ul> |
|
329 <li><a class="reference internal" href="#subpackages">Subpackages</a></li> |
|
330 <li><a class="reference internal" href="#submodules">Submodules</a></li> |
|
331 <li><a class="reference internal" href="#module-pyams_content.shared.view.manager">pyams_content.shared.view.manager module</a></li> |
|
332 <li><a class="reference internal" href="#module-pyams_content.shared.view.reference">pyams_content.shared.view.reference module</a></li> |
|
333 <li><a class="reference internal" href="#module-pyams_content.shared.view.theme">pyams_content.shared.view.theme module</a></li> |
|
334 <li><a class="reference internal" href="#module-pyams_content.shared.view">Module contents</a></li> |
|
335 </ul> |
|
336 </li> |
|
337 </ul> |
|
338 |
|
339 <div id="searchbox" style="display: none" role="search"> |
|
340 <h3>Quick search</h3> |
|
341 <form class="search" action="search.html" method="get"> |
|
342 <div><input type="text" name="q" /></div> |
|
343 <div><input type="submit" value="Go" /></div> |
|
344 <input type="hidden" name="check_keywords" value="yes" /> |
|
345 <input type="hidden" name="area" value="default" /> |
|
346 </form> |
|
347 </div> |
|
348 <script type="text/javascript">$('#searchbox').show(0);</script> |
|
349 </div> |
|
350 </div> |
|
351 <div class="clearer"></div> |
|
352 </div> |
|
353 <div class="related" role="navigation" aria-label="related navigation"> |
|
354 <h3>Navigation</h3> |
|
355 <ul> |
|
356 <li class="right" style="margin-right: 10px"> |
|
357 <a href="genindex.html" title="General Index" |
|
358 >index</a></li> |
|
359 <li class="right" > |
|
360 <a href="py-modindex.html" title="Python Module Index" |
|
361 >modules</a> |</li> |
|
362 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
363 </ul> |
|
364 </div> |
|
365 <div class="footer" role="contentinfo"> |
|
366 © Copyright 2017, Thierry Florac. |
|
367 Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5. |
|
368 </div> |
|
369 </body> |
|
370 </html> |
|