mirror of
https://github.com/friendica/friendica
synced 2024-12-23 00:00:21 +00:00
Added documentation
This commit is contained in:
parent
3650feb256
commit
6ba2c4bb01
1 changed files with 7 additions and 0 deletions
|
@ -1878,6 +1878,13 @@ class Item
|
|||
return json_encode($languages);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a language array from a given text
|
||||
*
|
||||
* @param string $body
|
||||
* @param integer $count
|
||||
* @return array
|
||||
*/
|
||||
public static function getLanguageArray(string $body, int $count): array
|
||||
{
|
||||
// Convert attachments to links
|
||||
|
|
Loading…
Reference in a new issue