Project

General

Profile

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
  }
16

    
17
?>
(36-36/40)