[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/tests/eztemplate/operators/ -> begins_with.tpl (source)

   1  array( 1, 2, 3, 4 )|begins_with( 1, 2 )='{array( 1, 2, 3, 4 )|begins_with( 1, 2 )}'
   2  
   3  {let kake=4}
   4  array( 1, 2, 3, $kake )|begins_with( 1, 2 )='{array( 1, 2, 3, $kake )|begins_with( 1, 2 )}'
   5  {/let}
   6  
   7  array( 1, 2, 3, 4 )|begins_with( 2, 1 )='{array( 1, 2, 3, 4 )|begins_with( 2, 1 )}'
   8  
   9  {let kake=4}
  10  array( 1, 2, 3, $kake )|begins_with( 2, 1 )='{array( 1, 2, 3, $kake )|begins_with( 2, 1 )}'
  11  {/let}
  12  
  13  "Kake mann"|begins_with( "Kake" )='{"Kake mann"|begins_with( "Kake" )}'
  14  
  15  {let arr="Kake mann"}
  16  $arr|begins_with( "Kake" )='{$arr|begins_with( "Kake" )}'
  17  {/let}
  18  
  19  "Kake mann"|begins_with( "mann" )='{"Kake mann"|begins_with( "mann" )}'
  20  
  21  {let arr="Kake mann"}
  22  $arr|begins_with( "mann" )='{$arr|begins_with( "mann" )}'
  23  {/let}
  24  
  25  
  26  {let request_uri_string='content/view/full/98' show_subtree='blog' show_subtree2='content'}
  27  $request_uri_string|begins_with( $show_subtree )='{$request_uri_string|begins_with( $show_subtree )}'
  28  $request_uri_string|begins_with( $show_subtree2 )='{$request_uri_string|begins_with( $show_subtree2 )}'
  29  {/let}
  30  
  31  
  32  {let request_uri_array=array( 'content', 'view', 'full', '98' ) show_subtree='blog' show_subtree2='content'}
  33  $request_uri_array|begins_with( $show_subtree )='{$request_uri_array|begins_with( $show_subtree )}'
  34  $request_uri_array|begins_with( $show_subtree2 )='{$request_uri_array|begins_with( $show_subtree2 )}'
  35  {/let}


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7