classes/models/FrmFieldValue.php 1 location
|
@@ 69-75 (lines=7) @@
|
| 66 |
|
* |
| 67 |
|
* @param array $atts |
| 68 |
|
*/ |
| 69 |
|
protected function init_source( $atts ) { |
| 70 |
|
if ( isset( $atts['source'] ) && is_string( $atts['source'] ) && $atts['source'] !== '' ) { |
| 71 |
|
$this->source = (string) $atts['source']; |
| 72 |
|
} else { |
| 73 |
|
$this->source = 'general'; |
| 74 |
|
} |
| 75 |
|
} |
| 76 |
|
|
| 77 |
|
/** |
| 78 |
|
* Initialize the saved_value property |
classes/models/FrmEntryValues.php 1 location
|
@@ 138-144 (lines=7) @@
|
| 135 |
|
* |
| 136 |
|
* @param array $atts |
| 137 |
|
*/ |
| 138 |
|
protected function init_source( $atts ) { |
| 139 |
|
if ( isset( $atts['source'] ) && is_string( $atts['source'] ) && $atts['source'] !== '' ) { |
| 140 |
|
$this->source = (string) $atts['source']; |
| 141 |
|
} else { |
| 142 |
|
$this->source = 'general'; |
| 143 |
|
} |
| 144 |
|
} |
| 145 |
|
|
| 146 |
|
/** |
| 147 |
|
* Prepare an array property value, such as include_fields and exclude_fields |
classes/models/FrmEntryShortcodeFormatter.php 1 location
|
@@ 115-121 (lines=7) @@
|
| 112 |
|
* |
| 113 |
|
* @param array $atts |
| 114 |
|
*/ |
| 115 |
|
protected function init_format( $atts ) { |
| 116 |
|
if ( isset( $atts['format'] ) && is_string( $atts['format'] ) && $atts['format'] !== '' ) { |
| 117 |
|
$this->format = $atts['format']; |
| 118 |
|
} else { |
| 119 |
|
$this->format = 'text'; |
| 120 |
|
} |
| 121 |
|
} |
| 122 |
|
|
| 123 |
|
/** |
| 124 |
|
* Initialize the table_generator property |