Home « Server software «
Documentation: articles/layout_articles_as_yabb.php
Class Layout_articles_as_yabb extends Layout_interface - Layout articles as topics in a yabb forum
This script layouts articles as topics in a discussion board.The title of each article is also a link to the article itself. A title attribute of the link displays the reference to use to link to the page (Thanks to Anatoly).
This script is a reference file of this system.
Voir aussi:
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com
Testeurs:
- Anatoly
items_per_page() - The preferred number of items for this layout
function items_per_page()
- returns 50
Voir aussi:
layout() - List articles as topics in a forum
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