{dump…}

Description

Outputs the value of a given variable name.

Usage

1
{dump var="variable_name"}
{dump var="variable_name"}

Parameters

var

(string) (required) The name of the variable.
NOTE: you can use asterisk (*) to output all available variables.

Return Value

(object) The value of the requested variable.

Example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{dump var="foo"}# output the value of a variable
 
{dump var="foo"}
 
{dump var="{$some_variable}"}
 
 
# output variables contained in the POST or GET global objects
 
{dump var="POST"}
 
{dump var="GET"}
 
 
# output values in the current page or post
 
{dump var="post"}
 
 
# output all variables defined in the page
 
{dump var="*"}
{dump var="foo"}# output the value of a variable

{dump var="foo"}

{dump var="{$some_variable}"}


# output variables contained in the POST or GET global objects

{dump var="POST"}

{dump var="GET"}


# output values in the current page or post

{dump var="post"}


# output all variables defined in the page

{dump var="*"}

Back to Appcropolis Framework Overview