[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
presto-player
/
inc
/
Models
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 AudioPreset.php
4,104 B
SET
[ EDIT ]
|
[ DEL ]
📄 Block.php
582 B
SET
[ EDIT ]
|
[ DEL ]
📄 CurrentUser.php
561 B
SET
[ EDIT ]
|
[ DEL ]
📄 EmailCollection.php
1,677 B
SET
[ EDIT ]
|
[ DEL ]
📄 Model.php
19,674 B
SET
[ EDIT ]
|
[ DEL ]
📄 ModelInterface.php
2,107 B
SET
[ EDIT ]
|
[ DEL ]
📄 Player.php
1,726 B
SET
[ EDIT ]
|
[ DEL ]
📄 Post.php
3,042 B
SET
[ EDIT ]
|
[ DEL ]
📄 Preset.php
4,900 B
SET
[ EDIT ]
|
[ DEL ]
📄 ReusableVideo.php
7,923 B
SET
[ EDIT ]
|
[ DEL ]
📄 Setting.php
2,252 B
SET
[ EDIT ]
|
[ DEL ]
📄 Video.php
5,325 B
SET
[ EDIT ]
|
[ DEL ]
📄 Webhook.php
1,749 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: ModelInterface.php
<?php namespace PrestoPlayer\Models; interface ModelInterface { /** * Sets attributes in the model * * @param array $args * @return ModelInterface */ public function set( $args ); /** * Gets a model from the database * * @param integer $id * @return ModelInterface */ public function get( $id ); /** * Attempt to locate a database record using the given * column / value pairs. If the model can NOT be found * in the database, a record will be inserted with * the attributes resulting from merging the first array * argument with the optional second array argument. * * @param array $search Model to search for * @param array $create Attributes to create * @return void */ public function firstOrCreate( $search, $create ); /** * Re-retrieve the instance from the database * * @return ModelInterface */ public function fresh(); /** * Fetch all models from the database * * @return array Array of ModelInterface objects */ public function all(); /** * Fetch models from the database * * @param array $args * @return array Array of ModelInterface objects */ public function fetch( $args ); /** * Create a new model in the database * * @param array $args * @return int ID of the created model */ public function create( $args ); /** * Convenience function to create and get model * * @param array $args Model creation args * @return Model */ public function createAndGet( $args ); /** * Update an existing model or create a new model if no matching model exists * * @param array $search * @param array $create * @return Model */ public function updateOrCreate( $search, $create ); /** * Update a model in the database * * @param array $args * @return ModelInterface */ public function update( $args ); /** * Trash a model * * @return ModelInterface */ public function trash(); /** * Untrash a model * * @return ModelInterface */ public function untrash(); /** * Permanently delete a model * * @return bool */ public function delete(); }