[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 *Title: tipafriend_top_list extended fetch function 2 3 *Documentation: 4 New field 'requested' which contain time-stamp of added table entry was added to 5 eztipafriend_counter table. This gives possibility to fetch top list of requested 6 nodes for a certain time duration. 7 Accordingly, content/tipafriend_top_list fetch function was extened with new parameters. 8 9 *Usage: 10 11 fetch( 'content', 'tipafriend_top_list', 12 hash( [ 'offset', offset, ] 13 [ 'limit', limit, ] 14 [ 'start_time', start_time, ] 15 [ 'end_time', end_time, ] 16 [ 'duration', duration, ] 17 [ 'ascending', ascending, ] 18 [ 'extended', extended, ] 19 ) ) 20 *Parameters: 21 Name: Type: Required: 22 offset integer no 23 limit integer no 24 start_time integer no 25 end_time integer no 26 duration integer no 27 ascending boolean no 28 extended boolean no 29 30 31 *Example: 32 33 {def $tip_top_list=fetch( 'content', 34 'tipafriend_top_list', 35 hash( 'offset', 2, 36 'limit', 4, 37 'start_time', maketime( 0, 0, 0 ), 38 'duration', mul( 60, 60, 24 ), 39 'ascending', 0, 40 'extended', true() ) ) } 41 { $tip_top_list | attribute( show, 1 ) } 42 {undef} 43
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |