Documentation

Kronolith_Tagger extends Horde_Core_Tagger
in package

Kronolith interface to the Horde_Content tagger

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

Tags
author

Michael J. Rubinsky mrubinsk@horde.org

Table of Contents

TYPE_CALENDAR  = 'calendar'
TYPE_EVENT  = 'event'
$_app  : mixed
$_types  : mixed
search()  : A
Searches for resources that are tagged with all of the requested tags.

Constants

TYPE_CALENDAR

public mixed TYPE_CALENDAR = 'calendar'

TYPE_EVENT

public mixed TYPE_EVENT = 'event'

Properties

$_app

protected mixed $_app = 'kronolith'

$_types

protected mixed $_types = array(self::TYPE_EVENT, self::TYPE_CALENDAR)

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() ]) : A
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.

  • type (string) - only return either events or calendars, not both.
  • user (array) - only include objects owned by these users.
  • calendar (array) - restrict to events contained in these calendars.
Return values
A

hash of 'calendars' and 'events' that each contain an array of calendar_ids and event_uids respectively.

Search results