You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

27 regels
696 B

  1. :mod:`page` --- Page Module
  2. =============================
  3. .. module:: page
  4. :synopsis: Contains the Page class and other methods related to :term:`Page`
  5. .. class:: Page(name)
  6. A page class helps in loading a Page in the system. On loading
  7. * Page will import Client Script from other pages where specified by `$import(page_name)`
  8. * Execute dynamic HTML if the `content` starts with `#python`
  9. .. method:: load()
  10. Returns :term:`doclist` of the `Page`
  11. Internal Methods
  12. ----------------
  13. .. method:: get(name)
  14. Return the :term:`doclist` of the `Page` specified by `name`
  15. .. method:: getpage()
  16. Load the page from `webnotes.form` and send it via `webnotes.response`