mirror of
https://github.com/bcit-ci/CodeIgniter.git
synced 2025-02-20 11:13:29 +08:00
Updated button to (markdown)
parent
366237bd6c
commit
7da6d283c5
@ -11,8 +11,8 @@ It has great value in lists of records that have options that are not "elegant"
|
||||
<?php echo button_to('Button value' , 'controller/action' , array('hidden_name' => 'value' )) ?>
|
||||
|
||||
<!-- Personalized -->
|
||||
<?php echo button_to( array('value' => 'Button value', 'class' => 'css Class') , 'controller/action',
|
||||
array('hidden_name' => 'value' )) ?>
|
||||
<?php echo button_to( array('value' => 'Button value', 'class' => 'css Class') ,
|
||||
'controller/action', array('hidden_name' => 'value' )) ?>
|
||||
|
||||
|
||||
<h3>Helper code:</h3>
|
||||
@ -25,7 +25,8 @@ It has great value in lists of records that have options that are not "elegant"
|
||||
* @access public
|
||||
* @param mixed button's value or array with html configuration
|
||||
* @param string (module/)controller/action to post.
|
||||
* @param string associative array (hash) with key equals to hidden field's name and value equals to hidden's value.
|
||||
* @param string associative array (hash) with key equals to hidden field's name
|
||||
and value equals to hidden's value.
|
||||
* @return string
|
||||
*/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user