ProShell v2.0
Dashboard
Server Info
Server: 158.106.128.192
PHP: 8.2.33
home
planet5
public_html
bansibaba.com
2026-09-12 15:08:36
Editing: Video.php
Cancel
Save Changes
<?php /** * Class represents records from table files * "path" field may contain numeric id - from the uploads table * {autogenerated} * @property int $video_id * @property string $title * @property string $desc * @property string $path * @property int $size * @property string $display_type * @property datetime $dattm * @property bool $hide * @see Am_Table */ class Video extends ResourceAbstractFile { public function getAccessType() { return ResourceAccess::VIDEO; } public function getUrl() { $type = $this->mime == 'audio/mpeg' ? 'audio' : 'video'; return REL_ROOT_URL . "/$type/p/id/" . $this->video_id; } } class VideoTable extends ResourceAbstractTable { protected $_key = 'video_id'; protected $_table = '?_video'; protected $_recordClass = 'Video'; }
Upload Files
Cancel
Upload
Create New
Cancel
Create
Change Permissions
Cancel
Save
Change Date
Cancel
Save
Rename Item
Cancel
Save
Confirm Delete
Are you sure you want to delete the selected items?
Cancel
Delete