Abstract Class Socialveo\Core\helpers\MediaUploaderHelper

InheritanceSocialveo\Core\helpers\MediaUploaderHelper
Uses TraitsSocialveo\Core\Translatable
SubclassesSocialveo\Core\helpers\CommentsHelper, Socialveo\Core\helpers\MessagesHelper, Socialveo\Core\helpers\PostsHelper

Class MediaUploaderHelper

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$target_type string Socialveo\Core\helpers\MediaUploaderHelper

Public Methods

Hide inherited methods

MethodDescriptionDefined By
_t() Gets translations Socialveo\Core\Translatable
deleteUploadedFile() Delete early uploaded file Socialveo\Core\helpers\MediaUploaderHelper
t() Gets translations Socialveo\Core\Translatable
uploadFile() Uploads first uploaded file. Socialveo\Core\helpers\MediaUploaderHelper

Property Details

$target_type public static property
public static string $target_type ''

Method Details

deleteUploadedFile() public static method

Delete early uploaded file

public static true deleteUploadedFile ( $user_uuid, $media_uuid )
$user_uuid string
$media_uuid string
throws Exception
uploadFile() public static method

Uploads first uploaded file.

Used by ajax

public static Socialveo\Core\models\Media uploadFile ( $network )
$network Socialveo\Core\models\Network|Socialveo\Core\models\MessagesDialogs
throws Exception
throws Socialveo\Core\exceptions\UploadException