Home « Server software «
Documentation: skins/layout.php
Class Layout_interface - Layout interface definition
This script is a reference file of this system.
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 the optimised count of items for this layout
layout() - Layout one set of results
function layout($result, $capability='?')
- $result - resource the SQL result of some query
- $capability='?' - string '?' or 'A', to support editors and to impersonate associates, where applicable
- returns string the rendered text
skins/layout.php - The variant for this layout, if any
set_variant() - Change the behaviour of this layout
function set_variant($variant = '')
- $variant = '' - string the variant for this layout, if any
- returns void