|
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.portlet 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-portlet-package"> |
|
54 <h1>pyams_content.shared.view.portlet package<a class="headerlink" href="#pyams-content-shared-view-portlet-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.portlet.zmi.html">pyams_content.shared.view.portlet.zmi package</a><ul> |
|
60 <li class="toctree-l2"><a class="reference internal" href="pyams_content.shared.view.portlet.zmi.html#module-pyams_content.shared.view.portlet.zmi">Module contents</a></li> |
|
61 </ul> |
|
62 </li> |
|
63 </ul> |
|
64 </div> |
|
65 </div> |
|
66 <div class="section" id="submodules"> |
|
67 <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2> |
|
68 </div> |
|
69 <div class="section" id="module-pyams_content.shared.view.portlet.interfaces"> |
|
70 <span id="pyams-content-shared-view-portlet-interfaces-module"></span><h2>pyams_content.shared.view.portlet.interfaces module<a class="headerlink" href="#module-pyams_content.shared.view.portlet.interfaces" title="Permalink to this headline">¶</a></h2> |
|
71 </div> |
|
72 <div class="section" id="module-pyams_content.shared.view.portlet"> |
|
73 <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyams_content.shared.view.portlet" title="Permalink to this headline">¶</a></h2> |
|
74 <dl class="class"> |
|
75 <dt id="pyams_content.shared.view.portlet.ViewItemsPortlet"> |
|
76 <em class="property">class </em><code class="descclassname">pyams_content.shared.view.portlet.</code><code class="descname">ViewItemsPortlet</code><a class="headerlink" href="#pyams_content.shared.view.portlet.ViewItemsPortlet" title="Permalink to this definition">¶</a></dt> |
|
77 <dd><p>Bases: <a class="reference internal" href="pyams_portal.html#pyams_portal.portlet.Portlet" title="pyams_portal.portlet.Portlet"><code class="xref py py-class docutils literal"><span class="pre">pyams_portal.portlet.Portlet</span></code></a></p> |
|
78 <p>View items portlet</p> |
|
79 <dl class="attribute"> |
|
80 <dt id="pyams_content.shared.view.portlet.ViewItemsPortlet.label"> |
|
81 <code class="descname">label</code><em class="property"> = 'View items'</em><a class="headerlink" href="#pyams_content.shared.view.portlet.ViewItemsPortlet.label" title="Permalink to this definition">¶</a></dt> |
|
82 <dd></dd></dl> |
|
83 |
|
84 <dl class="attribute"> |
|
85 <dt id="pyams_content.shared.view.portlet.ViewItemsPortlet.name"> |
|
86 <code class="descname">name</code><em class="property"> = 'pyams_content.portlet.view'</em><a class="headerlink" href="#pyams_content.shared.view.portlet.ViewItemsPortlet.name" title="Permalink to this definition">¶</a></dt> |
|
87 <dd></dd></dl> |
|
88 |
|
89 <dl class="attribute"> |
|
90 <dt id="pyams_content.shared.view.portlet.ViewItemsPortlet.settings_class"> |
|
91 <code class="descname">settings_class</code><a class="headerlink" href="#pyams_content.shared.view.portlet.ViewItemsPortlet.settings_class" title="Permalink to this definition">¶</a></dt> |
|
92 <dd><p>alias of <a class="reference internal" href="#pyams_content.shared.view.portlet.ViewItemsPortletSettings" title="pyams_content.shared.view.portlet.ViewItemsPortletSettings"><code class="xref py py-class docutils literal"><span class="pre">ViewItemsPortletSettings</span></code></a></p> |
|
93 </dd></dl> |
|
94 |
|
95 <dl class="attribute"> |
|
96 <dt id="pyams_content.shared.view.portlet.ViewItemsPortlet.toolbar_css_class"> |
|
97 <code class="descname">toolbar_css_class</code><em class="property"> = 'fa fa-fw fa-2x fa-th-list'</em><a class="headerlink" href="#pyams_content.shared.view.portlet.ViewItemsPortlet.toolbar_css_class" title="Permalink to this definition">¶</a></dt> |
|
98 <dd></dd></dl> |
|
99 |
|
100 <dl class="attribute"> |
|
101 <dt id="pyams_content.shared.view.portlet.ViewItemsPortlet.toolbar_image"> |
|
102 <code class="descname">toolbar_image</code><em class="property"> = None</em><a class="headerlink" href="#pyams_content.shared.view.portlet.ViewItemsPortlet.toolbar_image" title="Permalink to this definition">¶</a></dt> |
|
103 <dd></dd></dl> |
|
104 |
|
105 </dd></dl> |
|
106 |
|
107 <dl class="class"> |
|
108 <dt id="pyams_content.shared.view.portlet.ViewItemsPortletRenderer"> |
|
109 <em class="property">class </em><code class="descclassname">pyams_content.shared.view.portlet.</code><code class="descname">ViewItemsPortletRenderer</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>settings</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.view.portlet.ViewItemsPortletRenderer" title="Permalink to this definition">¶</a></dt> |
|
110 <dd><p>Bases: <a class="reference internal" href="pyams_portal.html#pyams_portal.portlet.PortletRenderer" title="pyams_portal.portlet.PortletRenderer"><code class="xref py py-class docutils literal"><span class="pre">pyams_portal.portlet.PortletRenderer</span></code></a></p> |
|
111 <p>View items portlet renderer</p> |
|
112 <dl class="attribute"> |
|
113 <dt id="pyams_content.shared.view.portlet.ViewItemsPortletRenderer.label"> |
|
114 <code class="descname">label</code><em class="property"> = 'Simple list view'</em><a class="headerlink" href="#pyams_content.shared.view.portlet.ViewItemsPortletRenderer.label" title="Permalink to this definition">¶</a></dt> |
|
115 <dd></dd></dl> |
|
116 |
|
117 </dd></dl> |
|
118 |
|
119 <dl class="class"> |
|
120 <dt id="pyams_content.shared.view.portlet.ViewItemsPortletSettings"> |
|
121 <em class="property">class </em><code class="descclassname">pyams_content.shared.view.portlet.</code><code class="descname">ViewItemsPortletSettings</code><span class="sig-paren">(</span><em>configuration</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.view.portlet.ViewItemsPortletSettings" title="Permalink to this definition">¶</a></dt> |
|
122 <dd><p>Bases: <a class="reference internal" href="pyams_portal.html#pyams_portal.portlet.PortletSettings" title="pyams_portal.portlet.PortletSettings"><code class="xref py py-class docutils literal"><span class="pre">pyams_portal.portlet.PortletSettings</span></code></a></p> |
|
123 <p>View items portlet settings</p> |
|
124 <dl class="method"> |
|
125 <dt id="pyams_content.shared.view.portlet.ViewItemsPortletSettings.get_items"> |
|
126 <code class="descname">get_items</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.view.portlet.ViewItemsPortletSettings.get_items" title="Permalink to this definition">¶</a></dt> |
|
127 <dd></dd></dl> |
|
128 |
|
129 <dl class="method"> |
|
130 <dt id="pyams_content.shared.view.portlet.ViewItemsPortletSettings.get_view"> |
|
131 <code class="descname">get_view</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.view.portlet.ViewItemsPortletSettings.get_view" title="Permalink to this definition">¶</a></dt> |
|
132 <dd></dd></dl> |
|
133 |
|
134 <dl class="attribute"> |
|
135 <dt id="pyams_content.shared.view.portlet.ViewItemsPortletSettings.view"> |
|
136 <code class="descname">view</code><a class="headerlink" href="#pyams_content.shared.view.portlet.ViewItemsPortletSettings.view" title="Permalink to this definition">¶</a></dt> |
|
137 <dd><p>Computed attributes based on schema fields</p> |
|
138 <p>Field properties provide default values, data validation and error messages |
|
139 based on data found in field meta-data.</p> |
|
140 <p>Note that FieldProperties cannot be used with slots. They can only |
|
141 be used for attributes stored in instance dictionaries.</p> |
|
142 </dd></dl> |
|
143 |
|
144 </dd></dl> |
|
145 |
|
146 </div> |
|
147 </div> |
|
148 |
|
149 |
|
150 </div> |
|
151 </div> |
|
152 </div> |
|
153 <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> |
|
154 <div class="sphinxsidebarwrapper"> |
|
155 <h3><a href="index.html">Table Of Contents</a></h3> |
|
156 <ul> |
|
157 <li><a class="reference internal" href="#">pyams_content.shared.view.portlet package</a><ul> |
|
158 <li><a class="reference internal" href="#subpackages">Subpackages</a></li> |
|
159 <li><a class="reference internal" href="#submodules">Submodules</a></li> |
|
160 <li><a class="reference internal" href="#module-pyams_content.shared.view.portlet.interfaces">pyams_content.shared.view.portlet.interfaces module</a></li> |
|
161 <li><a class="reference internal" href="#module-pyams_content.shared.view.portlet">Module contents</a></li> |
|
162 </ul> |
|
163 </li> |
|
164 </ul> |
|
165 |
|
166 <div id="searchbox" style="display: none" role="search"> |
|
167 <h3>Quick search</h3> |
|
168 <form class="search" action="search.html" method="get"> |
|
169 <div><input type="text" name="q" /></div> |
|
170 <div><input type="submit" value="Go" /></div> |
|
171 <input type="hidden" name="check_keywords" value="yes" /> |
|
172 <input type="hidden" name="area" value="default" /> |
|
173 </form> |
|
174 </div> |
|
175 <script type="text/javascript">$('#searchbox').show(0);</script> |
|
176 </div> |
|
177 </div> |
|
178 <div class="clearer"></div> |
|
179 </div> |
|
180 <div class="related" role="navigation" aria-label="related navigation"> |
|
181 <h3>Navigation</h3> |
|
182 <ul> |
|
183 <li class="right" style="margin-right: 10px"> |
|
184 <a href="genindex.html" title="General Index" |
|
185 >index</a></li> |
|
186 <li class="right" > |
|
187 <a href="py-modindex.html" title="Python Module Index" |
|
188 >modules</a> |</li> |
|
189 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
190 </ul> |
|
191 </div> |
|
192 <div class="footer" role="contentinfo"> |
|
193 © Copyright 2017, Thierry Florac. |
|
194 Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5. |
|
195 </div> |
|
196 </body> |
|
197 </html> |