Turba_Tagger
extends Horde_Core_Tagger
in package
Interface to the Horde_Content tagger.
Tags
Table of Contents
- $_app : mixed
- $_types : mixed
- search() : array<string|int, mixed>
- Searches for resources that are tagged with all of the requested tags.
Properties
$_app
protected
mixed
$_app
= 'turba'
$_types
protected
mixed
$_types
= array('contact')
Methods
search()
Searches for resources that are tagged with all of the requested tags.
public
search(array<string|int, mixed> $tags[, array<string|int, mixed> $filter = array() ]) : array<string|int, mixed>
Parameters
- $tags : array<string|int, mixed>
-
Either a tag_id, tag_name or an array.
- $filter : array<string|int, mixed> = array()
-
Array of filter parameters:
- user: (array) Only include objects owned by these users. - list: (array) Restrict to contacts contained in these address books.
Return values
array<string|int, mixed> —A hash of results.