wb-archiv283/tags/2.8.3/wb/include/quickSkin_alpha/_lib/qx/qx_vardump.php @ 1657
1 |
<?php
|
---|---|
2 |
/**
|
3 |
* QuickSkin Extension vardump
|
4 |
* Prints variable content for debug purpose
|
5 |
*
|
6 |
* Usage Example I:
|
7 |
* Content: $template->assign('test', array( "name1", "value1", "name2", "value2" ) );
|
8 |
*
|
9 |
* Template: DEBUG: {vardump:test}
|
10 |
*
|
11 |
* Result: DEBUG: Array
|
12 |
* (
|
13 |
* [name1] => value1
|
14 |
* [name2] => value2
|
15 |
* )
|
16 |
*
|
17 |
* @author Andy Prevost andy@codeworxtech.com - original by Philipp v. Criegern philipp@criegern.de
|
18 |
*/
|
19 |
function qx_vardump ( $param ) { |
20 |
return '<pre>' . print_r($param, true) . '</pre>'; |
21 |
}
|
- « Previous
- 1
- …
- 41
- 42
- 43
- Next »