1 |
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
|
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
4 |
|
5 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
6 <head> |
|
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
8 <title>pyams_content.component.theme package — PyAMS User Guide 0.1.0 documentation</title> |
|
9 <link rel="stylesheet" href="_static/pyramid.css" type="text/css" /> |
|
10 <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> |
|
11 <script type="text/javascript"> |
|
12 var DOCUMENTATION_OPTIONS = { |
|
13 URL_ROOT: './', |
|
14 VERSION: '0.1.0', |
|
15 COLLAPSE_INDEX: false, |
|
16 FILE_SUFFIX: '.html', |
|
17 HAS_SOURCE: true, |
|
18 SOURCELINK_SUFFIX: '.txt' |
|
19 }; |
|
20 </script> |
|
21 <script type="text/javascript" src="_static/jquery.js"></script> |
|
22 <script type="text/javascript" src="_static/underscore.js"></script> |
|
23 <script type="text/javascript" src="_static/doctools.js"></script> |
|
24 <link rel="index" title="Index" href="genindex.html" /> |
|
25 <link rel="search" title="Search" href="search.html" /> |
|
26 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Neuton&subset=latin" type="text/css" media="screen" charset="utf-8" /> |
|
27 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nobile:regular,italic,bold,bolditalic&subset=latin" type="text/css" media="screen" charset="utf-8" /> |
|
28 <!--[if lte IE 6]> |
|
29 <link rel="stylesheet" href="_static/ie6.css" type="text/css" media="screen" charset="utf-8" /> |
|
30 <![endif]--> |
|
31 |
|
32 </head> |
|
33 <body> |
|
34 |
|
35 <div class="related" role="navigation" aria-label="related navigation"> |
|
36 <h3>Navigation</h3> |
|
37 <ul> |
|
38 <li class="right" style="margin-right: 10px"> |
|
39 <a href="genindex.html" title="General Index" |
|
40 accesskey="I">index</a></li> |
|
41 <li class="right" > |
|
42 <a href="py-modindex.html" title="Python Module Index" |
|
43 >modules</a> |</li> |
|
44 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
45 </ul> |
|
46 </div> |
|
47 |
|
48 <div class="document"> |
|
49 <div class="documentwrapper"> |
|
50 <div class="bodywrapper"> |
|
51 <div class="body" role="main"> |
|
52 |
|
53 <div class="section" id="pyams-content-component-theme-package"> |
|
54 <h1>pyams_content.component.theme package<a class="headerlink" href="#pyams-content-component-theme-package" title="Permalink to this headline">¶</a></h1> |
|
55 <div class="section" id="subpackages"> |
|
56 <h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to this headline">¶</a></h2> |
|
57 <div class="toctree-wrapper compound"> |
|
58 <ul> |
|
59 <li class="toctree-l1"><a class="reference internal" href="pyams_content.component.theme.interfaces.html">pyams_content.component.theme.interfaces package</a><ul> |
|
60 <li class="toctree-l2"><a class="reference internal" href="pyams_content.component.theme.interfaces.html#module-pyams_content.component.theme.interfaces">Module contents</a></li> |
|
61 </ul> |
|
62 </li> |
|
63 <li class="toctree-l1"><a class="reference internal" href="pyams_content.component.theme.zmi.html">pyams_content.component.theme.zmi package</a><ul> |
|
64 <li class="toctree-l2"><a class="reference internal" href="pyams_content.component.theme.zmi.html#submodules">Submodules</a></li> |
|
65 <li class="toctree-l2"><a class="reference internal" href="pyams_content.component.theme.zmi.html#module-pyams_content.component.theme.zmi.manager">pyams_content.component.theme.zmi.manager module</a></li> |
|
66 <li class="toctree-l2"><a class="reference internal" href="pyams_content.component.theme.zmi.html#module-pyams_content.component.theme.zmi.portlet">pyams_content.component.theme.zmi.portlet module</a></li> |
|
67 <li class="toctree-l2"><a class="reference internal" href="pyams_content.component.theme.zmi.html#module-pyams_content.component.theme.zmi">Module contents</a></li> |
|
68 </ul> |
|
69 </li> |
|
70 </ul> |
|
71 </div> |
|
72 </div> |
|
73 <div class="section" id="submodules"> |
|
74 <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2> |
|
75 </div> |
|
76 <div class="section" id="module-pyams_content.component.theme.portlet"> |
|
77 <span id="pyams-content-component-theme-portlet-module"></span><h2>pyams_content.component.theme.portlet module<a class="headerlink" href="#module-pyams_content.component.theme.portlet" title="Permalink to this headline">¶</a></h2> |
|
78 <dl class="class"> |
|
79 <dt id="pyams_content.component.theme.portlet.PortletThemesSettings"> |
|
80 <em class="property">class </em><code class="descclassname">pyams_content.component.theme.portlet.</code><code class="descname">PortletThemesSettings</code><a class="headerlink" href="#pyams_content.component.theme.portlet.PortletThemesSettings" title="Permalink to this definition">¶</a></dt> |
|
81 <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> |
|
82 <p>Portlet themes settings</p> |
|
83 </dd></dl> |
|
84 |
|
85 <dl class="function"> |
|
86 <dt id="pyams_content.component.theme.portlet.PortletThemesSettingsFactory"> |
|
87 <code class="descclassname">pyams_content.component.theme.portlet.</code><code class="descname">PortletThemesSettingsFactory</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.theme.portlet.PortletThemesSettingsFactory" title="Permalink to this definition">¶</a></dt> |
|
88 <dd><p>Portlet themes settings adapter</p> |
|
89 </dd></dl> |
|
90 |
|
91 <dl class="class"> |
|
92 <dt id="pyams_content.component.theme.portlet.ThemesPortletsSettingsTraverser"> |
|
93 <em class="property">class </em><code class="descclassname">pyams_content.component.theme.portlet.</code><code class="descname">ThemesPortletsSettingsTraverser</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.theme.portlet.ThemesPortletsSettingsTraverser" title="Permalink to this definition">¶</a></dt> |
|
94 <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> |
|
95 <p>++themes++ portlet settings adapter</p> |
|
96 <dl class="method"> |
|
97 <dt id="pyams_content.component.theme.portlet.ThemesPortletsSettingsTraverser.traverse"> |
|
98 <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_content.component.theme.portlet.ThemesPortletsSettingsTraverser.traverse" title="Permalink to this definition">¶</a></dt> |
|
99 <dd></dd></dl> |
|
100 |
|
101 </dd></dl> |
|
102 |
|
103 </div> |
|
104 <div class="section" id="module-pyams_content.component.theme"> |
|
105 <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyams_content.component.theme" title="Permalink to this headline">¶</a></h2> |
|
106 <dl class="class"> |
|
107 <dt id="pyams_content.component.theme.ThemesContentChecker"> |
|
108 <em class="property">class </em><code class="descclassname">pyams_content.component.theme.</code><code class="descname">ThemesContentChecker</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.theme.ThemesContentChecker" title="Permalink to this definition">¶</a></dt> |
|
109 <dd><p>Bases: <a class="reference internal" href="pyams_content.features.checker.html#pyams_content.features.checker.BaseContentChecker" title="pyams_content.features.checker.BaseContentChecker"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.features.checker.BaseContentChecker</span></code></a></p> |
|
110 <p>Themes info content checker</p> |
|
111 <dl class="method"> |
|
112 <dt id="pyams_content.component.theme.ThemesContentChecker.inner_check"> |
|
113 <code class="descname">inner_check</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.theme.ThemesContentChecker.inner_check" title="Permalink to this definition">¶</a></dt> |
|
114 <dd></dd></dl> |
|
115 |
|
116 <dl class="attribute"> |
|
117 <dt id="pyams_content.component.theme.ThemesContentChecker.label"> |
|
118 <code class="descname">label</code><em class="property"> = 'Themes'</em><a class="headerlink" href="#pyams_content.component.theme.ThemesContentChecker.label" title="Permalink to this definition">¶</a></dt> |
|
119 <dd></dd></dl> |
|
120 |
|
121 <dl class="attribute"> |
|
122 <dt id="pyams_content.component.theme.ThemesContentChecker.weight"> |
|
123 <code class="descname">weight</code><em class="property"> = 200</em><a class="headerlink" href="#pyams_content.component.theme.ThemesContentChecker.weight" title="Permalink to this definition">¶</a></dt> |
|
124 <dd></dd></dl> |
|
125 |
|
126 </dd></dl> |
|
127 |
|
128 <dl class="class"> |
|
129 <dt id="pyams_content.component.theme.ThemesInfo"> |
|
130 <em class="property">class </em><code class="descclassname">pyams_content.component.theme.</code><code class="descname">ThemesInfo</code><a class="headerlink" href="#pyams_content.component.theme.ThemesInfo" title="Permalink to this definition">¶</a></dt> |
|
131 <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> |
|
132 <p>Themes info persistent class</p> |
|
133 <dl class="attribute"> |
|
134 <dt id="pyams_content.component.theme.ThemesInfo.themes"> |
|
135 <code class="descname">themes</code><a class="headerlink" href="#pyams_content.component.theme.ThemesInfo.themes" title="Permalink to this definition">¶</a></dt> |
|
136 <dd><p>Computed attributes based on schema fields</p> |
|
137 <p>Field properties provide default values, data validation and error messages |
|
138 based on data found in field meta-data.</p> |
|
139 <p>Note that FieldProperties cannot be used with slots. They can only |
|
140 be used for attributes stored in instance dictionaries.</p> |
|
141 </dd></dl> |
|
142 |
|
143 </dd></dl> |
|
144 |
|
145 <dl class="function"> |
|
146 <dt id="pyams_content.component.theme.ThemesInfoFactory"> |
|
147 <code class="descclassname">pyams_content.component.theme.</code><code class="descname">ThemesInfoFactory</code><span class="sig-paren">(</span><em>target</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.theme.ThemesInfoFactory" title="Permalink to this definition">¶</a></dt> |
|
148 <dd><p>Themes info factory</p> |
|
149 </dd></dl> |
|
150 |
|
151 <dl class="class"> |
|
152 <dt id="pyams_content.component.theme.ThemesManager"> |
|
153 <em class="property">class </em><code class="descclassname">pyams_content.component.theme.</code><code class="descname">ThemesManager</code><a class="headerlink" href="#pyams_content.component.theme.ThemesManager" title="Permalink to this definition">¶</a></dt> |
|
154 <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> |
|
155 <p>Themes manager persistent class</p> |
|
156 <dl class="attribute"> |
|
157 <dt id="pyams_content.component.theme.ThemesManager.extract_name"> |
|
158 <code class="descname">extract_name</code><a class="headerlink" href="#pyams_content.component.theme.ThemesManager.extract_name" 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="attribute"> |
|
167 <dt id="pyams_content.component.theme.ThemesManager.thesaurus_name"> |
|
168 <code class="descname">thesaurus_name</code><a class="headerlink" href="#pyams_content.component.theme.ThemesManager.thesaurus_name" title="Permalink to this definition">¶</a></dt> |
|
169 <dd><p>Computed attributes based on schema fields</p> |
|
170 <p>Field properties provide default values, data validation and error messages |
|
171 based on data found in field meta-data.</p> |
|
172 <p>Note that FieldProperties cannot be used with slots. They can only |
|
173 be used for attributes stored in instance dictionaries.</p> |
|
174 </dd></dl> |
|
175 |
|
176 </dd></dl> |
|
177 |
|
178 <dl class="function"> |
|
179 <dt id="pyams_content.component.theme.ThemesManagerFactory"> |
|
180 <code class="descclassname">pyams_content.component.theme.</code><code class="descname">ThemesManagerFactory</code><span class="sig-paren">(</span><em>target</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.component.theme.ThemesManagerFactory" title="Permalink to this definition">¶</a></dt> |
|
181 <dd><p>Themes manager factory</p> |
|
182 </dd></dl> |
|
183 |
|
184 </div> |
|
185 </div> |
|
186 |
|
187 |
|
188 </div> |
|
189 </div> |
|
190 </div> |
|
191 <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> |
|
192 <div class="sphinxsidebarwrapper"> |
|
193 <h3><a href="index.html">Table Of Contents</a></h3> |
|
194 <ul> |
|
195 <li><a class="reference internal" href="#">pyams_content.component.theme package</a><ul> |
|
196 <li><a class="reference internal" href="#subpackages">Subpackages</a></li> |
|
197 <li><a class="reference internal" href="#submodules">Submodules</a></li> |
|
198 <li><a class="reference internal" href="#module-pyams_content.component.theme.portlet">pyams_content.component.theme.portlet module</a></li> |
|
199 <li><a class="reference internal" href="#module-pyams_content.component.theme">Module contents</a></li> |
|
200 </ul> |
|
201 </li> |
|
202 </ul> |
|
203 |
|
204 <div id="searchbox" style="display: none" role="search"> |
|
205 <h3>Quick search</h3> |
|
206 <form class="search" action="search.html" method="get"> |
|
207 <div><input type="text" name="q" /></div> |
|
208 <div><input type="submit" value="Go" /></div> |
|
209 <input type="hidden" name="check_keywords" value="yes" /> |
|
210 <input type="hidden" name="area" value="default" /> |
|
211 </form> |
|
212 </div> |
|
213 <script type="text/javascript">$('#searchbox').show(0);</script> |
|
214 </div> |
|
215 </div> |
|
216 <div class="clearer"></div> |
|
217 </div> |
|
218 <div class="related" role="navigation" aria-label="related navigation"> |
|
219 <h3>Navigation</h3> |
|
220 <ul> |
|
221 <li class="right" style="margin-right: 10px"> |
|
222 <a href="genindex.html" title="General Index" |
|
223 >index</a></li> |
|
224 <li class="right" > |
|
225 <a href="py-modindex.html" title="Python Module Index" |
|
226 >modules</a> |</li> |
|
227 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
228 </ul> |
|
229 </div> |
|
230 <div class="footer" role="contentinfo"> |
|
231 © Copyright 2017, Thierry Florac. |
|
232 Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5. |
|
233 </div> |
|
234 </body> |
|
235 </html> |
|