Documentation

Nag_Tagger extends Horde_Core_Tagger
in package

Interface to the Horde_Content tagger

Copyright 2009-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.

Tags
author

Michael J Rubinsky mrubinsk@horde.org

license

http://www.horde.org/licenses/gpl GPL

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 = 'nag'

$_types

protected mixed $_types = array('task')

Methods

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 tasks contained in these task lists.
Return values
array<string|int, mixed>

A hash of results.

Search results