PHP Класс Sesha, horde

Copyright 2004-2007 Andrew Coleman Copyright 2007-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Автор: Andrew Coleman ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
getStringlistArray ( string $string ) : array Returns a Hord_Form_Type_stringlist value split to an array.
isAdmin ( $permLevel = Horde_Perms::DELETE )
listCategories ( ) : mixed This function will return the list of available categories.

Защищенные методы

Метод Описание
_rsortByName ( array $a, array $b ) : integer Comparison function for reverse sorting stock by name.
_rsortByNote ( array $a, array $b ) : integer Comparison function for reverse sorting stock by note.
_rsortByProperty ( array $a, array $b ) : integer Comparison function for reverse sorting stock by a property.
_rsortByStockID ( array $a, array $b ) : integer Comparison function for reverse sorting stock by id.
_sortByName ( array $a, array $b ) : integer Comparison function for sorting inventory stock by name.
_sortByNote ( array $a, array $b ) : integer Comparison function for sorting inventory stock by note.
_sortByProperty ( array $a, array $b ) : integer Comparison function for sorting inventory stock by a property.
_sortByStockID ( array $a, array $b ) : integer Comparison function for sorting inventory stock by id.

Описание методов

_rsortByName() защищенный Метод

Comparison function for reverse sorting stock by name.
protected _rsortByName ( array $a, array $b ) : integer
$a array Item one.
$b array Item two.
Результат integer -1 if item one is greater, 1 if item two is greater; 0 if they are equal.

_rsortByNote() защищенный Метод

Comparison function for reverse sorting stock by note.
protected _rsortByNote ( array $a, array $b ) : integer
$a array Item one.
$b array Item two.
Результат integer -1 if item one is greater, 1 if item two is greater; 0 if they are equal.

_rsortByProperty() защищенный Метод

Comparison function for reverse sorting stock by a property.
protected _rsortByProperty ( array $a, array $b ) : integer
$a array Item one.
$b array Item two.
Результат integer -1 if item one is greater, 1 if item two is greater; 0 if they are equal.

_rsortByStockID() защищенный Метод

Comparison function for reverse sorting stock by id.
protected _rsortByStockID ( array $a, array $b ) : integer
$a array Item one.
$b array Item two.
Результат integer -1 if item one is greater, 1 if item two is greater; 0 if they are equal.

_sortByName() защищенный Метод

Comparison function for sorting inventory stock by name.
protected _sortByName ( array $a, array $b ) : integer
$a array Item one.
$b array Item two.
Результат integer 1 if item one is greater, -1 if item two is greater; 0 if they are equal.

_sortByNote() защищенный Метод

Comparison function for sorting inventory stock by note.
protected _sortByNote ( array $a, array $b ) : integer
$a array Item one.
$b array Item two.
Результат integer 1 if item one is greater, -1 if item two is greater; 0 if they are equal.

_sortByProperty() защищенный Метод

Comparison function for sorting inventory stock by a property.
protected _sortByProperty ( array $a, array $b ) : integer
$a array Item one.
$b array Item two.
Результат integer 1 if item one is greater, -1 if item two is greater; 0 if they are equal.

_sortByStockID() защищенный Метод

Comparison function for sorting inventory stock by id.
protected _sortByStockID ( array $a, array $b ) : integer
$a array Item one.
$b array Item two.
Результат integer 1 if item one is greater, -1 if item two is greater; 0 if they are equal.

getStringlistArray() публичный Метод

Returns a Hord_Form_Type_stringlist value split to an array.
public getStringlistArray ( string $string ) : array
$string string A comma separated string list.
Результат array The string list as an array.

isAdmin() публичный статический Метод

public static isAdmin ( $permLevel = Horde_Perms::DELETE )

listCategories() публичный Метод

This function will return the list of available categories.
public listCategories ( ) : mixed
Результат mixed Array of categories on success; PEAR_Error on failure.