Aller au contenu principal Aide Panneau de contrôle

A+   A-

Logiciel serveur «  

Documentation : articles/layout_articles_as_hardboiled.php

Class Layout_articles_as_hardboiled extends Layout_interface - Customized layout for articles

The two very first articles are displayed side-by-side, with a thumbnail image if one is present.

Subsequent articles are listed below an horizontal line, as per decorated layout.

This script is a reference file of this system.

Licence : GNU Lesser General Public License

Auteurs :

items_per_page() - The preferred number of items for this layout

function items_per_page()

  • returns 9 - two last articles first, plus 7 other pages



Voir aussi :

layout() - List articles as boxesandarrows do

function &layout(&$result)

  • &$result - resource the SQL result
  • returns string the rendered text



Voir aussi :

layout_newest() - Layout one of the newest articles

function layout_newest($item, $anchor)

  • $item - array the article
  • $anchor - object the anchor of this article, if any
  • returns string the rendered text


tn