[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/Horde/Prefs/ -> CategoryManager.php (sommaire)

(pas de description)

Poids: 225 lignes (6 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Prefs_CategoryManager:: (9 méthodes):
  get()
  getSelect()
  getJavaScript()
  add()
  remove()
  colors()
  fgColors()
  setColor()
  setColors()


Classe: Prefs_CategoryManager  - X-Ref

Class for handling a list of categories stored in a user's
preferences.

$Horde: framework/Prefs/Prefs/CategoryManager.php,v 1.11.10.5 2006/01/01 21:28:32 jan Exp $

Copyright 2004-2006 Chuck Hagenbuch <chuck@horde.org>

See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

get()   X-Ref
Get all categories.


getSelect($id, $current = null)   X-Ref
Pas de description

getJavaScript($formname, $elementname)   X-Ref
Pas de description

add($category)   X-Ref
Add a new category.

param: string $category  The name of the category to add.
return: mixed  False on failure, or the new category's name.

remove($category)   X-Ref
Delete a category.

param: string $category  The category to remove.
return: boolean  True on success, false on failure.

colors()   X-Ref
Returns the color for each of the user's categories.

return: array  A list of colors, key is the category name, value is the

fgColors()   X-Ref
Returns the foreground color for each of the user's categories.

return: array  A list of colors, key is the category name, value is the

setColor($category, $color)   X-Ref
Pas de description

setColors($colors)   X-Ref
Pas de description



Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7