PluginProbe
GetResponse Forms by Optin Cat / 1.3.8
GetResponse Forms by Optin Cat v1.3.8
1.3.4 1.3.5 1.3.6 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6.1 1.6.2 1.6.3 1.7.0 1.7.1 1.7.2 1.8.0 1.8.1 2.0.0 All 36 releases
getresponse / includes / classes / kint / decorators / concise.php

concise.php in GetResponse Forms by Optin Cat 1.3.8, at includes/classes/kint/decorators/concise.php

58 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 class Kint_Decorators_Concise extends Kint
3 {
4 /**
5 * output:
6 *
7 * [value]
8 *
9 * value [title="[access] [name] [operator *] [subtype] [size] "]
10 * OR
11 * type [title="[access] [name] type [operator *] [subtype] [size] "]
12 * <ul>extendedValue
13 *
14 * @param kintVariableData $kintVar
15 *
16 * @return string
17 */
18 public static function decorate( kintVariableData $kintVar )
19 {
20 if ( $kintVar->extendedValue !== null || !empty( $kintVar->alternatives ) ) {
21 return Kint_Decorators_Rich::decorate( $kintVar );
22 }
23
24 if ( $kintVar->value !== null ) {
25 $output = '<span title="';
26
27 if ( $kintVar->access !== null ) {
28 $output .= $kintVar->access . " ";
29 }
30
31 if ( $kintVar->name !== null ) {
32 $output .= $kintVar->name . " ";
33 }
34
35 if ( $kintVar->type !== null ) {
36 $output .= $kintVar->type;
37 if ( $kintVar->subtype !== null ) {
38 $output .= " " . $kintVar->subtype;
39 }
40 $output .= " ";
41 }
42
43 if ( $kintVar->operator !== null ) {
44 $output .= $kintVar->operator . "";
45 }
46
47 if ( $kintVar->size !== null ) {
48 $output .= "(" . $kintVar->size . ") ";
49 }
50
51 $output = trim( $output ) . '">' . $kintVar->value . '</span>';
52 } else {
53 $output = '<u>NULL</u>';
54 }
55
56 return $output;
57 }
58 }