doc/book/en/devweb/views/views.rst
branchstable
changeset 8480 086cff6a306a
parent 8419 dd222fcc85d3
child 8535 268b6349baf3
equal deleted inserted replaced
8479:19cc6eb51783 8480:086cff6a306a
    30 
    30 
    31 
    31 
    32 Basic class for views
    32 Basic class for views
    33 ~~~~~~~~~~~~~~~~~~~~~
    33 ~~~~~~~~~~~~~~~~~~~~~
    34 
    34 
    35 Class `View` (`cubicweb.view`)
    35 Class :class:`~cubicweb.view.View`
    36 ```````````````````````````````
    36 ``````````````````````````````````
    37 
    37 
    38 .. autoclass:: cubicweb.view.View
    38 .. autoclass:: cubicweb.view.View
    39 
    39 
    40 The basic interface for views is as follows (remember that the result
    40 The basic interface for views is as follows (remember that the result
    41 set has a tabular structure with rows and columns, hence cells):
    41 set has a tabular structure with rows and columns, hence cells):
    63 
    63 
    64 * `page_title()`, returns the title to use in the HTML header `title`
    64 * `page_title()`, returns the title to use in the HTML header `title`
    65 
    65 
    66 Other basic view classes
    66 Other basic view classes
    67 ````````````````````````
    67 ````````````````````````
    68 Here are some of the subclasses of :ref:`View` defined in :ref:`cubicweb.view`
    68 Here are some of the subclasses of :class:`~cubicweb.view.View` defined in :mod:`cubicweb.view`
    69 that are more concrete as they relate to data rendering within the application:
    69 that are more concrete as they relate to data rendering within the application:
    70 
    70 
    71 .. autoclass:: cubicweb.view.EntityView
    71 .. autoclass:: cubicweb.view.EntityView
    72 .. autoclass:: cubicweb.view.StartupView
    72 .. autoclass:: cubicweb.view.StartupView
    73 .. autoclass:: cubicweb.view.EntityStartupView
    73 .. autoclass:: cubicweb.view.EntityStartupView