Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

144 lignes
6.9 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>page_body — Page Body Serverside Module &mdash; Documentation</title>
  7. <link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
  8. <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
  9. <script type="text/javascript">
  10. var DOCUMENTATION_OPTIONS = {
  11. URL_ROOT: '',
  12. VERSION: '',
  13. COLLAPSE_MODINDEX: false,
  14. FILE_SUFFIX: '.html',
  15. HAS_SOURCE: true
  16. };
  17. </script>
  18. <script type="text/javascript" src="_static/jquery.js"></script>
  19. <script type="text/javascript" src="_static/doctools.js"></script>
  20. <link rel="top" title="Documentation" href="index.html" />
  21. <link rel="up" title="Server Side Internals" href="server_side_internals.html" />
  22. <link rel="next" title="form — Form Module" href="form_server.html" />
  23. <link rel="prev" title="db — Database" href="db.html" />
  24. </head>
  25. <body>
  26. <div style="background-color: #FFF; text-align: left; padding: 8px 0px"><img src="_static/banner300910.gif"></div>
  27. <div class="related">
  28. <h3>Navigation</h3>
  29. <ul>
  30. <li class="right" style="margin-right: 10px">
  31. <a href="genindex.html" title="General Index"
  32. accesskey="I">index</a></li>
  33. <li class="right" >
  34. <a href="modindex.html" title="Global Module Index"
  35. accesskey="M">modules</a> |</li>
  36. <li class="right" >
  37. <a href="form_server.html" title="form — Form Module"
  38. accesskey="N">next</a> |</li>
  39. <li class="right" >
  40. <a href="db.html" title="db — Database"
  41. accesskey="P">previous</a> |</li>
  42. <li><a href="index.html">Documentation</a> &raquo;</li>
  43. <li><a href="server_side_api.html" >3. Server Side API</a> &raquo;</li>
  44. <li><a href="server_side_internals.html" accesskey="U">Server Side Internals</a> &raquo;</li>
  45. </ul>
  46. </div>
  47. <div class="sphinxsidebar">
  48. <div class="sphinxsidebarwrapper">
  49. <h4>Previous topic</h4>
  50. <p class="topless"><a href="db.html"
  51. title="previous chapter"><tt class="docutils literal docutils literal docutils literal"><span class="pre">db</span></tt> &#8212; Database</a></p>
  52. <h4>Next topic</h4>
  53. <p class="topless"><a href="form_server.html"
  54. title="next chapter"><tt class="docutils literal docutils literal"><span class="pre">form</span></tt> &#8212; Form Module</a></p>
  55. <h3>This Page</h3>
  56. <ul class="this-page-menu">
  57. <li><a href="_sources/page_body.txt"
  58. rel="nofollow">Show Source</a></li>
  59. </ul>
  60. <div id="searchbox" style="display: none">
  61. <h3>Quick search</h3>
  62. <form class="search" action="search.html" method="get">
  63. <input type="text" name="q" size="18" />
  64. <input type="submit" value="Go" />
  65. <input type="hidden" name="check_keywords" value="yes" />
  66. <input type="hidden" name="area" value="default" />
  67. </form>
  68. <p class="searchtip" style="font-size: 90%">
  69. Enter search terms or a module, class or function name.
  70. </p>
  71. </div>
  72. <script type="text/javascript">$('#searchbox').show(0);</script>
  73. </div>
  74. </div>
  75. <div class="document">
  76. <div class="documentwrapper">
  77. <div class="bodywrapper">
  78. <div class="body">
  79. <div class="section" id="module-page_body">
  80. <h1><tt class="xref docutils literal"><span class="pre">page_body</span></tt> &#8212; Page Body Serverside Module<a class="headerlink" href="#module-page_body" title="Permalink to this headline">¶</a></h1>
  81. <dl class="data">
  82. <dt id="page_body.index_template">
  83. <tt class="descclassname">page_body.</tt><tt class="descname">index_template</tt><a class="headerlink" href="#page_body.index_template" title="Permalink to this definition">¶</a></dt>
  84. <dd>HTML Template of index.cgi</dd></dl>
  85. <dl class="function">
  86. <dt id="page_body.get_page_content">
  87. <tt class="descclassname">page_body.</tt><tt class="descname">get_page_content</tt><big>(</big><em>page</em><big>)</big><a class="headerlink" href="#page_body.get_page_content" title="Permalink to this definition">¶</a></dt>
  88. <dd>Gets the HTML content from <cite>static_content</cite> or <cite>content</cite> property of a <cite>Page</cite></dd></dl>
  89. <dl class="function">
  90. <dt id="page_body.get_doc_content">
  91. <tt class="descclassname">page_body.</tt><tt class="descname">get_doc_content</tt><big>(</big><em>dt</em>, <em>dn</em><big>)</big><a class="headerlink" href="#page_body.get_doc_content" title="Permalink to this definition">¶</a></dt>
  92. <dd>Gets the HTML content of a document record by using the overridden or standard :method: <cite>doclist.to_html</cite></dd></dl>
  93. <dl class="function">
  94. <dt id="page_body.get_static_content">
  95. <tt class="descclassname">page_body.</tt><tt class="descname">get_static_content</tt><big>(</big><big>)</big><a class="headerlink" href="#page_body.get_static_content" title="Permalink to this definition">¶</a></dt>
  96. <dd>Returns the static content from the permalink using the <cite>page</cite> property of the URL (webnotes.form)</dd></dl>
  97. <dl class="function">
  98. <dt id="page_body.get">
  99. <tt class="descclassname">page_body.</tt><tt class="descname">get</tt><big>(</big><big>)</big><a class="headerlink" href="#page_body.get" title="Permalink to this definition">¶</a></dt>
  100. <dd>returns the full rendered index.cgi
  101. Gets <cite>keywords</cite> and <cite>site_description</cite> from the <cite>Control Panel</cite></dd></dl>
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. <div class="clearer"></div>
  107. </div>
  108. <div class="related">
  109. <h3>Navigation</h3>
  110. <ul>
  111. <li class="right" style="margin-right: 10px">
  112. <a href="genindex.html" title="General Index"
  113. >index</a></li>
  114. <li class="right" >
  115. <a href="modindex.html" title="Global Module Index"
  116. >modules</a> |</li>
  117. <li class="right" >
  118. <a href="form_server.html" title="form — Form Module"
  119. >next</a> |</li>
  120. <li class="right" >
  121. <a href="db.html" title="db — Database"
  122. >previous</a> |</li>
  123. <li><a href="index.html">Documentation</a> &raquo;</li>
  124. <li><a href="server_side_api.html" >3. Server Side API</a> &raquo;</li>
  125. <li><a href="server_side_internals.html" >Server Side Internals</a> &raquo;</li>
  126. </ul>
  127. </div>
  128. <div class="footer">
  129. &copy; Copyright 2010, Rushabh Mehta.
  130. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.3.
  131. </div>
  132. </body>
  133. </html>