wb-archiv283/branches/2.8.x/wb/include/quickSkin/_lib/qx/qx_uppercase.php @ 1546
| 1 | 1546 | Luisehahne | <?php
|
|---|---|---|---|
| 2 | /**
|
||
| 3 | * QuickSkin Extension uppercase
|
||
| 4 | * Converts String to uppercase
|
||
| 5 | *
|
||
| 6 | * Usage Example:
|
||
| 7 | * Content: $template->assign('NAME', 'John Doe');
|
||
| 8 | * Template: Username: {uppercase:NAME}
|
||
| 9 | * Result: Username: JOHN DOE
|
||
| 10 | *
|
||
| 11 | * @author Andy Prevost andy@codeworxtech.com - original by Philipp v. Criegern philipp@criegern.de
|
||
| 12 | */
|
||
| 13 | function qx_uppercase ( $param ) { |
||
| 14 | return strtoupper( $param ); |
||
| 15 | }
|
||
| 16 | |||
| 17 | ?>
|