NAME

Circa::Categorie - provide functions to manage categorie of Circa

SYNOPSIS

my $indexer = new Circa::Indexer; # Delete categorie 2 for account 1 $indexer->categorie->delete(1,2); ...

DESCRIPTION

This module provide several function to manage categorie of Circa.

VERSION

$Revision: 1.7 $

Public Class Interface

new($indexer_instance)

Create a new Circa::Categorie object with indexer instance properties

set_masque($compte,$id,$file)

Set a different masque ($file) for browse this categorie $id for account

get_masque($compte,$id)

Return path of masque for this categorie for account

delete($compte,$id)

Drop categorie $id for account $compte. (All url and words for this account)

Supprime la categorie $id pour le compte de responsable $compte et tous les liens et relation qui sont dans cette categorie

rename($compte,$id,$nom)

Rename category $id for account $compte in $name

Renomme la categorie $id pour le compte $compte en $nom

move($compte,$id1,$id2)

Move url for account $compte from one categorie $id1 to another $id2

get_liste($id,$cgi)

Return two references to a list and a hash. The hash have name of categorie as key, and number of site in this categorie as value. The list is ordered keys of hash.

get($rep,$responsable)

Return id of directory $rep. If directory didn't exist, function create it.

create($nom,$parent,$responsable)

Create categorie $nom with parent $parent for account $responsable

auto($idp)

Return 1 if account $idp want auto categorie. 0 else.

loadAll($account)

Return reference to hash with all categorie for account $account. Hash use id as key, and array as value. Array has two field, first name of categorie, second id of father categorie

Private Class Interface

getParent($id,%tab)

Rend la chaine correspondante à la catégorie $id avec ses rubriques parentes

AUTHOR

Alain BARBET alian@alianwebserver.com

1 POD Error

The following errors were encountered while parsing the POD:

Around line 320:

Non-ASCII character seen before =encoding in 'à'. Assuming CP1252