searchTags()
searchTags(array $names, integer $max = 10, integer $from, string $resource_type = '', string $user = null, boolean $raw = false, string $app = 'ansel') : array
SearchTags API:
Returns an application-agnostic array (useful for when doing a tag search
across multiple applications)
The 'raw' results array can be returned instead by setting $raw = true.
Parameters
array |
$names |
An array of tag_names to search for. |
integer |
$max |
The maximum number of resources to return. |
integer |
$from |
The number of the resource to start with. |
string |
$resource_type |
The resource type [gallery, image, ''] |
string |
$user |
Restrict results to resources owned by $user. |
boolean |
$raw |
Return the raw data? |
string |
$app |
Application scope to use, if not the default. |
Returns
array
— An array of results:
'title' - The title for this resource.
'desc' - A terse description of this resource.
'view_url' - The URL to view this resource.
'app' - The Horde application this resource belongs to.