Home « Server software «
Documentation: articles/layout_articles.php
Class Layout_articles extends Layout_interface - Layout articles
This is the default layout for articles.This script is a reference file of this system.
Voir aussi:
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com
layout() - List articles
function &layout(&$result, $capability='?')
- &$result - resource the SQL result
- $capability='?' - string '?' or 'A', to support editors and to impersonate associates, where applicable
- returns array of resulting items, or NULL
- 'hits', compact plus the number of hits
- 'no_author', for articles in the user page
- 'category:xxx', if the list is displayed at categories/view.php
- 'mobile', for mobile devices
- 'section:xxx', if the list is displayed at sections/view.php
Voir aussi: