[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/include/ -> plugin_api_extension.inc.php (sommaire)

(pas de description)

Poids: 154 lignes (5 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

serendipity_plugin_api_extension:: (4 méthodes):
  prepareReorder()
  prepareDelete()
  doReorder()
  isEmail()


Classe: serendipity_plugin_api_extension  - X-Ref

prepareReorder($array, $parent_id = 'parent_id')   X-Ref
Prepare a given one dimension array for reordering

author: Falk Doering
param: array  the array
param: string the key of the parent id
return: array  the final array with two new keys: 'up' and 'down'

prepareDelete($array, $this_id = 'id', $parent_id = 'parent_id')   X-Ref
Prepare a given one dimension array for deleting

author: Falk Doering
param: array  the array
param: string the key of the main id
param: string the key of the parent id
return: array  the final array with one new keys: 'delete' with true or false

doReorder($table, $moveto, $update_array, $where_array)   X-Ref
Update table for re-ordering

author: Falk Doering
param: string  Name of the table
param: string  The direction ('up' or 'down')
param: array   The update array
param: array   The array containing the where clause
return: boolean

isEmail($email)   X-Ref
Check if a string is a valid email

author: Falk Doering
param: string   The email string
return: bool     is valid email true, else false



Généré le : Sat Nov 24 09:00:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics