X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FModel%2FFileTag.php;h=a2c8bb43972a426e9647d7a5866915a2acd5d247;hb=3a4be3d5f468d5bedb56199becdaba87fd543f94;hp=c743cb127827946ebcc03b163044a7e02d9a8f63;hpb=9245942a0c2c98254c575e9f3d8c46c1da985ba6;p=friendica.git diff --git a/src/Model/FileTag.php b/src/Model/FileTag.php index c743cb1278..a2c8bb4397 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\Post\Category; /** - * @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 @@ -124,7 +140,7 @@ class FileTag } /** - * @brief Get file tags from list + * Get file tags from list * * ex. given music,video return