Property | Type | Description | |
---|---|---|---|
$overwrite | array | The fields that should be overwritten. |
Method | Description | |
---|---|---|
__construct ( ) | The constructor. |
Method | Description | |
---|---|---|
decode_property ( string $key, string $value ) : mixed | Decode property. | |
get_post_data ( string $pattern = '/^papi\_.*/' ) : array | Get post data. | |
get_pre_data ( ) | Get pre data that should be saved before all properties data. | |
get_pre_deep_keys_value ( array $arr ) : array | Pre get deep keys and value. | |
prepare_post_data ( mixed $data ) : mixed | Prepare post data. | |
prepare_properties_data ( array $data = [], integer $post_id ) : array | Prepare properties data for saving. | |
santize_data ( mixed $value ) : mixed | Sanitize data before saving it. | |
setup_actions ( ) | Setup actions. |
protected get_post_data ( string $pattern = '/^papi\_.*/' ) : array | ||
$pattern | string | |
return | array |
protected get_pre_data ( ) |
protected get_pre_deep_keys_value ( array $arr ) : array | ||
$arr | array | |
return | array |
protected prepare_post_data ( mixed $data ) : mixed | ||
$data | mixed | |
return | mixed |
protected santize_data ( mixed $value ) : mixed | ||
$value | mixed | |
return | mixed |
protected array $overwrite | ||
return | array |