classes/models/FrmEntryValues.php 1 location
|
@@ 139-145 (lines=7) @@
|
| 136 |
|
* |
| 137 |
|
* @param array $atts |
| 138 |
|
*/ |
| 139 |
|
protected function init_source( $atts ) { |
| 140 |
|
if ( isset( $atts['source'] ) && is_string( $atts['source'] ) && $atts['source'] !== '' ) { |
| 141 |
|
$this->source = (string) $atts['source']; |
| 142 |
|
} else { |
| 143 |
|
$this->source = 'general'; |
| 144 |
|
} |
| 145 |
|
} |
| 146 |
|
|
| 147 |
|
/** |
| 148 |
|
* Prepare an array property value, such as include_fields and exclude_fields |
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 |