wb-archiv283/branches/2.8.x/wb/include/quickSkin_alpha/_lib/qx/qx_trim.php @ 1585
1 |
<?php
|
---|---|
2 |
/**
|
3 |
* QuickSkin Extension trim
|
4 |
* Removes leading and trailing Whitespaces and Line Feeds
|
5 |
*
|
6 |
* Usage Example:
|
7 |
* Content: $template->assign('LINK', ' Click Here ');
|
8 |
* Template: <a href="/">{trim:LINK}</a>
|
9 |
* Result: <a href="/">Click Here</a>
|
10 |
*
|
11 |
* @author Andy Prevost andy@codeworxtech.com - original by Philipp v. Criegern philipp@criegern.de
|
12 |
*/
|
13 |
function qx_trim ( $param ) { |
14 |
return trim( $param ); |
15 |
}
|