[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 Input: static, offset=static, length=static 2 {array( 1, 2, 3, 4, 5, 6 )|extract( 2 )|implode( ',' )} 3 {array( 1, 2, 3, 4, 5, 6 )|extract( 2, 2 )|implode( ',' )} 4 {array( 1, 2, 3, 4, 5, 6 )|extract( 4, 4 )|implode( ',' )} 5 {array( 1, 2, 3, 4, 5, 6 )|extract_left( 3 )|implode( ',' )} 6 {array( 1, 2, 3, 4, 5, 6 )|extract_right( 3 )|implode( ',' )} 7 =============================================== 8 Input: non-static, offset=static, length=static 9 10 {let arr=array( 1, 2, 3, 4, 5, 6 )} 11 {$arr|extract( 2 )|implode( ',' )} 12 {$arr|extract( 2, 2 )|implode( ',' )} 13 {$arr|extract( 4, 4 )|implode( ',' )} 14 {$arr|extract_left( 3 )|implode( ',' )} 15 {$arr|extract_right( 3 )|implode( ',' )} 16 17 {/let} 18 =============================================== 19 Input: non-static, offset=non-static, length=static 20 21 {let arr=array( 1, 2, 3, 4, 5, 6 ) offs='2'} 22 {$arr|extract( $offs )|implode( ',' )} 23 {$arr|extract( $offs, 2 )|implode( ',' )} 24 {$arr|extract( sum( $offs, 2 ), 4 )|implode( ',' )} 25 {$arr|extract_left( $offs|inc )|implode( ',' )} 26 {$arr|extract_right( $offs|inc )|implode( ',' )} 27 28 {/let} 29 =============================================== 30 Input: non-static, offset=non-static, length=non-static 31 32 {let arr=array( 1, 2, 3, 4, 5, 6 ) offs='2' len='2'} 33 {$arr|extract( $offs )|implode( ',' )} 34 {$arr|extract( $offs, $len )|implode( ',' )} 35 {$arr|extract( sum( $offs, 2 ), sum( $len, 2 ) )|implode( ',' )} 36 {$arr|extract_left( $offs|inc )|implode( ',' )} 37 {$arr|extract_right( $offs|inc )|implode( ',' )} 38 39 {/let} 40 ===============================================
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 |