File/program/modules/sitemap/sitemap_search.php

Description

/program/modules/sitemap/sitemap_search.php - interface to the search-part of the sitemap module

This file defines the interface with the sitemap-module for searching content. The interface consists of this function:

    sitemap_search($keywords,$areas)

This function is called whenever data is searched.

Functions
sitemap_search (line 46)

search the content of the sitemap linked to node $node_id

there is nothing to search in the sitemap so this routine is a nop we return an empty array to indicate success (even though nothing was found)

  • return: FALSE on failure, an array with search results on success
bool|array sitemap_search (string|array $keywords, int|array $areas)
  • string|array $keywords: one or more keywords to search for
  • int|array $areas: one or more $area_id's to search

Documentation generated on Sat, 1 Oct 2011 00:27:37 +0200 by phpDocumentor 1.4.0