GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
If this file is called directly, abort. More...
Public Member Functions | |
callback ( $atts, $content='', $tag='') | |
Process and output the [gvfield] shortcode. More... | |
Public Member Functions inherited from Shortcode | |
callback ( $atts, $content='', $tag='') | |
The WordPress Shortcode API callback for this shortcode. More... | |
Static Public Member Functions | |
static | add ( $name=null) |
Static Public Member Functions inherited from Shortcode | |
static | add ( $name=null) |
Register this shortcode class with the WordPress Shortcode API. More... | |
static | parse ( $content) |
Parse a string of content and figure out which ones there are. More... | |
static | remove () |
Unregister this shortcode. More... | |
Data Fields | |
$name = 'gvlogic' | |
Data Fields inherited from Shortcode | |
$atts | |
$content | |
$name | |
Private Member Functions | |
authorized ( $atts) | |
Are we authorized to follow the if path? More... | |
get_operator ( $atts) | |
Fetch the operator. More... | |
get_operators ( $with_values=false) | |
Get array of supported operators. More... | |
get_output ( $match, $atts, $content) | |
Get the output content. More... | |
get_value ( $atts) | |
Fetch the value. More... | |
parse_atts ( $atts, $content, $tag) | |
Process the attributes passed to the shortcode. More... | |
If this file is called directly, abort.
The [gvlogic] shortcode.
Definition at line 12 of file class-gv-shortcode-gvlogic.php.
|
static |
...some aliases.
Definition at line 21 of file class-gv-shortcode-gvlogic.php.
|
private |
Are we authorized to follow the if path?
array | $atts | The attributes. |
Definition at line 128 of file class-gv-shortcode-gvlogic.php.
References Shortcode\$atts, and Utils\get().
Referenced by gvlogic\callback().
callback | ( | $atts, | |
$content = '' , |
|||
$tag = '' |
|||
) |
Process and output the [gvfield] shortcode.
array | $atts | The attributes passed. |
string | $content | The content inside the shortcode. |
string | $tag | The tag. |
Definition at line 41 of file class-gv-shortcode-gvlogic.php.
References Shortcode\$atts, Shortcode\$content, $output, $value, gvlogic\authorized(), Utils\get(), gvlogic\get_operator(), gvlogic\get_output(), gvlogic\get_value(), gravityview(), gv_map_deep(), GVCommon\matches_operation(), gvlogic\parse_atts(), and GravityView_Merge_Tags\replace_get_variables().
|
private |
Fetch the operator.
array | $atts | The attributes. |
Definition at line 146 of file class-gv-shortcode-gvlogic.php.
References Shortcode\$atts, $value, and gvlogic\get_operators().
Referenced by gvlogic\callback().
|
private |
Get array of supported operators.
bool | $with_values |
Definition at line 285 of file class-gv-shortcode-gvlogic.php.
Referenced by gvlogic\get_operator(), gvlogic\get_value(), and gvlogic\parse_atts().
|
private |
Get the output content.
bool | $match | if or else? |
array | $atts | The attributes. |
string | $content | The content. |
Definition at line 194 of file class-gv-shortcode-gvlogic.php.
References Shortcode\$atts, Shortcode\$content, and gravityview().
Referenced by gvlogic\callback().
|
private |
Fetch the value.
array | $atts | The attributes. |
Definition at line 169 of file class-gv-shortcode-gvlogic.php.
References Shortcode\$atts, $value, and gvlogic\get_operators().
Referenced by gvlogic\callback().
|
private |
Process the attributes passed to the shortcode.
Make sure they're valid
gravityview/gvlogic/atts
The logic attributes.array | $atts | The logic attributes. |
Definition at line 309 of file class-gv-shortcode-gvlogic.php.
References Shortcode\$atts, and gvlogic\get_operators().
Referenced by gvlogic\callback().
$name = 'gvlogic' |
Definition at line 16 of file class-gv-shortcode-gvlogic.php.