mirror of
https://github.com/friendica/friendica
synced 2025-04-27 12:30:11 +00:00
@brief is removed completely
This commit is contained in:
parent
fd1f1999f0
commit
0a4119adaf
170 changed files with 901 additions and 962 deletions
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* @file src/Model/Storage/Filesystem.php
|
||||
* @brief Storage backend system
|
||||
* Storage backend system
|
||||
*/
|
||||
|
||||
namespace Friendica\Model\Storage;
|
||||
|
@ -11,7 +11,7 @@ use Psr\Log\LoggerInterface;
|
|||
use Friendica\Database\Database as DBA;
|
||||
|
||||
/**
|
||||
* @brief Database based storage system
|
||||
* Database based storage system
|
||||
*
|
||||
* This class manage data stored in database table.
|
||||
*/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* @file src/Model/Storage/Filesystem.php
|
||||
* @brief Storage backend system
|
||||
* Storage backend system
|
||||
*/
|
||||
|
||||
namespace Friendica\Model\Storage;
|
||||
|
@ -12,7 +12,7 @@ use Friendica\Util\Strings;
|
|||
use Psr\Log\LoggerInterface;
|
||||
|
||||
/**
|
||||
* @brief Filesystem based storage backend
|
||||
* Filesystem based storage backend
|
||||
*
|
||||
* This class manage data on filesystem.
|
||||
* Base folder for storage is set in storage.filesystem_path.
|
||||
|
@ -52,7 +52,7 @@ class Filesystem extends AbstractStorage
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief Split data ref and return file path
|
||||
* Split data ref and return file path
|
||||
*
|
||||
* @param string $reference Data reference
|
||||
*
|
||||
|
@ -69,7 +69,7 @@ class Filesystem extends AbstractStorage
|
|||
|
||||
|
||||
/**
|
||||
* @brief Create dirctory tree to store file, with .htaccess and index.html files
|
||||
* Create dirctory tree to store file, with .htaccess and index.html files
|
||||
*
|
||||
* @param string $file Path and filename
|
||||
*
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
<?php
|
||||
/**
|
||||
* @file src/Model/Storage/IStorage.php
|
||||
* @brief Storage backend system
|
||||
* Storage backend system
|
||||
*/
|
||||
|
||||
namespace Friendica\Model\Storage;
|
||||
|
||||
/**
|
||||
* @brief Interface for storage backends
|
||||
* Interface for storage backends
|
||||
*/
|
||||
interface IStorage
|
||||
{
|
||||
/**
|
||||
* @brief Get data from backend
|
||||
* Get data from backend
|
||||
*
|
||||
* @param string $reference Data reference
|
||||
*
|
||||
|
@ -21,7 +21,7 @@ interface IStorage
|
|||
public function get(string $reference);
|
||||
|
||||
/**
|
||||
* @brief Put data in backend as $ref. If $ref is not defined a new reference is created.
|
||||
* Put data in backend as $ref. If $ref is not defined a new reference is created.
|
||||
*
|
||||
* @param string $data Data to save
|
||||
* @param string $reference Data reference. Optional.
|
||||
|
@ -31,7 +31,7 @@ interface IStorage
|
|||
public function put(string $data, string $reference = "");
|
||||
|
||||
/**
|
||||
* @brief Remove data from backend
|
||||
* Remove data from backend
|
||||
*
|
||||
* @param string $reference Data reference
|
||||
*
|
||||
|
@ -40,7 +40,7 @@ interface IStorage
|
|||
public function delete(string $reference);
|
||||
|
||||
/**
|
||||
* @brief Get info about storage options
|
||||
* Get info about storage options
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
|
@ -80,7 +80,7 @@ interface IStorage
|
|||
public function getOptions();
|
||||
|
||||
/**
|
||||
* @brief Validate and save options
|
||||
* Validate and save options
|
||||
*
|
||||
* @param array $data Array [optionname => value] to be saved
|
||||
*
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
/**
|
||||
* @file src/Model/Storage/StorageException.php
|
||||
* @brief Storage backend system
|
||||
* Storage backend system
|
||||
*/
|
||||
|
||||
namespace Friendica\Model\Storage;
|
||||
|
||||
/**
|
||||
* @brief Storage Exception
|
||||
* Storage Exception
|
||||
*/
|
||||
class StorageException extends \Exception
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* @file src/Model/Storage/SystemStorage.php
|
||||
* @brief Storage backend system
|
||||
* Storage backend system
|
||||
*/
|
||||
|
||||
namespace Friendica\Model\Storage;
|
||||
|
@ -9,7 +9,7 @@ namespace Friendica\Model\Storage;
|
|||
use \BadMethodCallException;
|
||||
|
||||
/**
|
||||
* @brief System resource storage class
|
||||
* System resource storage class
|
||||
*
|
||||
* This class is used to load system resources, like images.
|
||||
* Is not intended to be selectable by admins as default storage class.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue