Home « Server software «
Documentation: comments/layout_comments_as_manual.php
Class Layout_comments_as_manual extends Layout_interface - Layout comments as notes attached to pages of an electronic book
Comments are listed as successive reader notes. At the beginning and at the end of the list links are available to add new comments.The layout features a definition list of style class
manual_comments,
and uses odd and even style classes for rendering options of main components.Each note is layered as follows:
<dt>## <- link to the note, followed by poster and date, then by change menu</dt>
<dd>note main text goes here
other details go here, if any</dd>
This script is a reference file of this system.
Voir aussi:
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com
items_per_page() - The preferred number of items for this layout
function items_per_page()
- returns int the optimised count of items fro this layout
Voir aussi:
layout() - List comments as successive reader notes
function &layout(&$result, $capability='?')
- &$result - resource the SQL result
- $capability='?' - string '?' or 'A', to support editors and to impersonate associates, where applicable
- returns string the rendered text
Voir aussi: