X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FFileTag.php;h=3539f2b96d9b0f019fc48444b7516cc285c7de45;hb=238c079d112be7ce16aab4e1b975bebefee4980a;hp=a5824f5347ca67a2f3a0115f22206d55b3547567;hpb=96402e306a4ea448f64df0f36346c05dcf221ab8;p=friendica.git diff --git a/src/Model/FileTag.php b/src/Model/FileTag.php index a5824f5347..3539f2b96d 100644 --- a/src/Model/FileTag.php +++ b/src/Model/FileTag.php @@ -1,16 +1,32 @@ . + * */ namespace Friendica\Model; -use Friendica\Core\L10n; -use Friendica\Core\PConfig; use Friendica\Database\DBA; +use Friendica\DI; +use Friendica\Model\Term; /** - * @brief This class handles FileTag related functions + * This class handles FileTag related functions * * post categories and "save to file" use the same item.file table for storage. * We will differentiate the different uses by wrapping categories in angle brackets @@ -20,7 +36,7 @@ use Friendica\Database\DBA; class FileTag { /** - * @brief URL encode <, >, left and right brackets + * URL encode <, >, left and right brackets * * @param string $s String to be URL encoded. * @@ -32,7 +48,7 @@ class FileTag } /** - * @brief URL decode <, >, left and right brackets + * URL decode <, >, left and right brackets * * @param string $s The URL encoded string to be decoded * @@ -44,7 +60,7 @@ class FileTag } /** - * @brief Query files for tag + * Query files for tag * * @param string $table The table to be queired. * @param string $s The search term @@ -64,31 +80,29 @@ class FileTag } /** - * @brief Get file tags from list + * Get file tags from array * - * ex. given music,video return