PHP 클래스 Horde_Prefs_CategoryManager, horde

저자: Chuck Hagenbuch ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
add ( string $category ) : mixed Add a new category.
colors ( ) : array Returns the color for each of the user's categories.
fgColors ( ) : array Returns the foreground color for each of the user's categories.
get ( ) Get all categories.
getJavaScript ( $formname, $elementname ) TODO
getSelect ( $id, $current = null ) TODO
remove ( string $category ) : boolean Delete a category.
setColor ( $category, $color ) TODO
setColors ( $colors ) TODO

메소드 상세

add() 공개 정적인 메소드

Add a new category.
public static add ( string $category ) : mixed
$category string The name of the category to add.
리턴 mixed False on failure, or the new category's name.

colors() 공개 정적인 메소드

Returns the color for each of the user's categories.
public static colors ( ) : array
리턴 array A list of colors, key is the category name, value is the HTML color code.

fgColors() 공개 정적인 메소드

Returns the foreground color for each of the user's categories.
public static fgColors ( ) : array
리턴 array A list of colors, key is the category name, value is the HTML color code.

get() 공개 정적인 메소드

Get all categories.
public static get ( )

getJavaScript() 공개 정적인 메소드

TODO
public static getJavaScript ( $formname, $elementname )

getSelect() 공개 정적인 메소드

TODO
public static getSelect ( $id, $current = null )

remove() 공개 정적인 메소드

Delete a category.
public static remove ( string $category ) : boolean
$category string The category to remove.
리턴 boolean True on success, false on failure.

setColor() 공개 정적인 메소드

TODO
public static setColor ( $category, $color )

setColors() 공개 정적인 메소드

TODO
public static setColors ( $colors )