Decouple Billing and S3 cloud storage stuff from Zend
This commit is contained in:
parent
49667e3d2d
commit
dbba5a7427
11 changed files with 416 additions and 344 deletions
41
airtime_mvc/application/cloud_storage/FileStorageBackend.php
Normal file
41
airtime_mvc/application/cloud_storage/FileStorageBackend.php
Normal file
|
@ -0,0 +1,41 @@
|
|||
<?php
|
||||
|
||||
class FileStorageBackend extends StorageBackend
|
||||
{
|
||||
//Stub class
|
||||
public function FileStorageBackend()
|
||||
{
|
||||
}
|
||||
|
||||
public function getAbsoluteFilePath($resourceId)
|
||||
{
|
||||
//TODO
|
||||
return $resourceId;
|
||||
}
|
||||
|
||||
public function getSignedURL($resourceId)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
public function getFileSize($resourceId)
|
||||
{
|
||||
//TODO
|
||||
return filesize($resourceId);
|
||||
}
|
||||
|
||||
public function deletePhysicalFile($resourceId)
|
||||
{
|
||||
//TODO
|
||||
}
|
||||
|
||||
public function deleteAllCloudFileObjects()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
public function getFilePrefix()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue