目次 |
---|
・link |
<?php echo $html->link('Enter', '/pages/home', array('class'=>'button')); ?>そうすると、以下のように展開されます。
<a href="/ja/pages/home" class="button">Enter</a>
<?php echo $html->link( $html->image("recipes/6.jpg", array("alt" => "Brownies")), "/recipes/view/6", array(), false, false ); ?>そうすると、以下のように展開されます。
<a href="/ja/recipes/view/6"> <img src="/img/recipes/6.jpg" alt="Brownies" /> </a>