Documentation : articles/layout_articles.php
Class Layout_articles extends Layout_interface - Layout articles
This is the default layout for articles (Decorated).This script is a reference file of this system.
Voir aussi :
Licence : GNU Lesser General Public License
Auteurs :
- Bernard Paques bernard.paques@bigfoot.com
- GnapZ
- Thierry Pinelli (ThierryP)
layout() - List articles
function &layout(&$result)
- &$result - resource the SQL result
- 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 :