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