[ Index ]
 

Code source de eGroupWare 1.2.106-2

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

title

Body

[fermer]

/phpgwapi/inc/ -> class.contacts.inc.php (sommaire)

(pas de description)

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

Définit 1 class

contacts:: (12 méthodes):
  contacts()
  check_perms()
  get_persons()
  split_stock_and_extras()
  loop_addslashes()
  delete()
  asc_sort()
  desc_sort()
  _cmp()
  formatted_address()
  formatted_address_full()
  formatted_address_line()


Classe: contacts  - X-Ref

contacts()   X-Ref
Pas de description

check_perms($rights,$needed,$addr=False)   X-Ref
Pas de description

get_persons($_fields, $start='', $limit='', $orderby='', $sort='', $_criteria='', $token_criteria='')   X-Ref
Get the the person data what you want. Wrapper function to stay compatible with egroupware.

author: Lars Kneschke <lars@kneschke.de>
param: array $fields The fields that you can see from person
param: integer $limit Limit of records that you want
param: integer $ofset Ofset of record that you want start
param: string $orderby The field which you want order
param: string $sort ASC | DESC depending what you want
param: mixed $criteria All criterias what you want
param: mixed $criteria_token same like $criteria but builded<br>with sql_criteria class, more powerfull
return: array with records

split_stock_and_extras($fields)   X-Ref
Pas de description

loop_addslashes($fields)   X-Ref
Pas de description

delete($id)   X-Ref
Pas de description

asc_sort($a,$b)   X-Ref
Pas de description

desc_sort($a,$b)   X-Ref
Pas de description

_cmp($fields, $order, $a, $b)   X-Ref
To be used in usort()

compares two 2-dimensional arrays a and b.
The first dimension holds the key, the array is sorted by.
The second dimension holds the data, that's actually string-compared.

author: Carsten Wolff <wolffc@egroupware.org>
param: array $fields The fields, the array is to be sorted by. Use of multiple keys is for subsorting.
param: string $order ASC | DESC ascending or descending order
param: array $a one item
param: array $b the other item
return: integer -1 | 0 | 1 equals: a is smaller | the same | larger than b.

formatted_address($id, $business = True, $afont = '', $asize = '2')   X-Ref
Pas de description

formatted_address_full($id, $business = True, $afont = '', $asize = '2')   X-Ref
Pas de description

formatted_address_line($id, $business = True, $afont = '', $asize = '2')   X-Ref
Pas de description



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