REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 946 B
Close
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/elementor/modules/variables/storage/variables-repository.php
Text
Base64
<?php namespace Elementor\Modules\Variables\Storage; use Elementor\Core\Kits\Documents\Kit; use Elementor\Modules\Variables\Adapters\Prop_Type_Adapter; class Variables_Repository { private Kit $kit; public function __construct( Kit $kit ) { $this->kit = $kit; } public function load(): Variables_Collection { $db_record = $this->kit->get_json_meta( Constants::VARIABLES_META_KEY ); if ( is_array( $db_record ) && ! empty( $db_record ) ) { $collection = Variables_Collection::hydrate( $db_record ); Prop_Type_Adapter::from_storage( $collection ); return $collection; } return Variables_Collection::default(); } public function save( Variables_Collection $collection ) { $collection->increment_watermark(); $record = Prop_Type_Adapter::to_storage( $collection ); if ( $this->kit->update_json_meta( Constants::VARIABLES_META_KEY, $record ) ) { return $collection->watermark(); } return false; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 2 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
entities
DIR
-
drwxr-xr-x
2026-06-10 02:40:26
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
exceptions
DIR
-
drwxr-xr-x
2026-06-10 02:40:26
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
constants.php
331 B
lrw-r--r--
2026-03-30 13:49:26
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
repository.php
13.36 KB
lrw-r--r--
2026-03-30 13:49:26
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
variables-collection.php
3.86 KB
lrw-r--r--
2026-03-30 13:49:26
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
variables-repository.php
946 B
lrw-r--r--
2026-03-30 13:49:26
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).