optionKey() public static method

Prepend the option prefix to a key.
public static optionKey ( $key ) : string
$key
return string
Exemplo n.º 1
0
?>
/>

                    <p class="description"></p>
                </td>
            </tr>
            <tr valign="top">
                <th>Enable Profiler Admin</th>
                <td>
                    <input type="hidden" name="<?php 
echo Config::optionKey('profile_admin');
?>
"
                           value="0"/>
                    <input type="checkbox" name="<?php 
echo Config::optionKey('profile_admin');
?>
"
                           value="1" <?php 
echo Config::option('profile_admin') ? 'checked="checked"' : '';
?>
/>

                    <p class="description"></p>
                </td>
            </tr>
        </table>

        <?php 
submit_button();
?>