Home « Server software «
Documentation: articles/layout_articles_as_alistapart.php
Class Layout_articles_as_alistapart extends Layout_interface - Layout articles as alistapart do
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 100 - this layout has no navigation bar
Voir aussi:
layout() - List articles as alistapart did
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:
layout_newest() - Layout the newest articles
function layout_newest($item, $capability='?')
- $item - array the article
- $capability='?' - string '?' or 'A', to support editors and to impersonate associates, where applicable
- returns string the rendered text